Day AI MCP Server
for AI Agents
Connect your AI agent to StackOne's Day AI MCP server and give it 140 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
140 Agent Actions
Agents can read, write, delete and run operations in Day AI. Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Day AI MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Day AI tool response scanned for prompt injection in about 2.5 ms, with 0.94 F1 on tool-response attacks, all running on a CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Day AI call.
Tools Discovery →What is the Day AI MCP Server?
A Day AI MCP server lets AI agents read and write Day AI data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's Day AI MCP server ships with 140 pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Day AI MCP Tools
Every StackOne action for Day AI, ready for your agent. Read, write, delete and run operations, scoped to exactly what you need.
Or Update Person Organizations
- Create Or Update Person Organization
Create or update a Person or Organization record, or a batch of them.
- Create Or Update Person Organization
Creates or updates Person and Organization objects.
Or Update People Organizations
- Batch Create Or Update People Organizations
Batch create or update multiple people and organizations in one call.
- Batch Create Or Update People Organizations
Batch create or update multiple people and organizations at once.
Enrich Peoples
- Enrich People
Queue asynchronous enrichment for a set of people.
- Enrich People
Queue asynchronous enrichment for one or many people.
Or Update Relationships
- Create Or Update Relationship
Create or update relationships between CRM records.
- Create Or Update Relationship
Creates or updates person-to-organization, person-to-meeting-recording, organization-to-meeting-recording, opportunity-to-person (e.g.
Or Update Opportunitys
- Create Or Update Opportunity
Create or update a single Opportunity.
- Create Or Update Opportunity
Creates or updates a single Opportunity object, with optional batch support capped at 15 operations. For bulk imports, prefer batch_create_or_update_opportunities. The server checks every create for an existing open opportunity on the same organization and blocks duplicates; a blocked create returns the existing objectId — update that instead of re-creating. Only pass allowDuplicate: true after the user confirms this is a separate deal. Searching first with search_objects (objectType="native_opportunity", relationship "subject" to targetObjectType "native_organization") is still the fastest way to find the record you should be updating, and it gives you the organizationId to pass on create. Always call read_crm_schema before creating or updating. Opportunities require a valid stageId. ownerEmail may be any valid email, including a historical owner who is no longer a workspace member; current workspace member emails also link the native user assignee. CRITICAL: Every opportunity must have either an organization (organizationId, or a business domain) OR at least one person attached via roles — prefer the organization whenever available. Opportunities without an organization or roles cannot auto-populate their custom properties.
Or Update Opportunities
- Batch Create Or Update Opportunities
Batch create or update multiple opportunities in one call.
- Batch Create Or Update Opportunities
Batch create or update multiple opportunities at once. The server checks every create for an existing open opportunity on the same organization and blocks duplicates (including a second row in the same batch that resolves to the same organization); a blocked create returns the existing objectId — update that instead of re-creating. Only pass allowDuplicate: true with acknowledgedDuplicateOf after the user confirms a separate deal. Searching first with search_objects (objectType="native_opportunity", relationship "subject" to targetObjectType "native_organization") is still the fastest way to find the records you should be updating, and it gives you the organizationId to pass on create. Always call read_crm_schema before creating or updating. CRITICAL: Every opportunity must have either an organization (organizationId, or a business domain) OR at least one person attached via roles — prefer the organization whenever available. Opportunities without an organization or roles cannot auto-populate their custom properties.
Migrate Opportunitys
- Migrate Opportunity
Move an opportunity to a different pipeline stage.
- Migrate Opportunity
Move an opportunity to a different pipeline — the only path that crosses pipelines.
Or Update Actions
- Create Or Update Action
Create or update a Day AI action item (task).
- Create Or Update Action
Creates a new action item or updates an existing one.
Meeting Recording Contexts
- Get Meeting Recording Context
Get summary and transcript context for a meeting recording.
- Get Meeting Recording Context
Get meeting recording context including metadata, summary, notes, and transcript within token limits
Context For Meeting Recording Citations
- Get Context For Meeting Recording Citations
Get relevant transcript portions for a meeting recording, with citations.
- Get Context For Meeting Recording Citations
Get relevant portions of a meeting transcript based on a specific task or question, returning exact quotes with citations.
Meeting Recording Clips
- Create Meeting Recording Clip
Create a shareable clip from a meeting recording.
- Create Meeting Recording Clip
Create a shareable clip from a meeting recording
Meeting Comments
- Create Meeting Comment
Start or reply to a comment thread on a meeting recording.
- Create Meeting Comment
Start a new comment thread on a meeting recording anchored to quoted transcript text, or reply to an existing thread.
- Update Meeting Comment
Edit or resolve a meeting comment thread.
- Update Meeting Comment
Edit a meeting comment message you wrote yourself, or resolve/reopen a comment thread.
Read Meeting Comments
- Read Meeting Comments
List comment threads on a meeting recording.
- Read Meeting Comments
List the comment threads on a meeting recording with their messages, statuses, and anchored transcript text.
Pages
- Create Page
Create a longer-form content page or template.
- Create Page
Generate longer-form content in a separate page. If the user asked for a Google Doc, Word document, or another external document format: Day has no direct export to those formats — still create the Page, but tell the user this explicitly and offer the two real options: copy/paste the page into their editor (rich formatting like headings, bold, lists, links, and tables carries over), or make the page public and share the link. Pages support rich layout panels via <day-ai-panel variant="card|callout|fold" tone="neutral|info|warning|success" title="...">block content</day-ai-panel>: card for bordered summary/lead cards (optionally with a headline metric via metric="27%" and metric-caption="..."), callout for a tinted next-action or warning strip, fold for collapsed-by-default method/debug detail — plus horizontal progress meters via <day-ai-meter value="27" max="100" tone="accent|positive|warning|neutral"></day-ai-meter> and inline fact/status pills via <day-ai-chip label="First touch" tone="neutral|info|warning|success"></day-ai-chip>.
- Update Page
Update an existing page's title or content.
- Update Page
Update an existing page with new content, metadata, or settings
Read Pages
- Read Page
Read a page's content, with pagination for large pages.
- Read Page
Read a large page by objectId and return one paginated HTML chunk at a time.
Attach Page Images
- Attach Page Image
Register an uploaded image as an attachment on a page.
- Attach Page Image
Register an uploaded image as a page attachment and get the HTML snippet to embed it.
Page Image Upload Urls
- Get Page Image Upload Url
Get a pre-signed URL for uploading an image to attach to a page.
- Get Page Image Upload Url
Get a pre-signed URL for uploading an image to embed in a page.
Page Comments
- Create Page Comment
Start or reply to a comment thread on a page.
- Create Page Comment
Start a new comment thread on a page (optionally anchored to quoted text) or reply to an existing thread.
- Update Page Comment
Edit or resolve a page comment thread.
- Update Page Comment
Edit a page comment message you wrote yourself, or resolve/reopen a comment thread.
Read Page Comments
- Read Page Comments
List comment threads on a page.
- Read Page Comments
List the comment threads on a page with their messages, statuses, and anchored text.
Email Drafts
- Create Email Draft
Create or update an email draft.
- Create Email Draft
Create a new email draft or update an existing draft (subject, recipients, body).
Read Folders
- Read Folder
List the contents of a folder.
- Read Folder
List the subfolders and pages inside a folder, in display order.
To Folders
- Move To Folder
Move pages or folders into a destination folder.
- Move To Folder
Move one or more pages/folders into a folder (or unfile them to the top level) in a single call.
Or Update Folders
- Create Or Update Folder
Create, update, or delete a folder.
- Create Or Update Folder
Create a new folder, rename/restyle an existing folder, or delete a folder (pages inside are unfiled, never deleted).
Or Update Workspace Contexts
- Create Or Update Workspace Context
Create, update, or read a contextual note attached to a CRM object or property.
- Create Or Update Workspace Context
Creates or updates contextual notes and information for CRM objects or specific object properties
Campaigns
- List Campaigns
List campaigns in the workspace with their IDs and titles.
- List Campaigns
List campaigns in the workspace with their IDs and titles.
Campaign Details
- Get Campaign Details
Get campaign details including title, purpose, assignment instructions, sequencing config, send schedule, statuses, member count, and a read-back of the live drafting skill.
- Get Campaign Details
Get campaign details including title, purpose, assignment instructions, sequencing config, send schedule, statuses, member count, and a read-back of the live drafting skill. Use this before working campaign members to understand the campaign context and assignment rules. When describing when the campaign sends, use `sendScheduleSummary` verbatim — do not infer a schedule from any other field. When describing the campaign's daily send limit, use `dailySendLimit` (status `off`, `effective` with its `summary`, or `not_in_effect` — saved but NOT enforced; never call that limit active). You can set or clear the limit with create_or_update_campaign (`dailySendLimit`), but approving, sending, scheduling an email, or sending past a limit are done by the user in the campaign UI — direct them there. When asked what an email/touch N says or what its theme is, answer from `drafting.touchPlan` (the touch-by-touch section of the drafting skill the drafts actually run on) TOGETHER WITH `drafting.ownerRefinements` (the owner's standing rules, which also govern every touch — a rule about one touch can live there rather than on its touch line). Those two fields are the touch themes and the standing rules, not the whole skill: voice, grounding, and campaign sections also shape drafts, so for a full explanation of why drafts read a certain way, read the skill itself (manage_skills action "get" on `drafting.skillId`). Never answer any of this from the campaign's stored `messagingPlan` property (via search_objects or anywhere else): that is the setup-time plan, read once at provisioning, and it goes stale as soon as drafting is refined. If `drafting` is null, the live drafting instructions are unavailable: the campaign may not have a drafting skill yet, or the read may have failed. Do not claim that no skill exists or substitute the setup-time plan; retry the read before explaining current instructions.
Campaign Members Due To Drafts
- Get Campaign Members Due To Draft
Deterministically select which campaign members are due to draft right now (sequencing state, timing, replies, caps — all enforced server-side).
- Get Campaign Members Due To Draft
Deterministically select which campaign members are due to draft right now (sequencing state, timing, replies, caps — all enforced server-side).
Campaign Drafts In Flights
- Get Campaign Drafts In Flight
For a campaign and a set of members, return the drafts already in flight for each (in the review queue or send queue, not yet sent).
- Get Campaign Drafts In Flight
For a campaign and a set of members, return the drafts already in flight for each (in the review queue or send queue, not yet sent).
Campaign Draft Reasonings
- Get Campaign Draft Reasoning
Read the recorded rationale and permitted source receipts for a campaign draft, using the same access checks as its Draft reasoning panel.
- Get Campaign Draft Reasoning
Read the recorded rationale and permitted source receipts for a campaign draft, using the same access checks as its Draft reasoning panel. Use when asked why an email was drafted this way or what evidence it used. Supply BOTH campaignId and draftId: use the focused native_campaign ID for campaignId and the focused native_draft ID for draftId. Only drafts in the caller’s review queue are supported. Returns available, historical, unavailable, or restricted; never reconstruct missing reasoning from guesses.
Campaign Import Results
- Get Campaign Import Result
Get the disposition (added vs.
- Get Campaign Import Result
Get the disposition (added vs.
Draft Campaign Outreachs
- Draft Campaign Outreach
Trigger bulk AI email drafting for all undrafted members of a campaign.
- Draft Campaign Outreach
Trigger bulk AI email drafting for all undrafted members of a campaign.
Refine Campaign Draftings
- Refine Campaign Drafting
Apply the owner's drafting feedback to a campaign's drafting skill (or, with destination email_writing, to the working agent's Email Writing skill) and regenerate its sample drafts.
- Refine Campaign Drafting
Apply the owner's drafting feedback to a campaign's drafting skill (or, with destination email_writing, to the working agent's Email Writing skill) and regenerate its sample drafts.
Regenerate Campaign Drafts
- Regenerate Campaign Drafts
Bulk-regenerate a campaign's unapproved drafts (optionally one sequence touch) after previewing the count and getting explicit user confirmation.
- Regenerate Campaign Drafts
Bulk-regenerate a campaign's unapproved drafts (optionally one sequence touch) after previewing the count and getting explicit user confirmation.
Manage Campaign Member Statuses
- Manage Campaign Member Statuses
Add, update, or remove status definitions on a campaign.
- Manage Campaign Member Statuses
Add, update, or remove status definitions on a campaign.
Campaign Members
- Update Campaign Member
Update a campaign member's status, notes, or last-considered timestamp.
- Update Campaign Member
Update a campaign member's status, notes, or last-considered timestamp.
- Remove Campaign Member
Remove a person from a campaign.
- Remove Campaign Member
Remove a person from a campaign.
Read Csv Files
- Read Csv File
Read and parse a CSV or Excel file uploaded by the user
- Read Csv File
Read and parse a CSV or Excel file uploaded by the user
Transform Csvs
- Transform Csv
Apply structured transformations to a CSV file
- Transform Csv
Apply structured transformations to a CSV file
Validate Import Files
- Validate Import File
Dry-run a cleaned CSV against the import value contract — reports every cell the importer would reject, writes nothing.
- Validate Import File
Dry-run a cleaned CSV against the import value contract — reports every cell the importer would reject, writes nothing.
From Files
- Create Import From File
Create an import job from a CSV file
- Create Import From File
Create an import job from a CSV file
Save Import Mappings
- Save Import Mapping
Save the field mapping for an import
- Save Import Mapping
Save the field mapping for an import
Start Imports
- Start Import
Start processing the import.
- Start Import
Start processing the import.
Progress
- Get Import Progress
Check the status of an import.
- Get Import Progress
Check the status of an import.
Errors
- Get Import Errors
Get failed rows from an import
- Get Import Errors
Get failed rows from an import
Members
- Get Import Members
List which objects a CRM import resolved (and how), paginated one bounded window at a time
- Get Import Members
List which objects a CRM import resolved (and how), paginated one bounded window at a time
Imports By Object Types
- Get Imports By Object Type
Get recent imports, optionally filtered by object type.
- Get Imports By Object Type
Get recent imports, optionally filtered by object type.
Views
- Create View
Create a custom view for CRM data with filters, columns, and sorting
- Create View
Create a custom view for CRM data with filters, columns, and sorting
- Update View
Update an existing view with new filters, sorting, columns, or configuration
- Update View
Update an existing view with new filters, sorting, columns, or configuration
Charts
- Create Chart
Visualize data as a FROZEN bar, line, area, composed, pie, scatter, radar, radial bar, treemap, funnel, sunburst, sankey, stat (single big-number tile with optional previous-period delta + sparkline), barList (ranked meter list), or heatmap (row × column intensity matrix) snapshot — or draw a decisionTree logic diagram (qualification flows, routing rules, playbooks) with labeled yes/no branches.
- Create Chart
Visualize data as a FROZEN bar, line, area, composed, pie, scatter, radar, radial bar, treemap, funnel, sunburst, sankey, stat (single big-number tile with optional previous-period delta + sparkline), barList (ranked meter list), or heatmap (row × column intensity matrix) snapshot — or draw a decisionTree logic diagram (qualification flows, routing rules, playbooks) with labeled yes/no branches. Supports the same rendering extras as live widgets: footnote (muted methodology line under the plot), annotations + showValues on cartesian charts, and creation-time topN/Other rollup for high-cardinality categories (UUID-looking labels always fold into "Unknown"). The data is whatever you pass at call time — it will NEVER update. DO NOT use this for live CRM data, dashboards, or anything tied to a recurring query — use create_widget (live) or create_table_widget (live) instead. For anything embedded on a page or dashboard, use create_widget instead — a create_chart is a static snapshot and will not refresh. create_widget supports edge-property dimensions (campaign-member status, etc.) and KPI single-value widgets, so there is rarely a reason to fall back to a static create_chart for CRM-derived visualizations. Use create_chart ONLY for one-off snapshots of data you computed in code_execution that has no recurring source query — e.g. a derived breakdown you generated from a CSV. decisionTree is the exception to the create_widget guidance: it visualizes authored logic, not query data, so it always belongs here.
Widgets
- Create Widget
Create a live dashboard widget that queries, groups, and charts CRM data, recomputed on every page load.
- Create Widget
Create a live dashboard widget that queries, groups, and charts CRM data, recomputed on every page load. Must be added to a page to make a dashboard. The user cannot see the widget until it is on a page. Supports count/sum/avg/min/max, ratio (current-stage win/conversion rates), funnel measure (stage-history conversion between any two stage sets for opportunities), and weighted sums (Σ(field × weight) with the weight optionally joined from a related object — e.g. amount × stage.likelihoodToClose for forecasting). Group by attribute, foreign-key-resolved attribute (a "resolve" spec is REQUIRED when grouping/breaking down on stageId or pipelineId — raw ids are not valid labels), calendar datePart, relative date buckets (Overdue / This Month / Later), relationship, relationshipClassification (such as internal vs external attendee organizations), or EDGE property (values on the relationship itself, e.g. campaign-member status). Chart types: bar/line/area/pie/funnel/barList (one dimension), sankey/heatmap (two dimensions), OR "kpi"/"stat" for single-number widgets (omit groupBy). Prefer "stat" over "kpi" for headline metrics — it can carry a trailing trend sparkline (chart.spark) and a previous-period delta (chart.compare, needs a bounded timeframe). Use "barList" instead of bar for ranked category comparisons of ≤12 rows (readable labels, meter bars); barList rows can carry a secondary per-row marker metric (chart.marker, e.g. avg deal size per stage). Use "heatmap" for two-dimension intensity (groupBy rows × breakdown columns; cells with no data render empty, not zero). Cap high-cardinality dimensions with root topN (groupBy categories) and breakdownTopN (breakdown series / heatmap columns) — the remainder rolls into "Other". Cartesian charts support chart.annotations (category-anchored event callouts) and chart.showValues (print values on bars/points). Use chart.footnote for a muted one-line methodology/caveat footer under the plot instead of putting that in the description or in prose after the widget. Use relatedFilters for fixed cross-object filters and filters.relatedValue for viewer-facing cross-object dropdowns. Use edgeProperties to pre-hydrate edge values for ratio sub-filters and breakdowns that consume them outside of a kind:"edge" dimension. Pass `filters` to render per-widget viewer-facing dropdowns (value filter / timeframe / group-by / related-value) above the chart — the viewer picks an option and the widget refetches with the selection merged in (selection is local, not persisted). ALWAYS PREFER create_widget OVER create_chart for live CRM data — create_chart produces a frozen snapshot that does not update. Custom-property field UUIDs (measure.field/weightField, groupBy/breakdown, where) must be copied verbatim from read_crm_schema — a fabricated or typo'd UUID is rejected at create time.
Table Widgets
- Create Table Widget
A dashboard is charts-first: reach for create_widget before this tool; a flat record table is the appendix of a dashboard, never its body.
- Create Table Widget
A dashboard is charts-first: reach for create_widget before this tool; a flat record table is the appendix of a dashboard, never its body. Create a LIVE dashboard table widget, recomputed server-side on every load; embed it on a page for the user to see it. THREE MODES: flat list (omit grouping/aggregations), grouped list (grouping only), or PIVOT/SUMMARY (grouping + aggregations — one row per group with inline aggregates + grand total, no record rows). Use pivot whenever the user asks for "summary"/"rollup"/"pivot"/"key metrics"/"% of total"/"count per X". Aggregation ops: sum/avg/min/max, size, countDistinct, pctOfTotal; multiple aggregations on one field are idiomatic. The result includes "warnings" when an aggregation's field yields no value on the matched rows — heed them before embedding. Cross-object: relatedColumns surfaces fields from related objects (or from the EDGE itself, e.g. campaign-member status), relatedFilters narrows by a related object's property — both resolve live; never hardcode pre-resolved ids into source.where. Flat/grouped tables support per-column rich treatments via "columnFormats": meter bars for scores, heat cells for bounded ordinals (0-3 rubric points), toned badges for categorical statuses, and stacked identity cells (bold name over muted email) — declare them instead of dumping raw numbers. Use "footnote" for a muted one-line methodology/caveat note under the table instead of prose after the widget. Custom-property field UUIDs (columns, columnFormats, where) must be copied verbatim from read_crm_schema — a fabricated or typo'd UUID is rejected at create time.
Or Update Lists
- Create Or Update List
Create a new list or update an existing list by adding/removing members.
- Create Or Update List
Create a new list or update an existing list by adding/removing members.
Objects
- Search Objects
Search CRM objects. Before first querying an object type in a conversation, call read_crm_schema for that type — it returns its properties, custom-property option IDs, relationships, and search recipes; skip it only for a trivial lookup by "email" (people) or by "name" (organizations) — a person-by-name lookup is NOT trivial, see KEY PATTERNS. Results are paginated (status partial|complete, with hasMore/nextOffset) and by default include only objectId, name/title, updatedAt, and a short description — pass propertiesToReturn "*" when fetching by objectIds. WHERE: a condition is one flat object — property {"propertyId","operator","value"} or relationship {"relationship","targetObjectType","targetObjectId","operator"}. Combine with {"AND":[conditions or OR groups]} or {"OR":[conditions]}. For OR-of-AND logic use separate queries entries. OPERATORS — text: contains, notContains, eq; email/phone add startsWith, endsWith; number/date: eq, neq, gt, gte ("on or after"), lt, lte ("on or before"); boolean: is; picklist: eq, neq, isAnyOf; multipicklist: containsAnyOf, containsAllOf; isNull/isNotNull take no value (and return no exact totals). Array operators take string arrays; all values are strings ("900" not 900). Picklist custom properties match by option ID (uuid), not label. Date-only values (YYYY-MM-DD) on date properties are day-semantic: eq matches any time that UTC day, lte includes the whole day, gt means strictly after it — eq "2026-07-31" is the right way to ask "on Jul 31". RELATIONSHIP SEARCH: targetObjectId must come from a prior search ("meetings with Acme": search native_organization by name, then use its objectId with relationship "attendee"). Common edges: meetings/events "attendee"; opportunity→organization "subject"; opportunity→contact "related". CALL SHAPE: a query entry holds ONLY objectType, objectIds, and where — propertiesToReturn, timeframes, and includeRelationships are top-level parameters applying to every query in the call (a key mistakenly placed inside a query entry is hoisted to the call level and applies to EVERY query). Every operator except isNull/isNotNull requires a non-empty value; to list ALL objects of a type, pass objectType with no where. KEY PATTERNS (read_crm_schema has the full per-type recipes): - native_contact has NO "name" property (and no "notes"): resolve a person by "firstName"/"lastName" contains (text-match — eq/neq on them ALWAYS fail) or by "email"; native_organization is the type with "name". - Pipelines hold stages; stages hold opportunities. Opportunities have "stageId" NOT pipelineId: search the pipeline (includeRelationships true) → collect stage IDs → search opps by "stageId". Assume the sales pipeline unless told otherwise. - Actions: "ownerEmail" eq for a person's tasks; AND-exclude status COMPLETED/DISMISSED/REDUNDANT (neq each) unless asked. - native_meetingrecording = the record of meetings that actually happened (an object is created when the Day AI recorder attends a meeting): ALWAYS add timeframeStart and use the "attendee" relationship with a resolved objectId; NEVER use "attendees" or "domains" properties (calendar events only). Results carry "recordingStatus": only READY meetings have a transcript. Meetings the recorder attended but did NOT record are labeled "(not recorded — no transcript)" and must not be passed to the transcript tools; meetings still being recorded/processed are labeled "(recording in progress — transcript not ready yet)" and may have one later. Add where "status/latest/code" eq "READY" to see only recorded meetings. - native_calendarevent = scheduled calendar entries, past AND future (a past entry proves only that a meeting was scheduled — what happened lives on native_meetingrecording; an empty calendar result over past days says NOTHING about whether meetings happened, so answer past-meeting questions from native_meetingrecording, not from calendar rows or their absence): use a tight timeframe + "attendees" contains <email> and/or "domains" contains <domain>. To learn WHO an already-found event is with, fetch that event by objectIds with propertiesToReturn ["attendees","organizerEmail"] — the attendee list ({email, name, status, isOrganizer}) names the counterpart directly; never guess among name-matched contacts when the event is in hand. Results may carry visibilityNotes describing whose meetings are missing (private sharing, no connected calendar) — relay that caveat and NEVER assert someone is free or has no meetings from an empty result. Rows whose organizer is a current or former member of this workspace carry organizerAccount {membership: active|deactivated, deactivatedAt, calendarSync, lastCalendarSyncAt, note} — a deactivated membership or dead sync means the organizer is no longer active in Day AI (treat their events as historical); it does NOT tell you whether they still work at their company, and a missing organizerAccount means only that the organizer is not a Day AI user here — unless the response carries organizerAccountNote (the lookup failed), in which case every organizer's status is unknown. To find meetings ABOUT something, "content" contains <a few topic words> relevance-ranks by BM25 over title/summary/notes/transcript with a quoted excerpt per hit (one content term with all the words, not an OR of single words). native_page: the same content term ranks page TITLES (bodies are not indexed; read_page for the body); "title" contains remains the exact, database-fresh filter for a page you know by name. - native_draft = unsent drafts (agent- or user-created): by recipient via the "hasRecipient" relationship → native_contact (resolve the contact by email first, then use its objectId); "my drafts" via the "creator" relationship → native_user with YOUR OWN user id (it is in your context; creator search is self-only — filtering by other users is not supported); by "email/subject" contains, "status" eq DRAFT, or a timeframe for recent drafts. A draft created for you in another conversation is found the same way. - native_thread = past chat threads you can access: a content term ("content"/"text"/"title" contains) searches what was said in them and returns up to 5 threads with quoted excerpts, never the current one. Add timeframeStart/End for "last week"; "objectReferences" contains <objectId> for threads that touched a resolved object. Escalate to get_thread_context to read one thread in depth. - Notes/deal context (deal notes, buyer voice, status updates) saved on opportunities/organizations/people: search the parent object with includeRelationships true — each native_context relationship entry returns the note inline as noteTitle/noteText, with noteWrittenAt (when it was written) — a later meeting or email supersedes an older note. If an entry has truncated true, call read_page with its pageId for the full note. For opportunity notes check BOTH the opp AND its organization. TIMEFRAMES: timeframeStart/End (ISO or YYYY-MM-DD); timeframeField is strictly createdAt|updatedAt|storedAt|time|writtenAt (omit for the per-type default: "time" for native_emailmessage, updatedAt otherwise; "time" is emails-only — object-specific fields like startTime are NOT valid here; "writtenAt" is the search index's last-write time for incremental sync ONLY — it is not a property and is not "recently changed", use updatedAt for that). PAGINATION: each page returns status (partial|complete) and returnedCount (partial pages also carry totalRecords + a directive paginationNote). totalRecords is exact unless totalRecordsIsLowerBound is true, in which case it is a FLOOR — the real total is at least that, possibly far more, so treat it as evidence to keep paging, never as evidence you are nearly done. status "partial" means the result is INCOMPLETE — do NOT answer, count, or summarize from it; call again with the SAME queries and TOP-LEVEL offset=nextOffset — offset is a call-level parameter, not a field of a queries[] entry (past 10,000 rows, set paginationMode "cursor" from the first call and pass back nextCursor), merging every page until status is "complete". For a specific detail across many heavy records (e.g. native_opportunity: "last activity for all closed-lost opps"), pass a FOCUSED propertiesToReturn — just the fields you need, NOT "*" — so each page stays dense and the full set returns in far fewer round trips; don't drop to surface-only fields and don't stop early. EXAMPLE: {"description":"Searching for your open tasks","queries":[{"objectType":"native_action","where":{"AND":[{"propertyId":"ownerEmail","operator":"eq","value":"me@day.ai"},{"propertyId":"status","operator":"neq","value":"COMPLETED"},{"propertyId":"status","operator":"neq","value":"DISMISSED"},{"propertyId":"status","operator":"neq","value":"REDUNDANT"}]}}]}
- Search Objects
Search CRM objects such as contacts, organizations, opportunities and meetings.
Read Crm Schemas
- Read Crm Schema
Get complete schema for CRM objects including property IDs, types, valid option values, relationships, and per-type search_objects recipes.
- Read Crm Schema
Get the CRM object schema, including custom fields, for a workspace object type.
Read Object Historys
- Read Object History
View the change history of a CRM record to see who changed what and when
- Read Object History
View the change history of a CRM record.
Read Property Historys
- Read Property History
View one property's change history across a supplied set of CRM records
- Read Property History
View a property's change history across multiple records.
Resolve Dates
- Resolve Dates
Deterministic date/time calculator. ALWAYS use this tool instead of mental arithmetic for ANY weekday, relative-date, or timezone question — "what day of the week is X", "next week", "later this week", "end of month", date/time ± N units (seconds through years), listing the dates in a range, or converting a time between zones. Model-computed date arithmetic is unreliable; this tool is exact. Batch every date question of the turn into one call (up to 25 requests). Operations: - now: current date and time in a timezone. - weekday_of: the weekday of a YYYY-MM-DD date. - add_subtract: a starting point plus/minus any unit from seconds through years (negative amount subtracts). Pass exactly one of date ("2026-08-13") or datetime ("2026-08-13 15:00", "2026-08-13T15:00:00Z"). A date with a day-or-larger unit is pure calendar math; a datetime or a time unit (seconds/minutes/hours) returns a zone-aware datetime. - enumerate_span: every date between two dates inclusive, each with its weekday (max 400 days). - convert_zone: an instant converted between IANA timezones. - resolve_expression: a named relative expression — today, yesterday, tomorrow, next/last/this <weekday> (e.g. "next Friday"), this/next/last week, later this week, this/next/last month, quarter, or year, end of day/week/month/quarter/year, EOD/EOW/EOM/EOQ/EOY, end or early/mid/late of a named or relative month ("end of October", "mid September", "end of next month", "mid next week"), named months/quarters and explicit dates ("January 2027", "Q1 2027", "November 1", "2026-11-01"), first/last week of a month, business-day offsets ("in 3 business days", "2 business days ago"), and common Korean forms ("다음 주", "10월 초", "10월 1일", "올해 말", "3영업일 후") — resolved to an explicit span with stamped endpoints and weekday-labeled dates. Unrecognized expressions return a structured "unrecognized" result, never a guess. When the expression comes from a source event (a meeting transcript, an email), pass anchorIso with the source's typed date so it resolves against the day it was said, not today. "next <weekday>" is that weekday of NEXT week and "last <weekday>" is that weekday of LAST week — never the current week's occurrence. When a nearer occurrence exists this week, the result includes an interpretationNote and the nearerAlternative date: relay that caveat to the user, and use "this <weekday>" for the current week's occurrence. Week expressions are bounded per the weekMode parameter (see its description for the per-expression defaults). Timezone defaults to the user's zone; pass an IANA timezone (e.g. "America/Los_Angeles") to override.
- Resolve Dates
Deterministically resolve natural-language date and time questions.
Whoamis
- Whoami
Get information about the current user and their agent, including user ID, name, emails, agent details, and workspace context.
- Whoami
Get the current authenticated user and agent identity.
Share Urls
- Get Share Url
Get a shareable URL for a CRM object.
- Get Share Url
Get a shareable URL for a CRM object.
Other (16)
- Upload File To Sandbox
Copy a user-uploaded file into the code execution sandbox so subsequent execute_code calls can read it from Python.
- Create Or Update Custom Property
Create, retrieve, or update custom property definitions for organizations, opportunities, or people.
- Export To Sandbox
Export CRM data as a CSV file for a subsequent execute_code turn. Use this before execute_code when analyzing CRM data with Python. Prefer passing columns or view_id to avoid wide, slow exports. Do not call it from inside Python expecting immediate access in the current sandbox. Email exports include emailSyncContext for interpreting result freshness. Opportunity exports include enriched stage names, stage types, and pipeline names. Do not treat updatedAt as a proxy for deal progress or "not stalled"; use includeStageHistory for stalled/time-in-stage analysis. Set includeStageHistory: true only when the analysis requires time-in-stage, funnel conversion, or velocity metrics. Supports native_campaign and native_campaignmemberstatus exports. For "members of campaign X" exports, set objectType to native_contact, filter `where` to contacts whose memberOf relationship points to the campaign, and use `edgeProperties` to surface per-member fields (status, addedAt, owner, notesToSelf, sequenceState) which live on the relationship and would otherwise be invisible. Omit edgeProperties.targetObjectId for workspace-wide contact campaign-membership exports: one row per live edge, including memberOf__targetObjectId; contacts without memberships are omitted.
- Open Email Sharing Rules
Open email sharing rules settings, or add an exclusion for a specific domain or email address so Day.ai will not read those emails or use them for CRM processing.
- Read File
Read a file uploaded by the user
- Analyze Csv
Analyze a CSV file for structural and quality issues without modifying it
- Backfill Custom Property
Start a backfill job to populate values for a custom property
- Activate Skill
Activates a skill, switching the agent into a specialized mode with restricted tools and a specific prompt.
- Deactivate Skill
Deactivates the current skill, returning the agent to general mode with full tool access.
- Manage Skills
Manage agent skills and workspace Skill Library items: list, get, create, update, delete, reset prompts, manage Page or Folder attachments, view edit history, or (Admins/Owners) deploy/undeploy library skills to teammates' agents. action=deploy assigns a library skillId to the agents in targetAssistantIds (Managed skills stay synced to the source; Template skills fork); action=undeploy removes it from the listed agents only (Template forks survive). Both are additive/subtractive per listed agent — nothing unlisted changes — and return per-agent statuses. Campaign skills are NOT created here: a campaign's drafting coordinator, status-update, and drafter skills (slash commands campaign-drafting-<id>, campaign-status-<id>, campaign-drafter-<id>) are provisioned automatically by Day AI when the campaign is sampled or launched (draft_campaign_outreach), onto the agent that works it. Never create, recreate, or hand-build skills for a campaign, even as a delegated task or by copying an existing campaign's skills as a template — a hand-built copy has no campaign lineage, does nothing, and blocks the real provisioning. If a user asks to "set up the campaign's skills", explain that Launch (or a sample) does this and offer to launch or sample the campaign instead; if a campaign skill is structurally broken (missing sections, corrupted prompt), repair its prompt with action=update rather than recreating it. Drafting refinements for a campaign — feedback on a campaign's drafts about voice, tone, signature/sign-off, length, content rules, things to never say — do NOT go through this tool: call refine_campaign_drafting instead (destination "email_writing" when the feedback is about how the sender writes in general), which targets the right drafter fork on the working agent and reconciles the instructions. A standing rule about how an agent writes that is NOT feedback on a campaign's drafts belongs in that agent's Email Writing skill, edited here (with targetAssistantId when it is another agent). action=update on a campaign drafter/coordinator skill is only for structural repair of a broken skill, never for changing how the campaign drafts. Confirm the target list with the user before deploying; read current holders first via action=get (assignedAssistantIds). Use action=get with skillId before describing a focused skill or changing its prompt/attachments; get returns attachment instructions and their scope. attachmentChanges is granular: upsert/detach only the requested Pages or Folders, or use clearAll=true. For prompt updates, prefer a targeted edit (oldPromptMatch + newPromptReplace) over the prompt field — prompt fully replaces the existing prompt and anything omitted is lost. Use action=list_versions (then get_version) to view previous saved versions of a skill's prompt or other fields — e.g. to recover a prompt that was accidentally overwritten — and restore one via action=update. Use action=list with targetScope="workspace_library" to find workspace Skill Library items. For normal agent-skill create, omit targetScope or set targetScope="agent"; use triggerType="SCHEDULE" with a 15-minute-aligned cron for daily, weekdays, weekly, or every-4-hours schedules, triggerType="EVENT" with triggerValue="SLACK_SUMMARY_READY", or triggerType="NEITHER" for no trigger. For workspace library create, set targetScope="workspace_library"; ask users for a Managed skill or Template skill, then encode Managed as deploymentMode="SHARED" and Template as deploymentMode="TEMPLATE" in the tool call. Managed skill create/update is workspace-admin only, and Template skill create is allowed for paid users. User-created agent skills may set mcpProviders on create or update (any trigger type, including none); each added connector must already be connected by the agent owner in User Settings → Connectors. In workspaces where the managed-connector fast pass is enabled, Managed workspace skills may set mcpProviders=["hubspot"] to use each agent owner's existing HubSpot connection without separate member approval; other Managed-skill connector additions, and Managed-skill connector writes outside enabled workspaces, are rejected. Workspace library field edits are allowed for workspace admins, and template field edits/deletes are also allowed for the template creator. Do not present SHARED or TEMPLATE as product labels in user-facing replies. Managed workspace skills cannot be deleted through chat; deletion is reserved for the manual Skills Library UI. Day AI library template definitions are code-defined, not editable workspace-library source records; create a workspace library copy for team customization. timezone is only valid for SCHEDULE triggers. If an automated-trigger update fails because no slots remain, explain that all automated slots are already used on the current tier and suggest disabling another automated skill trigger or upgrading. If create returns created=true with success=false, never retry create; update the returned skillId. action=reset_prompt restores defaults only. Never claim an action succeeded unless this tool returns success.
- Respond To Delegation
Relays the user's answers to a delegated task that paused with questions, resuming the background run where it left off.
- Cancel Delegation
Cancels a task previously handed to another agent via delegate_to_agent: marks it cancelled and stops the background run.
- Assistant Settings
Read or update an agent's identity, personality, and communication style.
- Manage Workspace Instructions
Update the single general workspace-level AI instruction.
- Manage Workspace Members
Manage the Day AI workspace's team: add (invite) a person by email, resend or revoke an invite, list members and their roles, change a member's or invitee's role (Owner, Admin, Member), remove a member, and configure auto-invite for claimed company domains. Adding someone sends an email invite they must accept; use invite_member with the roleId for the role they should get. Workflow: call list_configuration FIRST to get availableRoles (roleId values), current members, and your own permissions; then invite_member / update_member_role / update_invite_role / remove_member by email. remove_member is destructive and irreversible from this tool: confirm with the user before calling it.
- Connect Slack
Opens Slack integration settings.
Day AI AI Agent Use Cases
Connect your AI agent to Day AI and help your team scale the sales operations they run by hand today.
Use StackOne to connect your AI agent to your CRM, email, and calendar tools to automate post-demo follow-up.
ViewUse StackOne to connect your AI agent to your CRM, email, and calendar tools to automate deal risk scoring and pipeline alerts.
ViewUse StackOne to connect your AI agent to your CRM, sales engagement, and messaging tools to automate outbound prospecting.
ViewSet Up Your Day AI MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Day AI in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Check More crm-sales MCP Servers
299+ actions
269+ actions
251+ actions
195+ actions
187+ actions
136+ actions
126+ actions
Platform Resources
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, the security risks they share, and when to use one, both or a hybrid.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
FAQ
Day AI MCP Server FAQ
origin_owner_id.