Skip to content

MCP contract changes

20 min read · Updated 6 Nov 2026

Stability: preview. The tool contract changes between versions, newest first below. Call astrato_get_context for the contract your connection runs, and read toolContract.migrationHistoryUri for the complete history. Reconnect to refresh cached tool schemas after a change.

Contract 10.2.0 creates next business questions during an App Builder build. After the first build, Nash calls astrato_semantic_layer_create_next_questions without dryRun on a question it saved for the app’s main view, and names every one it created in its closing summary. In a Builder turn the tool’s result carries that as nextStep. It adds one to the app only when you ask, as the plain breakdown where the question only adds a share of the total. On a reused question it still calls the tool only when you ask. Other Nash chats and external clients keep the offer. Tool inputs, the tool list, scopes and feature gates don’t change.

Contract 10.1.1 stops astrato_semantic_layer_benchmark_questions starting a question that could not finish before the call’s authorization runs out, about a minute on a hosted connection. The result keeps what it measured, sets timeLimitReached and lists the rest in notIncludedQuestionIds. A 401 caused by an expired request now says so instead of asking for a sign-in.

Contract 10.1.0 makes stored filters findable. A searched astrato_data_prepare_query page on scope semantic or all lists the best-matching stored filters in setFilters. On scope questions, setFilters lists every stored filter and searchResult.setFilters counts the matches. astrato_semantic_layer_search returns stored filters with kind filter where astrato_semantic_layer_list_set_filters is enabled. Every searched prepare page carries searchResult, counting what the search matched; nothingFound: true means no tier holds it.

Contract 10.0.0 breaks astrato_semantic_layer_get_summary: it no longer returns entityHashes by default, so a client that reads them must pass includeEntityHashes: true. On a large layer they were nearly the whole response, and no edit needs them because edits are guarded by revision. It always returns entityHashCount. Nash chat results carry only the count.

Contract 9.3.0 adds kind: search and types to astrato_semantic_layer_create_next_questions. It reads the question’s result and looks across the whole model for what explains it, and returns data checks and one question per type with a real finding. Result rows can carry the new categories dataCheck, comparePeriods, shareOfTotal and topN, and the result adds noDifference. Existing kinds are unchanged. No tool was added, removed, renamed or gated. Reconnect to refresh cached schemas. Contract 9.2.0 lets parameters.all set a view parameter on query and question execution, including on views reached only through joins, and reports what each view read under appliedParameters.views. A name only an unread view declares is refused by astrato_data_prepare_query as well as on execution, unless a selected measure or filter takes it. A value bound to the user always wins, a parameter a view the query reads defaults to $userEmail or $userGroupNames is refused, and an override that may have been replaced reads source: "unconfirmed". The view update operation of astrato_semantic_layer_apply_view_change takes parameters, merged by name, with null removing one. astrato_semantic_layer_check_join_quality reports a join on a parameterized field as skipped.

Contract 9.1.0 refuses a table pre-filter the engine cannot run. astrato_semantic_layer_apply_view_change refuses an update filter on a custom SQL or inline view, or one whose conditions, directly or through a stored filter, read a dimension, a measure or another view. A pre-filter runs inside its own table, so name that table’s fields: {"reference": {"view": "<this view>", "field": "<field>"}}. A security rule may compare a field with userEmail or userGroupNames, with or without $, and the server declares the parameter when it is missing. Copying a view points its inline pre-filter at the copy. Tool names, scopes and gates do not change.

Contract 9.0.0 breaks astrato_semantic_layer_create_next_questions:

  • Every kind, with or without dryRun or only, requires data:query and saves only next questions that ran in the published layer and answered with values. A sl:write grant alone is refused and saves nothing, so add data:query.
  • kind: auto no longer returns related questions. Send kind: related for them.
  • A never-published layer can now return nothing where a plan used to be saved. Publish, then ask again.
  • evidenceUnavailable, promotedEntities and requiresPublication are gone from its result. A related question that creates a measure or Time Axis is returned in skipped with its reason, not saved.

It also adds kind: trend, the KPI month by month, which auto doesn’t return, and dryRun, which returns questions as offered and saves nothing, and only, which creates the names you choose from a dry run sent with the same kind and options, and refuses the whole call with the reason if a name is no longer offered. Every kind skips a question a follow-up already asks, by the same dimensions and measures, rather than saving a copy. Every result row carries category. Next questions are stored as they ran, inline comparisons and time axes included, and an edit that leaves their selections alone keeps them inline. No tool was added, removed, renamed or gated. Reconnect to refresh cached schemas.

