Skip to content
Sandadocs

Scopes

Every permission an integration token or connected app can hold, what it includes, which are privileged, and which MCP tools each one allows.

A scope is one permission on an integration token or a connected app. Sanda checks the scopes on every call to the MCP server, and a tool that a credential's scopes do not reach is left off its tool list.

There are fifteen scopes. The list below gives each one's consent-screen wording, what it includes and the tools it allows. After it comes what to know before you grant one. Who can grant each scope, and how risky actions can wait for a person, is in permissions and approvals. Every tool is in the MCP tool reference.

Every scope

fluid:read

Any member may grant it

Read what your workspace has modelled: its metrics, dimensions, named filters and the tables Sanda may query.

Tools: search_fluid, describe_table, search_docs.

query:run

Any member may grant it

Ask questions of your data, composed from the definitions your workspace agreed on.

Includes fluid:read.

Tools: run_query, search_documents, export_query, list_reports, read_report, run_report, report_history, search_notes, list_notes, read_note, grep_notes, preview_stream.

sql:run

Privileged: owners and admins grant it

Write and run its own read-only SQL against the tables Sanda may query.

Includes fluid:read, query:run.

Tools: run_sql.

fluid:write

Privileged: owners and admins grant it

Change what your workspace has modelled: put warehouse tables on the map, define metrics, dimensions, filters and relationships, and accept or remove proposals. Definitions it writes go live immediately. It may also run learn from my data, which reads samples of your rows, files what it finds as proposals and counts against your daily AI limit.

Includes fluid:read.

Tools: list_warehouse_tables, import_tables, set_table_kind, retire_tables, define, list_proposals, review_proposal, run_learn, delete_definition.

workspace:read

Any member may grant it

See your connections, warehouses and spend: what is connected and what can be, when it last synced, how full the warehouse is, and what this month has cost so far. Never a credential.

Tools: list_connections, connection_status, list_warehouses, spend_summary, list_connectors, list_summaries, streams_overview, stream_history, estimate_stream_cost, list_stream_graphs.

workspace:manage

Privileged: owners and admins grant it

Start a sync on a connection, and change when a connection syncs.

Includes workspace:read.

Tools: sync_now, set_sync_schedule.

warehouse:write

Privileged: owners and admins grant it

Load tables of its own rows into your warehouse (as raw.csv__…), through the same loader and storage ceiling a sync uses. It cannot touch tables a sync landed.

Includes workspace:read.

Tools: load_rows, set_intake.

warehouse:model

Privileged: owners and admins grant it

Define views, materialized views and procedures in your warehouse (as derived.…), rebuild and run them, schedule them and change or delete their schedules, and put a view on the semantic map. Every build runs on your compute and is billed to you.

Includes workspace:read.

Tools: list_sources, list_views, create_view, refresh_view, drop_view, preview_view, publish_view, create_summary, drop_summary, refresh_summary, create_procedure, call_procedure, warehouse_advice, optimise_warehouse, list_schedules, create_schedule, run_now, pause_schedule, update_schedule, delete_schedule, run_history.

search:manage

Privileged: owners and admins grant it

Define, rebuild and remove search services over the tables on your map. The text of the columns a service names is sent to an embedding model outside your data region to be indexed, and keeping one fresh costs tokens, storage and compute, billed to you.

Includes workspace:read.

Tools: list_search_services, describe_search_service, estimate_search_build, create_search_service, update_search_service, build_search_service, run_search_build, drop_search_service.

sql:write

Privileged: owners and admins grant it

Write and run its own SQL on your warehouse and commit it: insert, update and delete rows and create tables in the derived schema, reading every landing table on the way. It runs as the same hand the SQL shell lends an owner, there is no undo, and every statement is recorded in your audit trail.

Includes fluid:read, query:run, sql:run, workspace:read.

Tools: execute_sql.

warehouse:append

Any member may grant it

Add rows to the tables an owner or admin has opened for intake, matching their columns, and nothing else: it cannot create, replace or delete a table, and it cannot change what is modelled. Any member may grant this, because which tables are open is decided by the people who run the workspace.

Includes fluid:read.

Tools: append_rows, list_intake_tables.

reports:deliver

Privileged: owners and admins grant it

Email your reports on a schedule to the addresses it names, change or pause those deliveries, and send one now. Each delivery puts a copy of the report's numbers in someone's inbox, which cannot be recalled.

Tools: list_deliveries, create_delivery, update_delivery, send_delivery, pause_delivery, delete_delivery.

