Switchboard Docs
Reference

MCP tools

Tool arguments, permissions, and query behavior for external AI clients

The MCP connection provides 15 tools: 10 read tools and 5 tag-writing tools. Each call uses the Switchboard account that authorized the connection. See MCP overview for setup and permissions for action names.

Read tools

get_models

Lists the models in your workspace.

Arguments: name_search (optional).

Required actions: model:read.

Returns up to 50 models. Use name_search to narrow the list when needed.

get_model_details

Describes one model: its properties, aggregations, relationships, and written guidance.

Arguments: model_id.

Required actions: model:read.

Use a model ID returned by get_models. The response includes field definitions, related models, and saved model_context guidance. Guidance can appear on the model, properties, aggregations, and relationships.

list_sources

Lists your connected sources.

Arguments: None.

Required actions: source:read.

get_source_details

Shows the resources of one source and their sync state.

Arguments: source_id.

Required actions: source:read.

list_build_runs

Lists recent build runs.

Arguments: limit (optional).

Required actions: model:read.

The default limit is 20. Results include build IDs that can be passed to get_build_run.

get_build_run

Shows the status of one build run, with any errors.

Arguments: build_run_id.

Required actions: model:read.

recall_context

Finds facts that Operator saved about your business.

Arguments: query.

Required actions: document:read.

Uses semantic search to retrieve relevant saved workspace facts. This tool reads context; it does not save or change it.

execute_sql

Runs a query against your models and resources.

Arguments: query, limit (optional), offset (optional), cluster (optional).

Required actions: model_data:query, source_data:query.

The default limit is 100 rows; the maximum is 500. The default offset is 0. Use these arguments for paging instead of adding SQL LIMIT or OFFSET. Read has_more and request the next offset until the result is complete. Use a stable ORDER BY when paging rows.

The response names the SQL dialect. Read the tool description before choosing SQL syntax. The optional cluster selects an available query cluster by name. Omit it for the automatic choice. The accepted read statements depend on the workspace. Writes are refused. See SQL reference for table references.

list_tags

Lists the document tags in your workspace.

Arguments: None.

Required actions: tag:read.

list_content_by_tag

Lists the documents and folders that carry a tag.

Arguments: tag, page (optional).

Required actions: tag:read.

Use a tag ID or its exact name, matched without case. page starts at 1, with 50 items per page. The response contains summaries, total count, and pagination fields, rather than document bodies.

Tag-writing tools

These tools require write consent as well as the listed permissions. Older connections may need to reconnect and authorize write access. SQL remains read-only.

create_tag

Creates a tag.

Arguments: name, description (optional), color (optional), is_verified (optional).

Required actions: tag:manage.

Access: Admins.

update_tag

Changes the name, description, color, or verified setting of a tag.

Arguments: tag, name (optional), description (optional), color (optional), is_verified (optional).

Required actions: tag:manage.

Access: Admins.

delete_tag

Deletes a tag and removes it from every document and folder.

Arguments: tag, expected_usage_count.

Required actions: tag:manage.

Access: Admins.

Set expected_usage_count to usage_count returned by list_tags. A changed count prevents deletion. Read the latest count and review it before retrying.

tag_content

Applies a tag to a document or folder.

Arguments: entity_type, entity_id, tag.

Required actions: document:write.

Access: Anyone who can edit the document or folder.

Use document or folder for entity_type. Use the target ID for entity_id.

untag_content

Removes a tag from a document or folder.

Arguments: entity_type, entity_id, tag.

Required actions: document:write.

Access: Anyone who can edit the document or folder.

Use document or folder for entity_type. Use the target ID for entity_id.

Only an Admin can apply or remove a verified tag.

Errors and incomplete results

Read a tool's error before repeating the call. A permission error needs an access change; reconnecting alone does not grant a broader role. Check pagination fields before treating a result as complete. See use Switchboard from Claude for a first analysis.

On this page