Contract 8.64.0 builds suggested period comparisons only on measures the layer defines. When the layer has measures, astrato_semantic_layer_suggest_questions returns a period comparison of an aggregate no measure computes under rejected with the reason and needsMeasure, rather than creating a base measure for it. To compare such an aggregate, create the measure and ask again. A suggestion that reads a single window still defines its measure. Tool names, inputs, scopes and gates do not change.

Contract 8.62.0 adds astrato_semantic_layer_suggest_dimensions, which needs sl:read and data:query. It returns number bands, custom groups and Time Axes for the current draft as definitions astrato_semantic_layer_apply_dimension_change accepts, and stores nothing; Time Axes are left out where Business Questions are off. It queries table values and sends capped field values to the AI model Nash uses. engineSuggestions from astrato_semantic_layer_prepare_dimension_change now cover dimension tables only, and suggestionNotices says what was left out. Refresh cached tool schemas.

Contract 8.61.1 fills in an omitted bucket maxValue strictly above the field maximum, because the engine excludes the bucket maximum: a row at a whole-number maximum used to read as null when outer buckets were off. A field measuring 1 to 100 now gets 1 to 101. A field with no numeric values to measure is refused, naming minValue and maxValue, rather than filled in around an invented 0. Stored dimensions and an explicit maxValue are unchanged.

Contract 8.61.0 adds references to a business question delete in astrato_semantic_layer_apply_question_change and astrato_semantic_layer_commit_authoring_batch. remove also drops the question from the follow-ups and workflow parameters and fields that name it, and they stay; keep, the default, deletes it as before and leaves those references broken, and the result’s publishBlockers name them. No tools are added, removed or renamed. Reconnect to refresh cached tool schemas.

Contract 8.60.0 extends astrato_semantic_layer_check_source_schema to Custom SQL tables. A fresh check executes each statement once with its parameter defaults and reports columns it no longer returns, type changes, and two new finding kinds: column-added, whose suggestedFix has the new kind add-field, and sql-check-failed. astrato_semantic_layer_apply_source_schema_fix adds one column per call; add a column only when the user chooses it. An update-sql change with an unchanged statement and parameters keeps the fields as they are. A changed statement takes the columns it returns that the old statement did not; a column the old statement already returned stays out until a source check offers it and its fix is applied. If the old statement cannot be run, no new column is added. Tool names, inputs, scopes and gates do not change.

Contract 8.59.0 adds astrato_semantic_layer_preview_publish, which shows what publishing a semantic layer would send, without publishing. Publishing always sends the whole draft, so changeCount and the counts by type cover every change since the published revision, not only the latest. It lists up to 60 changes by name, with the revisions that made each and who made it; omittedChanges says how many more are not listed, and unattributedChanges how many have no author on record. It also returns changesByOthers and the expectedRevision to publish. Call it before offering or performing a publish, tell the user everything it lists, say when the names are partial, and pass its expectedRevision to astrato_semantic_layer_publish once they approve. It needs the sl:read scope. Reconnect to refresh cached tool schemas.

Contract 8.58.0 adds rolling-window business question suggestions: the last 30 and last 90 days against the days before them, by a category when one is asked about and overall otherwise, and as a daily trend with this window and the one before as two measures. Every period suggestion shares one year-to-date Time Axis per date field, and each comparison measure narrows it to its own window in periodAxis. Tool names, inputs, scopes and gates do not change.

Contract 8.57.0 makes astrato_semantic_layer_run_data_action require the data:action scope, as published Apps and astrato dev already do. A grant holding data:query and sl:write instead is still accepted in this version and the result carries a deprecation note, so it can still write rows by that route; the next contract version refuses it with insufficient_scope, and from then on only data:action can. Reconnect the connector with data:action authorized, or add it to the client’s scope list. See MCP scopes. No tool, input schema or feature gate changes.

Contract 8.56.0 stores a suggested business question that compares periods as a measure. The suggestion adds a Time Axis on the compared date field, anchored at the latest date in the data, and one measure per compared column whose comparison is scoped to that axis; the question selects those measures and its own dimensions, not the axis. “Compared to previous year” is stored as year to date against the same span a year earlier. astrato_semantic_layer_create_next_questions saves the axis and measures with the question. resultNotices no longer warn about such a measure selected without its axis, except when the question breaks the rows down by another grain of the axis date field: that notice remains, and those per-row values must not be reported. Notices name an unkeyed selection by what it selects. A suggested Top N prefers a horizontal bar chart and a table, and a suggestion without a time dimension no longer prefers a line, area or combo chart. Tool names, inputs, scopes and gates do not change.