streams:manage

Privileged: owners and admins grant it

Run, pause and resume your streams and stream graphs, and change when a stream runs. A run reads a database or another system's API into your warehouse, or sends your numbers out to another system, which cannot be recalled, and every run is billed to you.

Includes workspace:read.

Tools: run_stream, pause_stream, update_stream, run_stream_graph, create_stream_graph, update_stream_graph.

reports:write

Privileged: owners and admins grant it

Create and change your reports: make new ones, put blocks on them, change their filters, copy them, put back an earlier version and delete them. A change is what everyone sees when they open the report, and a report it deletes cannot be brought back.

Includes fluid:read, query:run.

Tools: create_report, add_block, edit_report, duplicate_report, restore_report, delete_report.

knowledge:write

Any member may grant it

Write notes to your workspace's Knowledge, and say whether a note helped, was wrong or is out of date. A note it writes is marked unverified until a person checks it, a change it makes to a checked note waits for a person to accept it, and it can never delete one. Any member may grant this.

Includes fluid:read, query:run.

Tools: write_note, rate_note.

How scopes combine

A wider scope includes the narrower ones it depends on, so a credential never needs to hold both.

Scope Also includes
fluid:read Nothing else
query:run fluid:read
sql:run query:run, fluid:read
sql:write sql:run, query:run, fluid:read, workspace:read
fluid:write fluid:read
workspace:read Nothing else
workspace:manage workspace:read
warehouse:write workspace:read
warehouse:model workspace:read
search:manage workspace:read
warehouse:append fluid:read
reports:deliver Nothing else
streams:manage workspace:read
reports:write query:run, fluid:read
knowledge:write query:run, fluid:read

Nothing else nests. In particular:

  • sql:write is never implied by sql:run, fluid:write, warehouse:write or warehouse:model. Reading through the read-only role and committing through the builder role are different kinds of trust.
  • warehouse:append never implies warehouse:write, and it does not imply query:run.
  • reports:deliver does not include query:run, because sending a report is not the same as asking its questions.
  • reports:write does not include reports:deliver, because building a report is not the same as emailing it.
  • knowledge:write includes nothing that changes your data, your semantic model or your reports.

Privileged scopes

Ten scopes change something or reach beyond the semantic model, and only an owner or admin can grant them:

sql:run, sql:write, fluid:write, workspace:manage, warehouse:write, warehouse:model, search:manage, reports:deliver, streams:manage and reports:write.

The other five (fluid:read, query:run, workspace:read, warehouse:append and knowledge:write) can be granted by any member.

On the consent screen, a member sees the privileged scopes greyed out, and they are left out of the grant. Only an owner or admin can create an integration token at all. A privileged scope also lasts only as long as the person who granted it is still an owner or admin.

What to know before you grant one

Asking questions and running SQL

  • fluid:read is what Sanda offers a client that asks for no scope. It is ticked by default on the consent screen.
  • query:run is held by every integration token, and the Excel and Power BI feed needs it. It includes search_documents on Standard and Enterprise, so searching an existing Sanda search service needs nothing more, and the four tools that read Knowledge (search_notes, list_notes, read_note and grep_notes). An MCP call returns at most 50 rows. It also finds, reads and runs reports (list_reports, read_report, run_report and report_history), and previews what a push would send (preview_stream), because both are your data answering questions. A credential holding only this sees the workspace's reports and its own person's, never a colleague's private report.
  • sql:run allows one read-only SELECT, through the same read-only role as every question, returning at most 50 rows and stopping after 20 seconds. The assistant must say why it could not use run_query. A column whose name looks like a password or an identity number is refused.
  • sql:write allows one statement per call, run as the warehouse's builder role. The builder reads landing tables, the derived schema and the mapping tables, and writes only in the derived schema. A sync's landing tables, a published mapping view, the search indexes and Sanda's own bookkeeping are out of reach whatever the statement says. Every statement is recorded with its reason, and a write-mode statement can be held for an owner or admin to approve. It includes workspace:read because a statement has to name a warehouse.

Seeing and driving the workspace

  • workspace:read never returns a credential or a connection string. Six other scopes include it. It also reads your streams, their runs and stream graphs, and estimates what a stream costs a month, on Standard and Enterprise. It says what this month has cost so far (spend_summary), the same figures as Settings · Spend, and what the workspace can connect (list_connectors).
  • workspace:manage starts a sync, and changes when a connection syncs (set_sync_schedule). A sync reads from the source system and costs compute like any other.