Contract 8.55.1 describes defaults.hideZeroValues on business questions: it drops rows where every selected measure is zero or null and has no effect without a measure. Behaviour does not change; refresh cached tool schemas.

Contract 8.55.0 runs astrato_data_prepare_query and astrato_data_execute_query when an argument the tool takes beside query, such as limit, offset, queryTimeout, scope or dryRun, is written inside query: it is read as if written beside it. The same key with different values in both places is refused; send it once, beside query. A key the tool does not take is still refused. Both tools list query after their other arguments.

Contract 8.54.0 imports Snowflake verified queries as business questions through astrato_semantic_layer_preview_snowflake_view_import and astrato_semantic_layer_import_snowflake_view. A query that does not map is skipped with a verified_query_not_supported diagnostic, and the summary gains businessQuestions and skippedQuestions. See Import a Snowflake semantic view. Tool names, input schemas, scopes and gates do not change.

Contract 8.53.0 adds delimiter to aggregate measure inputs and patch.aggregateOptions.values for LISTAGG / VALUE_LIST. An empty string joins values without separation; null restores comma and space. Existing calls that omit it retain their behavior. Refresh cached tool schemas. See Value list separators.

Contract 8.52.0 refuses an astrato_app_builder_edit call that changes package.json dependencies without a matching package-lock.json, or removes the lock, with dependency_lock, and applies nothing in it. Add, change or remove packages with an npm command through astrato_app_builder_execute, as described in App Builder. A refusal does not apply when the source already mismatches and the edit leaves both dependency declarations unchanged.

Contract 8.50.0 adds astrato_semantic_layer_run_data_action, a feature-gated Private Preview tool, which runs one published data action with named parameter values. It runs the published version of the layer, never a draft. Call it without confirm to get a preview and run nothing; send confirm: true and the preview’s previewToken only after the user approves. The run is refused if the action, its arguments or the published layer differ from the preview. The engine applies the caller’s own data permissions and identity. It needs the data:query and sl:write scopes. Never run it again to retry an interrupted run or an outcome with effects: unknown; check the data first. Reconnect to refresh cached schemas.

Contract 8.49.0 returns generation beside revision from astrato_app_builder_edit, astrato_app_builder_restore and astrato_app_builder_execute, so an agent sends those values on its next call rather than reading source first. astrato_app_builder_execute also accepts action.type sequence: up to six preview interactions in order, then one inspection, as described in App Builder. A clickAt is sent on its own. Existing calls keep working; refresh cached tool schemas.

Contract 8.45.0 words suggested questions for readers: names, question text and ids from astrato_semantic_layer_suggest_questions and the related path of astrato_semantic_layer_create_next_questions read like Top 10 Product Names by Net Revenue, and forms that read the same count once. Stored questions keep their names, and no schema changes. A create in astrato_semantic_layer_commit_authoring_batch takes ifExists inside the item’s change, not on the item.

Contract 8.44.0 makes refusals say exactly what to send. astrato_app_builder_read also accepts offset: 0 with several paths. A refused astrato_app_builder_edit call names each patch that missed and what differs. astrato_data_prepare_query and astrato_data_execute_query show the corrected call when a tool argument is written inside query. Everything accepted before is still accepted.

Contract 8.32.0 returns the complete CREATE SEMANTIC VIEW script as statement from astrato_semantic_layer_export_snowflake_semantic_view when finalize is true, besides attaching it as a .sql file, so a client that cannot open attachments still gets it. To turn several semantic layers into Snowflake semantic views, an agent lists them with astrato_semantic_layer_list and calls the tool once per Snowflake-backed layer; each layer has its own approximations and its own script.

Contract 8.15.0 keeps only the latest versions’ changes in the server instructions and in astrato_get_context. The complete history is the resource that toolContract.migrationHistoryUri names, read with resources/read. astrato_get_context also reports baseline scopes a connection lacks. Tool names, arguments, scopes and authorization are unchanged. Reconnect to refresh instructions.

Contract 8.0.0 replaces the feature-gated Private Preview draft Data Actions shape with an explicit implementation. Parameters use compiler data types, presence-sensitive defaults, nullability and metadata references. Implementations define table bindings or per-dialect native arguments and named SQL statements, with explicit results. Updates replace the implementation atomically; null clears optional metadata. Flat targets, statement lists and identity-source fields from the earlier draft are rejected. Scopes, feature gates and layer permissions are unchanged. Reconnect to refresh cached schemas.

Contract 7.4.0 adds MCP 2026-07-28 URL elicitation for secure browser authorization across remote data tools. Auth determines compatible authorization options; missing configuration returns an actionable error without creating a pending action, and discovery failures remain upstream errors. Confirmed browser authorization resumes eligible reads; mutations require checking current state and a fresh request. Clients without URL elicitation receive a secure browser link. OAuth connection forms complete sign-in before validation and saving. Accepting an elicitation request does not prove authorization completed. Tool names, arguments and scopes are unchanged.

Contract 7.2.0 adds behavior annotations to every MCP tool: title and readOnlyHint, plus destructiveHint for tools that write. Read-only tools declare readOnlyHint: true; tools that only create new resources or restorable versions declare destructiveHint: false; tools that change, replace, remove, disable or revoke existing resources declare destructiveHint: true. Clients may use these hints when asking for confirmation; authorization is unchanged. Reconnect to refresh tool listings. Tool names, arguments and scopes are unchanged.

Contract 7.0.0 intentionally removes astrato_app_builder_runtime and astrato_app_builder_update_runtime for new npm-based Builder apps. Use explicit npm commands through astrato_app_builder_execute for library changes, then build and inspect. Existing apps are not migrated; saved data and published files are unchanged. The guide action is also removed. In-product Builder Nash uses internal web_fetch; external agents use their own web fetch, starting at https://docs.astrato.io/llms.txt and following the returned links. Reading documentation needs no app source or editing lock. Documentation does not prove compatibility with installed packages. Refresh cached tool schemas.

Contract 6.72.0 uses named filter references in the existing filters, resultFilters and associativeFilters slots, including nested branch filters. Use reference: { filter: "Name" } instead of an inline body. Root definitions infer their kind from filters or associativeFilters; there is no type discriminator or singular question filter. This unreleased contract has no migration or compatibility aliases. No tools are added, removed or renamed. Reconnect to refresh cached schemas.

Contract 6.69.0 refuses a measure grouped by a dimension its view cannot reach, and returns Builder app links on your organization’s browser-reachable Astrato address; where Astrato cannot determine one, a link can point at an address inside your network — ask your Astrato administrator to configure the public address. Contract 6.61.1 corrects the permission grantPublicDataAccess says it needs, and says to send it alone to re-check. Contract 6.61.0 returns a refusal’s code and status beside its message. Contract 6.59.0 lets astrato_dashboard_freeform_update open a public Data App’s data to public viewers with grantPublicDataAccess. Contract 6.58.0 adds an optional correlation ID check before bug drafts in the Support portal.

Contract 6.57.0 adds astrato_semantic_layer_set_visibility, which turns a layer’s “Visible to everyone” on or off. Contract 6.56.0 puts a Top N’s Others row where its position says when the question has an orderBy, runs a stored period comparison over a window on a Time Axis the query does not select, and refuses a comparison that would silently drop a stored one, and date arithmetic in a result formula; validating a layer reports a stored question of either shape as an error that blocks publishing. Contract 6.50.0 lets astrato_semantic_layer_list look up one layer by semanticLayerId, to name a layer known only by its id. Contract 6.17.0 adds AI Support tools to in-product Nash when support is enabled; these tools are unavailable to external MCP clients. Contract 6.16.1 lets Nash import a CSV attached in the chat panel. Contract 6.11.0 adds query context and optional replay capture to data preparation and execution. Reconnect to refresh cached tool schemas and instructions.

Contract 6.68.0 adds feature-gated Private Preview data-action list, get, prepare and apply tools. They register writable tables and native procedures in the draft and execute no warehouse mutation. Use exact native schema/procedure names from the catalog. In Nash, successful data-action creates, updates and renames include a link to open the saved registration, labelled Business workflow. The existing workflow-policy tool also accepts the current draft revision to reject stale requests. See semantic-layer documents.

Contract 6.66.0 adds astrato_semantic_layer_set_writeback_mode, a feature-gated Private Preview tool. It stores the Business Workflows policy in the draft and publishes nothing. Reconnect to refresh cached schemas.

Contract 6.12.0 adds sets dimensions: astrato_semantic_layer_apply_dimension_change accepts kind: "sets", whose values are stored set filters, and the questions page of astrato_data_prepare_query lists them under setsDimensions. See sets dimensions for their limits.

Contract 6.9.0 adds stored set filters: list, get, prepare and apply tools, and entitySet, replaced in contract 6.72.0 by associativeFilters: { reference: { filter: "Name" } }, which names a stored set filter in a business question or an astrato_data_execute_query query. The questions page of astrato_data_prepare_query lists them under setFilters. Count a set filter’s members by executing its target field with associativeFilters: { reference: { filter: "<name>" } } and limit: 1, then reading totalRecords.