Changing the semantic model

  • fluid:write makes definitions live at once, not proposals, which is why only an owner or admin can grant it. Every call runs the same handler as the console's own button, with the same validation and audit record. Approvals do not hold these tools. If you want a person to make every change, leave this scope off.
  • It also runs learn from my data (run_learn), which reads samples of your rows and files what it finds as proposals, not live definitions. A pass counts against your daily AI limit.

Loading and shaping warehouse data

  • warehouse:write lands tables as raw.csv__<name>, up to 10,000 rows and 250 columns per call, and it cannot touch a table a sync landed. It also opens a table for intake.
  • warehouse:append is the one write any member may grant. It starts unticked on the consent screen. It allows appending up to 10,000 rows per call to a table that is open, and listing the tables that are (list_intake_tables), and nothing else. An owner or admin opens a table for intake when they upload a CSV, or with load_rows or set_intake, and closes it in the Intake tables panel of Settings · Integrations. It includes fluid:read so that the assistant can describe the table it adds to.
  • warehouse:model builds in the derived schema, which the builder role can write and nothing else. Every build runs on your compute and is billed to you. It also checks a view's SELECT before defining it (whether it runs and which columns it gives, never its rows), puts a view on the map, brings a summary up to date, and changes or deletes a schedule. drop_view and delete_schedule can be held for approval.

Search and reports

  • search:manage is part of Sanda search, so it applies on Standard and Enterprise. A workspace owner must switch Sanda search on in the console first, and an agent holding this scope cannot do that. drop_search_service can be held for approval.
  • reports:write creates reports, puts blocks on them, changes their filters, and copies, restores and deletes them, through the same handlers as the report canvas, so every block is checked against the semantic model before it is saved. It includes query:run, so it also finds, reads and runs reports. A credential holding it reaches every report, private ones included, as an owner or admin does, and delete_report can be held for approval. A member builds reports in the console and through Sam under their own role.
  • reports:deliver is email only, to at most 25 recipients within the recipient domains your workspace allows, on a schedule that falls on the quarter hour. create_delivery and update_delivery can be held for approval when a recipient is outside the email domains your members use.

Knowledge

  • knowledge:write writes notes to Knowledge and says whether a note helped, was wrong or is out of date (write_note and rate_note), on Standard and Enterprise. Any member may grant it, because nothing it writes counts as verified on its own: a new note from an assistant is unverified until a person checks it, and its change to a verified note waits for a person to accept it while agents keep reading the verified text. It cannot delete or archive a note. It includes query:run, because a note is changed from the version the assistant read. See Knowledge and your AI assistants.

Streams

  • streams:manage runs, pauses and resumes streams and stream graphs, on Standard and Enterprise. A run reads a database or an app into your warehouse, or sends your numbers to another system, which cannot be recalled, and every run is billed to you. Its runs wait their turn like any other (see runs at once). It changes when a stream runs and what it is called (update_stream), but it cannot create or delete a stream or a graph, change what a stream moves or where it writes, or connect a credential: those stay in the console.

action_status is offered to a credential holding sql:write, warehouse:model, search:manage, reports:deliver or reports:write, because those are the scopes whose tools can be held.

Where scopes are set

Where How
A connected app The person ticks scopes on the consent screen. See connect Claude
An integration token An owner or admin turns on switches when creating it. May run its own SQL is sql:run, and so on. Every token also holds query:run. See agent tokens
A client that asks A client names scopes in the scope parameter of its authorization request. Scopes Sanda does not have are dropped. See connect other MCP clients

An OAuth client that gets a tool refused with insufficient_scope has learned which scope it lacks, and can ask the person to approve it. An integration token cannot ask: an owner or admin turns the switch on, or creates a new token.

The CRM's own scopes

An assistant connected to the CRM, at its own address, holds scopes of its own, which no data scope reaches and no CRM scope reaches past:

Scope Consent-screen wording Also includes
crm:read Read your CRM Nothing else
crm:write Add and change records, one at a time. It never deletes anything or changes many records at once crm:read
crm:manage Tidy and set up your CRM: archive, merge and remove, import many rows, and change its setup. Each of these asks you first, every time crm:write, crm:read

crm:manage was added in November 2026, and a connection made before then keeps what it was granted: it asks the person to connect again when it needs more. What each allows is on connect an assistant to the CRM.

Something unclear or out of date? Tell us, and we will fix the page.