Contract 6.8.0 describes how a business question filter is written, with date examples, in the query schemas; no schema changes. Contract 6.4.0 adds CSV import into a data connection that allows writes. Contract 6.0.0 removes the Freeform prepare/complete publish tools. Use the CLI to build and publish app content. MCP creates explicitly unpublished targets and manages metadata, hosting, lifecycle and access; reconnect to refresh cached tool schemas.

Contract 5.9.0 gives each pending item of the Snowflake semantic view export a disposition and makes approximating pending items opt-in. Contract 5.8.0 adds optional free-text categories to datasets. Contract 5.7.0 lets astrato_data_browse_connection_catalog list a table’s columns and page every catalog level. Contract 5.6.0 lets astrato_semantic_layer_list find layers by name and by datasource. Contract 5.4.0 adds defaults.allMode to business questions, which ranks each dimension on its own in Top N. Contract 5.3.0 lets a keyed business question measure selection override its stored measure’s format. Contract 5.2.0 adds datasets — named collections of a layer’s existing dimensions and measures — with list, get, prepare and apply tools. Contract 5.0.0 stores business question selections as ordered lists that keep their order, each entry optionally keyed; see Business question YAML. Contract 3.1.0 adds associative filters to stored and unsaved business questions, preserving target fields and custom names. Contract 3.0.0 uses orderBy and reference targets for sorting/ranking and adds output projection. Contract 2.9.0 authors advanced calculations on a business question’s measures — a rolling window, a running total or rate, a rank, a partition total, or a comparison against it — partitioned and ordered by the question’s own dimensions. Contract 2.8.0 adds period-over-period authoring: create a Time Axis dimension, then create or update a comparison measure using that axis. Formula changes preserve existing comparison settings; an explicit clear removes them. Contract 2.6.0 authors business questions in a batch, so a set of questions commits as one revision in two calls rather than one call and one revision each; 2.5.0 organizes measures and dimensions into categories — the free-text grouping labels the semantic layer editor files its lists by — adds a dimension patch operation so a dimension is filed without re-sending its definition, and reports the categories a layer already uses so authoring reuses a spelling instead of inventing a near-duplicate; 2.4.0 runs a business question grouped by a drill-down at any of its levels; 2.3.0 added optional query response byte budgets and explicit metadata omissions; 2.2.0 introduced best-effort source context. Retained tools keep the product names introduced in 1.0.0; the query contract replaces the data-query selections payload with a canonical business question in query and scoped runtime parameters. Earlier preview names remain unavailable. Remove any cached Astrato tool schemas or instructions and reconnect so the client initializes and lists tools again. Future contract versions follow semantic versioning: major changes can be incompatible, minor changes are additive, and patches remain compatible.

  • Charts and visualizations. MCP tools do not create or modify charts. Use @astrato-io/visualizations as described in the Visualizations reference.
  • Advanced data queries. astrato_semantic_layer_execute_question executes a governed question by reference. astrato_data_prepare_query and astrato_data_execute_query run caller-defined queries against the published semantic layer. Neither path covers pivot or hierarchy queries, nested or OR filter groups, or querying draft changes that have not been published. Use the SDK’s query service for those.
  • Semantic layer listing. The list is paged in batches of at most 50 semantic layers. Follow pagination.nextOffset while pagination.hasMore is true.

MCP data operations respect your organization’s exit-node routing configuration. When exit-node routing is enabled, eligible requests use the exit node configured for the data source. Otherwise, requests use Astrato’s gateway. The same MCP tools remain available in both cases; authorization requirements are unchanged.

Default-connection migration requires your administrator to enable both exit-node routing (global.exit-node) and legacy-engine routing (global.legacy-engine-routing). If either flag is disabled, connections without a selected exit node use Astrato’s gateway. With both enabled, eligible data requests for those connections use your organization’s designated migration profile. Connections with an enabled exit-node profile keep that selection, and the migration does not rewrite your connection settings. Routing failures are reported rather than retried through a different engine. Your administrator can disable migration to restore the previous routing for new requests; tools and their required permissions stay the same.

Validation summaries report error and warning counts. When a request is rejected, MCP includes available validation messages and field paths so you can identify the part of the semantic layer that needs correction.

See Recurring Nash tasks for the preview’s delivery tools, required scopes and host-selection workflow. External assistants use their own scheduler; Astrato task lifecycle tools are reserved for in-product Nash. Company integration access remains subject to user/group and specific-destination permissions.