snowflake-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@snowflake-mcp-server Query the sales table for total revenue by month for 2024"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
❄️ mcp-server-snowflake
Supercharge AI Agents with Native Snowflake Data Cloud & Cortex AI Superpowers! ⚡
An enterprise-grade Model Context Protocol (MCP) server providing 245 tools across 19 domain modules, dynamic profile switching, zero-config connection resolution, safe SQL execution, virtual warehouse management, object inspection, Horizon data lineage, and Cortex AI integrations straight to your favorite AI assistant.
🏛️ System Architecture
flowchart TD
subgraph Clients["AI Clients & Hosts"]
Claude["Claude Desktop / Claude Code"]
Antigravity["Antigravity / Gemini CLI"]
CortexClient["Snowflake Cortex Agent"]
Cursor["Cursor / VS Code"]
end
subgraph Protocol["MCP Protocol Boundary (Spec 2026-07-28)"]
STDIO["stdio Transport"]
HTTP["Streamable HTTP Transport"]
end
subgraph Server["snowflake-mcp (FastMCP 4)"]
CLI["CLI & Arg Parser (Allowed Hosts & DNS Rebinding Protection)"]
Auth["Multi-Auth & Profile Resolver (~/.snowflake/connections.toml / Key-Pair / PAT / SSO)"]
Registry["Tool Registry (245 Tools across 19 Modules)"]
Safety["Safety Gates (confirm=True, Read-Only Guard, Row Limits)"]
end
subgraph Cloud["Snowflake Data Cloud"]
SQL["SQL & Transaction Engine"]
Warehouses["Virtual Warehouses & Scaling"]
Horizon["Horizon Lineage, Tags & Policies"]
Cortex["Cortex AI (Search, Complete, Analyst)"]
SPCS["SPCS Compute Pools & Services"]
Storage["Stages, Pipes, Streams & Iceberg"]
end
Clients --> STDIO & HTTP
STDIO & HTTP --> CLI
CLI --> Auth
Auth --> Registry
Registry --> Safety
Safety --> SQL & Warehouses & Horizon & Cortex & SPCS & StorageRelated MCP server: Snowflake MCP Server
🛡️ Enterprise Disclaimers & Safety
Community Project Disclaimermcp-server-snowflake is an independent open-source project licensed under Apache 2.0. It is not affiliated with, sponsored by, endorsed by, or supported by Snowflake Inc. "Snowflake" and "Cortex" are trademarks of Snowflake Inc.
Safety Guardrails
Read-Only Safety Mode: Set
SNOWFLAKE_MCP_READONLY=1, pass--readonly, or pass--profile readonlyto block mutating tools. Every read-only path, including agovernance_use_connectionswitch to a profile withread_only = true, hides mutating tools and refuses a mutating tool if it is called. On the default flat catalog (every domain, no tool search or Code Mode),tools/listthen lists the 126 read-only tools. A single-domain profile lists only that domain's read-only tools, and with tool search or Code Mode,tools/listkeeps their entry points while the catalog behind them holds only read-only tools. The profile sets the same read-only flag the gate reads. On each new session, read-only mode runsUSE SECONDARY ROLES NONEbefore any tool SQL and closes the connection if that pin fails. Write mode does not run that statement. Objects readable only through a secondary role's grants are not visible under--readonlyuntil the read-only primary role is grantedSELECTon them directly. SetDEFAULT_SECONDARY_ROLES = ()on the read-only user, or use a dedicated user that holds only that role. Prefer a programmatic access token withROLE_RESTRICTIONset to the read-only role so Snowflake evaluates privileges under that role (programmatic access tokens).ROLE_RESTRICTIONdoes not replace the session pin. See FAQ / Troubleshooting.Caller SQL:
queries_query,queries_get_query_plan, and thequeryarguments ofrecipes_warehouse_scale_and_executeandrecipes_export_query_to_stagerefuse anything that is not one read-only statement, whether or not read-only mode is on. Allowed forms are oneSELECT(noINTO),SHOW,DESCRIBE/DESC, orEXPLAIN SELECT.SYSTEM$calls are refused exceptSYSTEM$TYPEOFandSYSTEM$CLUSTERING_INFORMATION.IDENTIFIER(...)in call position andTABLE(IDENTIFIER(...))are refused. User-defined functions insideSELECTare not inspected.Destructive Safety Gates: Dropping databases, schemas, or tables requires explicit
confirm=True.Object names follow Snowflake's identifier rules: unquoted names resolve to uppercase (
mydb.public.ordersisMYDB.PUBLIC.ORDERS), and a double-quoted part keeps its exact case and may contain.("My.Db".PUBLIC."Orders"; write a literal"as""). Pass an object created with a lowercase or mixed-case quoted name in double quotes. Every object row aSHOW-based list tool returns also carriesquoted_name, itsnamealready in double quotes with any"doubled (my_tablegives"my_table"), ready to pass back as an object name argument; a row that has adatabase_nameand aschema_namealso carriesquoted_qualified_name, the full"database"."schema"."name", which names the object from any session database and schema. An unterminated quote, an empty part, or a stray"in an unquoted part is refused before any SQL runs.Name lookups through
SHOW ... LIKE:warehouses_describe_warehouse,governance_describe_roleandtags_describe_tagfind their object withSHOW ... LIKE, which matches case-insensitively and treats_and%as wildcards, with no documented escape (SHOW WAREHOUSES). A name in double quotes, such as a list row'squoted_name(or the tag part ofquoted_qualified_name), is unquoted, sent toLIKEas is, and only the row whose name matches it exactly, case-sensitively, is returned; with no exact match the call fails with the usual not-found error rather than returning a near match. An unquoted name keeps the case-insensitive lookup. TheSHOW WAREHOUSES LIKEfallback ofwarehouses_get_warehouse_load_historymatches a quoted name the same way, and fails with the not-found error when no warehouse is left. Row cap: because_and%widen the match, look-alike names count against the limits, in that fallback too, since it matches names the same way (a quoted name exactly and case-sensitively, an unquoted one case-insensitively): only the firstSNOWFLAKE_MAX_ROWSrows (1,000 by default) are read, andSHOWreturns at most 10,000 rows (SHOW WAREHOUSES; SHOW TAGS fails instead when there are more), so with enough look-alikes the target can be cut off and reported as not found. When no database resolves and the rows reach the row cap, a match in another database can be cut off too, sotags_describe_tagfails with the ambiguity error instead of returning the first row, even if every row it read comes from one database.Query Limits: Default execution limits prevent context window overflow (
SNOWFLAKE_MAX_ROWS=1000,SNOWFLAKE_QUERY_TIMEOUT=120).
❓ FAQ / Troubleshooting
Read-only secondary-roles pin
In read-only mode (--readonly, --profile readonly, or SNOWFLAKE_MCP_READONLY=1), each new session runs USE SECONDARY ROLES NONE before any tool SQL. If that pin fails, the server fails closed: the connection is closed and not served. Write mode does not run the statement. Every read-only path also hides mutating tools from tools/list and refuses them if called.
Objects readable only through a secondary role's grants need SELECT granted on the primary role (the read-only role) directly. Set DEFAULT_SECONDARY_ROLES = () on the read-only user, or use a dedicated user that holds only that role.
Empty success vs a rejected missing object
Some describe and lineage tools return an empty success for a missing name. That result is the tool behavior. The live harness records it as expect: success. An empty success here is not a harness bug:
warehouses_describe_warehousegovernance_describe_rolehorizon_get_object_lineage
warehouses_describe_warehouse and governance_describe_role run SHOW ... LIKE and return status: success with empty details when an unquoted name matches nothing; a quoted name with no exact match is the not-found error. tags_describe_tag never returns an empty success: a tag with no match, quoted or not, is the not-found error. When no database resolves (for example schema.tag, or a bare tag with no database), SHOW TAGS LIKE runs with IN ACCOUNT — an explicit account scope, since without an IN clause the scope depends on the session: in a database context "Objects with the same name are only displayed once if no IN clause is used", and with no database in use it has "the same effect as specifying IN ACCOUNT" (SHOW TAGS) — and rows are filtered to the resolved schema client-side; with no database resolved it fails with an ambiguity error, asking for database.schema.tag, when the tag is found in more than one database or when SHOW TAGS returns as many rows as the row limit. horizon_get_object_lineage returns status: success when its OBJECT_DEPENDENCIES query succeeds, with empty upstream and downstream lists when the named object is absent.
horizon_get_column_lineage returns status: success when its SNOWFLAKE.ACCOUNT_USAGE.ACCESS_HISTORY query succeeds. The query filters on the supplied table and column (BASE_OBJECTS_ACCESSED, DIRECT_OBJECTS_ACCESSED, and OBJECTS_MODIFIED, including baseSources and directSources), so a missing name yields an empty access_history_records list. The view lags up to 3 hours and requires Enterprise Edition (or higher) (ACCESS_HISTORY). The live harness uses expect: success because the call succeeds.
Most other missing-object describe tools still reject: the call is a tool error result (isError: true) whose text is the {"status": "error", "error": ...} JSON, and the live harness records expect: rejected. The fixture table and marker lists are in TESTING.md under Live e2e expect policy.
Programmatic access tokens and ROLE_RESTRICTION
Prefer ROLE_RESTRICTION on a programmatic access token set to the read-only role, so Snowflake evaluates privileges under that role (programmatic access tokens).
ROLE_RESTRICTION does not replace the session pin. Read-only mode still runs USE SECONDARY ROLES NONE on every new session. Live checks showed an unrestricted programmatic access token can still surface secondary roles until that statement runs.
🔌 Connection & Multi-Auth Resolution
mcp-server-snowflake automatically resolves credentials across all enterprise Snowflake configurations:
Snowflake CLI Inheritance (
~/.snowflake/connections.toml): Zero-configuration connection. If you have configured connections viasnow, the server automatically connects to your default or specified profile (-c <conn_name>).Dynamic Profile Switching: Switch active connection profiles on the fly via
governance_use_connection(connection_name)and inspect available profiles withgovernance_list_connections.Programmatic Access Tokens (PAT) / OAuth: Set
tokenin connections profile orSNOWFLAKE_TOKEN.RSA Key-Pair JWT Authentication: Set
SNOWFLAKE_PRIVATE_KEY_PATH(and optionalSNOWFLAKE_PRIVATE_KEY_PASSPHRASE).SSO / Browser Authentication: Set
SNOWFLAKE_AUTHENTICATOR=externalbrowser.Environment Variables: Standard
SNOWFLAKE_ACCOUNT,SNOWFLAKE_USER,SNOWFLAKE_PASSWORD,SNOWFLAKE_WAREHOUSE,SNOWFLAKE_DATABASE,SNOWFLAKE_SCHEMA,SNOWFLAKE_ROLE.
📦 Installation & Quickstart
# PyPI publication is pending dispute #11989.
# Install from GitHub
uvx --from git+https://github.com/christianclaudio/mcp-server-snowflake snowflake-mcp
# Or run the GHCR image
docker run -i --rm ghcr.io/christianclaudio/mcp-server-snowflake
# Interactive setup wizard
snowflake-mcp --init
# Run with a specific Snowflake CLI connection profile
snowflake-mcp -c my_connection
# Run in read-only mode (lists only read-only tools; a mutating tool is refused if called)
snowflake-mcp -c my_connection --readonly
# List one domain, or only read-only tools
snowflake-mcp --profile cortex
snowflake-mcp --profile readonly
# Every read-only path (`--readonly`, `SNOWFLAKE_MCP_READONLY=1`, `--profile readonly`) hides mutating tools,
# refuses them if called, and pins USE SECONDARY ROLES NONE on each session.
# Set DEFAULT_SECONDARY_ROLES = () on that user, or use a dedicated user that holds only the read-only role.
# Opt in to tool search instead of the flat 245-tool tools/list.
# Search attaches on every profile, including a single domain and readonly,
# because some hosts only surface search_tools and call_tool.
snowflake-mcp --enable-tool-search
snowflake-mcp --enable-tool-search --tool-search-backend bm25
# SNOWFLAKE_MCP_ENABLE_TOOL_SEARCH=1
# SNOWFLAKE_MCP_TOOL_SEARCH_BACKEND=regex # or bm25
# Opt in to Code Mode on the full profile only. Mutually exclusive with tool search.
# Install the extra (mcp-server-snowflake[code-mode]) first. Without the sandbox
# package the server logs a warning and keeps the flat catalog.
snowflake-mcp --enable-code-mode
# SNOWFLAKE_MCP_ENABLE_CODE_MODE=1
# Build a local image (the published image is ghcr.io/christianclaudio/mcp-server-snowflake)
docker build -t mcp-server-snowflake .
docker run -i --rm mcp-server-snowflake🛠️ Complete Tool Suite (245 Enterprise Tools)
Domain Suite | Count | Key Tools |
1. SQL Queries & Transactions | 9 |
|
2. Databases & Clones | 14 |
|
3. Schemas & Clones | 6 |
|
4. Tables, Views & Partitions | 13 |
|
5. Virtual Warehouses & Scaling | 8 |
|
6. Stages & File Operations | 7 |
|
7. Tasks & DAG Pipelines | 10 |
|
8. Streams & Change Data Capture | 5 |
|
9. Dynamic & Iceberg Tables | 13 |
|
10. Snowpipe & Ingestion | 5 |
|
11. Alerts & Notifications | 6 |
|
12. Governance, RBAC & Users | 36 |
|
13. Network & Password Policies | 6 |
|
14. SPCS, Notebooks & Streamlit | 33 |
|
15. Object Tags & Classifications | 6 |
|
16. Horizon Lineage & Governance | 6 |
|
17. Programmability, UDFs & Secrets | 27 |
|
18. Cortex AI & NLP Extensions | 27 |
|
19. Composite Agent Workflows | 8 |
|
🔌 Integration Guides for AI Assistants & IDEs
mcp-server-snowflake works seamlessly with all major AI assistants, IDEs, and CLI tools via standard stdio or streamable-http.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"snowflake": {
"command": "snowflake-mcp",
"args": ["-c", "my_connection"],
"env": {
"SNOWFLAKE_DEFAULT_CONNECTION_NAME": "my_connection"
}
}
}
}For Claude Code CLI:
claude mcp add snowflake -- snowflake-mcp -c my_connectionAdd to .agents/mcp_config.json (or global ~/.gemini/config/mcp_config.json):
{
"mcpServers": {
"snowflake": {
"command": "snowflake-mcp",
"args": ["-c", "my_connection"],
"env": {
"SNOWFLAKE_DEFAULT_CONNECTION_NAME": "my_connection"
}
}
}
}Add to ~/.snowflake/cortex/mcp.json:
{
"mcpServers": {
"snowflake": {
"command": "snowflake-mcp",
"args": ["-c", "my_connection"]
}
}
}Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"snowflake": {
"command": "snowflake-mcp",
"args": ["-c", "my_connection"]
}
}
}Add to cline_mcp_settings.json:
{
"mcpServers": {
"snowflake": {
"command": "snowflake-mcp",
"args": ["-c", "my_connection"]
}
}
}Launch snowflake-mcp as a long-running Streamable HTTP service:
snowflake-mcp --transport streamable-http --host 127.0.0.1 --port 8000Connect your HTTP client or proxy to endpoint http://127.0.0.1:8000/mcp.
HTTP authentication. Set SNOWFLAKE_MCP_AUTH_TOKEN to require Authorization: Bearer <token> on every HTTP request; a missing or wrong token gets 401. The token is stripped, and a blank value counts as unset. It is attached when the server is built, so snowflake-mcp, fastmcp run and an ASGI host mounting mcp.http_app() all enforce it when it is set. stdio never uses it.
With no token, snowflake-mcp still starts an HTTP bind to 127.0.0.1, ::1 or localhost, unauthenticated, and logs a warning. A tokenless bind to any other host exits with code 2. Set the token, bind to localhost, or set SNOWFLAKE_MCP_ALLOW_UNAUTHENTICATED_BIND to 1, true, yes or on to accept an unauthenticated public bind (any other value refuses). Other entry points get the token but not the localhost check: fastmcp run and http_app() do not go through snowflake-mcp's main(), so a bind to 0.0.0.0 with no token there is not refused and serves without authentication. The host or its process manager owns the bind address, so set SNOWFLAKE_MCP_AUTH_TOKEN there.
To serve the image over HTTP, pass credentials and the token from your environment or an env file, never on the command line:
# export SNOWFLAKE_ACCOUNT, SNOWFLAKE_USER, SNOWFLAKE_TOKEN and SNOWFLAKE_MCP_AUTH_TOKEN first, or use --env-file .env
docker run --rm -p 8000:8000 \
-e SNOWFLAKE_ACCOUNT -e SNOWFLAKE_USER -e SNOWFLAKE_TOKEN -e SNOWFLAKE_MCP_AUTH_TOKEN \
ghcr.io/christianclaudio/mcp-server-snowflake \
--transport streamable-http --host 0.0.0.0 --allowed-host mcp.example.comReplace mcp.example.com with the host name clients use to reach the server.
Known limits.
Only
snowflake-mcprefuses a tokenless public bind (exit code 2).fastmcp runandmcp.http_app()enforce the token when it is set but do not refuse a tokenless public bind.A token changed after the server is built is not picked up; restart the server.
In the default (stateful) HTTP mode, a session idle for 30 minutes expires: its next request gets HTTP 404 and the client must start a new session. Change this with FastMCP's
session_idle_timeout(onhttp_app()) orFASTMCP_HTTP_SESSION_IDLE_TIMEOUT(seconds, ornoneto never expire); see the FastMCP 4.1.0 release and #5229.
🧪 Verification Runbook
All changes are strictly verified with automated safety and contract gates before release:
# 1. Format and lint checks
uv run ruff check .
uv run ruff format --check .
# 2. Strict static typing
uv run mypy src/
# 3. Unit and mocked test suite
uv run pytest
# 4. Tool contract verification (builds the server; 245 tools)
uv run python scripts/check_tool_contract.py
# 5. MCP protocol conformance suite (Spec 2026-07-28)
./scripts/check_conformance.sh
# 6. Release notes preview since the last tag (needs full history and tags)
python3 scripts/release_notes.py📜 License
Apache 2.0. Copyright (c) 2026 Christian Claudio.
Available Tools
245 toolsalerts_create_alertAlerts Create AlertB
Create an alert with schedule, condition SQL, and action SQL. Destructive actions require confirm=True.
Inputs: schedule (required), action_sql (required), alert_name (required), condition_sql (required), +5 more. Returns: object
alerts_describe_alertAlerts Describe AlertBRead-onlyIdempotent
Describe alert condition SQL, action SQL, schedule, and warehouse.
Inputs: alert_name (required), database, schema_name. Returns: object
alerts_drop_alertAlerts Drop AlertADestructive
Drop an alert in Snowflake. Requires confirmation.
Inputs: alert_name (required), confirm, database, schema_name. Returns: object
alerts_list_alertsAlerts List AlertsBRead-onlyIdempotent
List configured alerts with condition queries, schedules, and state. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
alerts_resume_alertAlerts Resume AlertCIdempotent
Resume a suspended alert.
Inputs: alert_name (required), database, schema_name. Returns: object
alerts_suspend_alertAlerts Suspend AlertBIdempotent
Suspend an active alert.
Inputs: alert_name (required), database, schema_name. Returns: object
compute_services_abort_streamlit_live_versionCompute Services Abort Streamlit Live VersionBDestructive
Abort a Streamlit live version. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-streamlit
Inputs: streamlit_name (required), confirm, database, schema_name. Returns: object
compute_services_add_notebook_live_versionCompute Services Add Notebook Live VersionC
Add a notebook live version. ALTER NOTEBOOK has no SQL form for this. Requires confirmation. https://docs.snowflake.com/en/user-guide/ui-snowsight/notebooks
Inputs: database (required), schema_name (required), notebook_name (required), comment, +2 more. Returns: object
compute_services_add_streamlit_live_versionCompute Services Add Streamlit Live VersionA
Add a Streamlit live version from the last commit. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-streamlit
Inputs: streamlit_name (required), confirm, database, schema_name. Returns: object
compute_services_alter_serviceCompute Services Alter ServiceADestructive
Alter a service SET properties or replace its specification. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-service
Inputs: service_name (required), stage, confirm, database, +3 more. Returns: object
compute_services_commit_notebook_versionCompute Services Commit Notebook VersionC
Commit a notebook version over the REST API. Requires confirmation. https://docs.snowflake.com/en/user-guide/ui-snowsight/notebooks
Inputs: database (required), schema_name (required), notebook_name (required), comment, +2 more. Returns: object
compute_services_commit_streamlit_versionCompute Services Commit Streamlit VersionB
Commit a Streamlit live version. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-streamlit
Inputs: streamlit_name (required), confirm, database, schema_name. Returns: object
compute_services_create_notebookCompute Services Create NotebookD
Create a notebook. https://docs.snowflake.com/en/sql-reference/sql/create-notebook
Inputs: notebook_name (required), database, schema_name, if_not_exists, +2 more. Returns: object
compute_services_create_notebook_projectCompute Services Create Notebook ProjectB
Create a notebook project from a workspace or stage. The grammar continues to work after the rename to code bundles. https://docs.snowflake.com/en/sql-reference/sql/create-notebook-project
Inputs: source (required), project_name (required), comment, database, +1 more. Returns: object
compute_services_create_serviceCompute Services Create ServiceB
Create a service from a stage specification file. https://docs.snowflake.com/en/sql-reference/sql/create-service
Inputs: stage (required), compute_pool (required), service_name (required), specification_file (required), +3 more. Returns: object
compute_services_describe_compute_poolCompute Services Describe Compute PoolBRead-onlyIdempotent
Describe compute pool instance family, min/max nodes, active nodes, and state.
Inputs: pool_name (required). Returns: object
compute_services_describe_notebookCompute Services Describe NotebookCRead-onlyIdempotent
Describe a notebook. https://docs.snowflake.com/en/sql-reference/sql/desc-notebook
Inputs: notebook_name (required), database, schema_name. Returns: object
compute_services_describe_serviceCompute Services Describe ServiceCRead-onlyIdempotent
Describe a Snowpark Container Services service. https://docs.snowflake.com/en/sql-reference/sql/desc-service
Inputs: service_name (required), database, schema_name. Returns: object
compute_services_describe_streamlitCompute Services Describe StreamlitARead-onlyIdempotent
Describe Streamlit application root location, stage, and query warehouse.
Inputs: streamlit_name (required), database, schema_name. Returns: object
compute_services_drop_notebookCompute Services Drop NotebookBDestructive
Drop a notebook. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-notebook
Inputs: notebook_name (required), confirm, database, schema_name. Returns: object
compute_services_drop_serviceCompute Services Drop ServiceBDestructive
Drop a service. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-service
Inputs: service_name (required), confirm, database, schema_name. Returns: object
compute_services_execute_job_serviceCompute Services Execute Job ServiceBDestructive
Run a job service. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/execute-job-service
Inputs: stage (required), compute_pool (required), service_name (required), specification_file (required), +3 more. Returns: object
compute_services_execute_notebookCompute Services Execute NotebookCDestructive
Execute a notebook. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/execute-notebook
Inputs: notebook_name (required), confirm, database, parameters, +1 more. Returns: object
compute_services_execute_notebook_projectCompute Services Execute Notebook ProjectBDestructive
Execute a notebook project. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/execute-notebook-project
Inputs: runtime (required), main_file (required), compute_pool (required), project_name (required), +4 more. Returns: object
compute_services_get_service_logsCompute Services Get Service LogsCRead-onlyIdempotent
Read service container logs. https://docs.snowflake.com/en/sql-reference/functions/system_get_service_logs
Inputs: instance_id (required), service_name (required), container_name (required), database, +2 more. Returns: object
compute_services_list_compute_poolsCompute Services List Compute PoolsBRead-onlyIdempotent
List Snowpark Container Services (SPCS) compute pools. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
compute_services_list_image_repositoriesCompute Services List Image RepositoriesBRead-onlyIdempotent
List OCI image repositories in Snowflake. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
compute_services_list_imagesCompute Services List ImagesCRead-onlyIdempotent
List images in an image repository. https://docs.snowflake.com/en/sql-reference/sql/show-images-in-image-repository
Inputs: repository_name (required), database, schema_name. Returns: object
compute_services_list_notebook_projectsCompute Services List Notebook ProjectsBRead-onlyIdempotent
List notebook projects. Notebook projects were renamed to code bundles; this grammar still works. https://docs.snowflake.com/en/sql-reference/sql/show-notebook-projects Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: database, schema_name. Returns: object
compute_services_list_notebooksCompute Services List NotebooksBRead-onlyIdempotent
List notebooks. https://docs.snowflake.com/en/sql-reference/sql/show-notebooks Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
compute_services_list_service_endpointsCompute Services List Service EndpointsBRead-onlyIdempotent
List endpoints in a service. https://docs.snowflake.com/en/sql-reference/sql/show-endpoints
Inputs: service_name (required), database, schema_name. Returns: object
compute_services_list_servicesCompute Services List ServicesBRead-onlyIdempotent
List container services running on SPCS compute pools. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
compute_services_list_streamlitsCompute Services List StreamlitsBRead-onlyIdempotent
List Streamlit applications hosted in Snowflake. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
compute_services_pull_streamlit_from_gitCompute Services Pull Streamlit From GitA
Pull a Streamlit app from Git. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-streamlit
Inputs: streamlit_name (required), confirm, database, schema_name. Returns: object
compute_services_push_streamlit_to_gitCompute Services Push Streamlit To GitB
Push a Streamlit app to Git. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-streamlit
Inputs: streamlit_name (required), confirm, database, schema_name, +1 more. Returns: object
compute_services_resume_compute_poolCompute Services Resume Compute PoolAIdempotent
Resume an idle or suspended SPCS compute pool.
Inputs: pool_name (required). Returns: object
compute_services_resume_serviceCompute Services Resume ServiceBIdempotent
Resume a service. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-service
Inputs: service_name (required), confirm, database, schema_name. Returns: object
compute_services_suspend_compute_poolCompute Services Suspend Compute PoolAIdempotent
Suspend an active SPCS compute pool to stop node provisioning costs.
Inputs: pool_name (required). Returns: object
compute_services_suspend_serviceCompute Services Suspend ServiceBIdempotent
Suspend a service. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-service
Inputs: service_name (required), confirm, database, schema_name. Returns: object
cortex_analyst_queryCortex Analyst QueryBRead-onlyIdempotent
Answer an analytical question via AI_COMPLETE. Optionally prefixes the prompt with semantic_model_path. Does not call Cortex Analyst REST (POST /api/v2/cortex/analyst/message).
Inputs: question (required), semantic_model_path. Returns: object
cortex_chat_completionCortex Chat CompletionC
Cortex chat completions (OpenAI-compatible). This call is a write: it is open-world and is refused in read-only mode. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-rest-api
Inputs: request (required). Returns: object
cortex_completeCortex CompleteARead-onlyIdempotent
Run LLM completion via Snowflake AI_COMPLETE (e.g., 'llama3.3-70b', 'llama3.1-8b'). Optional temperature (0 to 1) and max_tokens are sent as model_parameters only when set; with neither set the call stays AI_COMPLETE(model, prompt) and still returns a string.
Inputs: prompt (required), model, max_tokens, temperature. Returns: object
cortex_create_search_serviceCortex Create Search ServiceC
Create a Cortex Search service. The AS query must be read-only SQL. https://docs.snowflake.com/en/sql-reference/sql/create-cortex-search
Inputs: query (required), warehouse (required), attributes (required), target_lag (required), +5 more. Returns: object
cortex_describe_search_serviceCortex Describe Search ServiceCRead-onlyIdempotent
Describe a Cortex Search service. https://docs.snowflake.com/en/sql-reference/sql/desc-cortex-search
Inputs: service_name (required), database, schema_name. Returns: object
cortex_drop_search_serviceCortex Drop Search ServiceADestructive
Drop a Cortex Search service. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-cortex-search
Inputs: service_name (required), confirm, database, schema_name. Returns: object
cortex_embed_text_768Cortex Embed Text 768ARead-onlyIdempotent
Generate text embeddings via Snowflake AI_EMBED. Output dimension is set by the model (default snowflake-arctic-embed-m is 768); replaces legacy EMBED_TEXT_768.
Inputs: text (required), model. Returns: object
cortex_extract_answerCortex Extract AnswerBRead-onlyIdempotent
Extract answers from text via Snowflake AI_EXTRACT. Returns the AI_EXTRACT JSON object (response/error), not a legacy plain-string answer.
Inputs: question (required), source_text (required). Returns: object
cortex_generate_responseCortex Generate ResponseC
Preview: Cortex Responses API (OpenAI models on AWS only). This call is a write and is refused in read-only mode. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-rest-api
Inputs: request (required). Returns: object
cortex_generate_semantic_modelCortex Generate Semantic ModelCRead-onlyIdempotent
Generate a semantic model (fast generation). Read-only. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst/rest-api
Inputs: request (required). Returns: object
cortex_get_semantic_model_optimizationCortex Get Semantic Model OptimizationBRead-onlyIdempotent
Get one agentic semantic-model optimization. Read-only. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst/rest-api
Inputs: optimization_name (required). Returns: object
cortex_list_agentsCortex List AgentsBRead-onlyIdempotent
List Cortex agents. https://docs.snowflake.com/en/sql-reference/sql/show-agents Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
cortex_list_modelsCortex List ModelsBRead-onlyIdempotent
List Cortex inference models. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-rest-api
Inputs: no named parameters. Returns: object
cortex_list_search_servicesCortex List Search ServicesBRead-onlyIdempotent
List Cortex Search services. https://docs.snowflake.com/en/sql-reference/sql/show-cortex-search Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
cortex_list_semantic_model_optimizationsCortex List Semantic Model OptimizationsCRead-onlyIdempotent
List agentic semantic-model optimizations. Read-only. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst/rest-api
Inputs: request (required). Returns: object
cortex_message_completionCortex Message CompletionC
Cortex Anthropic-compatible messages. This call is a write and is refused in read-only mode. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-rest-api
Inputs: request (required). Returns: object
cortex_preselect_semantic_model_tablesCortex Preselect Semantic Model TablesCRead-onlyIdempotent
Pre-select tables for a semantic model. Read-only. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst/rest-api
Inputs: request (required). Returns: object
cortex_resume_search_serviceCortex Resume Search ServiceAIdempotent
Resume a Cortex Search service. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-cortex-search
Inputs: service_name (required), target, confirm, database, +1 more. Returns: object
cortex_run_agentCortex Run AgentB
Run a Cortex Agent with SNOWFLAKE.CORTEX.DATA_AGENT_RUN. Agent tools may write. https://docs.snowflake.com/en/sql-reference/functions/data_agent_run-snowflake-cortex
Inputs: request (required), agent_name (required), version, database, +2 more. Returns: object
cortex_searchCortex SearchCRead-onlyIdempotent
Query a Snowflake Cortex Search Service index over unstructured text.
Inputs: query (required), service_name (required), limit, columns. Returns: object
cortex_sentimentCortex SentimentARead-onlyIdempotent
Analyze sentiment via Snowflake AI_SENTIMENT. Returns an object with a categories array (overall plus optional aspects), not a legacy -1.0..1.0 float score.
Inputs: text (required). Returns: object
cortex_suggest_searchCortex Suggest SearchCRead-onlyIdempotent
Suggest Cortex Search completions. Read-only. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-search/cortex-search-rest-api
Inputs: query (required), service_name (required), limit, columns, +2 more. Returns: object
cortex_suggest_semantic_model_metricsCortex Suggest Semantic Model MetricsCRead-onlyIdempotent
Suggest filters and metrics for a semantic model. Read-only. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst/rest-api
Inputs: request (required). Returns: object
cortex_suggest_verified_queriesCortex Suggest Verified QueriesCRead-onlyIdempotent
Suggest verified queries for a semantic model. Read-only. https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst/rest-api
Inputs: request (required). Returns: object
cortex_summarizeCortex SummarizeBRead-onlyIdempotent
Summarize text via Snowflake AI_SUMMARIZE (drop-in for legacy CORTEX.SUMMARIZE).
Inputs: text (required). Returns: object
cortex_suspend_search_serviceCortex Suspend Search ServiceBIdempotent
Suspend a Cortex Search service. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-cortex-search
Inputs: service_name (required), target, confirm, database, +1 more. Returns: object
cortex_translateCortex TranslateBRead-onlyIdempotent
Translate text via Snowflake AI_TRANSLATE (drop-in for legacy CORTEX.TRANSLATE).
Inputs: text (required), source_language (required), target_language (required). Returns: object
databases_clone_databaseDatabases Clone DatabaseB
Create a zero-copy clone of a database in Snowflake.
Inputs: source_database (required), target_database (required). Returns: object
databases_create_databaseDatabases Create DatabaseC
Create a new database in Snowflake.
Inputs: name (required), comment, if_not_exists, data_retention_time_in_days. Returns: object
databases_describe_databaseDatabases Describe DatabaseBRead-onlyIdempotent
Describe properties, owner, retention time, and comment of a database.
Inputs: database_name (required). Returns: object
databases_disable_database_failoverDatabases Disable Database FailoverCDestructive
Disable database failover. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-database
Inputs: database_name (required), confirm, accounts. Returns: object
databases_disable_database_replicationDatabases Disable Database ReplicationCDestructive
Disable database replication. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-database
Inputs: database_name (required), confirm, accounts. Returns: object
databases_drop_databaseDatabases Drop DatabaseADestructive
Drop a database in Snowflake. Requires confirmation flag.
Inputs: name (required), confirm. Returns: object
databases_enable_database_failoverDatabases Enable Database FailoverB
ORGADMIN: Enable failover of a database to accounts. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-database
Inputs: accounts (required), database_name (required), confirm. Returns: object
databases_enable_database_replicationDatabases Enable Database ReplicationA
ORGADMIN: Enable replication of a database to accounts. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-database
Inputs: accounts (required), database_name (required), confirm, ignore_edition_check. Returns: object
databases_get_database_ddlDatabases Get Database DdlBRead-onlyIdempotent
Retrieve the exact CREATE DATABASE DDL definition.
Inputs: database_name (required). Returns: object
databases_list_databasesDatabases List DatabasesCRead-onlyIdempotent
List all available databases accessible to the current role. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
databases_list_replication_databasesDatabases List Replication DatabasesBRead-onlyIdempotent
ORGADMIN: List replication databases. https://docs.snowflake.com/en/sql-reference/sql/show-replication-databases Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
databases_promote_databaseDatabases Promote DatabaseBDestructive
Promote a secondary database to primary. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-database
Inputs: database_name (required), confirm. Returns: object
databases_refresh_databaseDatabases Refresh DatabaseBIdempotent
Refresh a secondary database. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-database
Inputs: database_name (required), confirm. Returns: object
databases_undrop_databaseDatabases Undrop DatabaseA
Restore a recently dropped database using Time Travel.
Inputs: name (required). Returns: object
dynamic_tables_convert_iceberg_table_to_managedDynamic Tables Convert Iceberg Table To ManagedB
Convert an Iceberg table to Snowflake-managed. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-iceberg-table-convert-to-managed
Inputs: table_name (required), confirm, database, schema_name, +1 more. Returns: object
dynamic_tables_create_iceberg_tableDynamic Tables Create Iceberg TableC
Create a Snowflake-managed Iceberg table (CATALOG = 'SNOWFLAKE'). https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-snowflake
Inputs: columns (required), table_name (required), base_location (required), external_volume (required), +3 more. Returns: object
dynamic_tables_create_iceberg_table_from_catalogDynamic Tables Create Iceberg Table From CatalogC
Create an Iceberg table from an external catalog. https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-rest
Inputs: catalog (required), table_name (required), catalog_kind (required), database, +7 more. Returns: object
dynamic_tables_describe_dynamic_tableDynamic Tables Describe Dynamic TableARead-onlyIdempotent
Describe dynamic table definition, target lag, warehouse, and query text.
Inputs: table_name (required), database, schema_name. Returns: object
dynamic_tables_describe_iceberg_tableDynamic Tables Describe Iceberg TableBRead-onlyIdempotent
Describe schema, catalog integration, and external volume of an Iceberg table.
Inputs: table_name (required), database, schema_name. Returns: object
dynamic_tables_list_catalog_integrationsDynamic Tables List Catalog IntegrationsARead-onlyIdempotent
List catalog integrations (Polaris, AWS Glue, Object Storage) configured in Snowflake. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
dynamic_tables_list_dynamic_tablesDynamic Tables List Dynamic TablesCRead-onlyIdempotent
List dynamic tables with lag targets, refresh mode, and last refresh status. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
dynamic_tables_list_external_volumesDynamic Tables List External VolumesBRead-onlyIdempotent
List external cloud storage volumes configured for Apache Iceberg tables. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
dynamic_tables_list_iceberg_tablesDynamic Tables List Iceberg TablesBRead-onlyIdempotent
List Apache Iceberg tables in the account, database, or schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
dynamic_tables_refresh_dynamic_tableDynamic Tables Refresh Dynamic TableBIdempotent
Trigger an immediate manual refresh of a dynamic table.
Inputs: table_name (required), database, schema_name. Returns: object
dynamic_tables_refresh_iceberg_tableDynamic Tables Refresh Iceberg TableBIdempotent
Refresh an Iceberg table. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-iceberg-table-refresh
Inputs: table_name (required), confirm, database, schema_name, +1 more. Returns: object
dynamic_tables_resume_dynamic_tableDynamic Tables Resume Dynamic TableCIdempotent
Resume scheduling and lag monitoring for a dynamic table.
Inputs: table_name (required), database, schema_name. Returns: object
dynamic_tables_suspend_dynamic_tableDynamic Tables Suspend Dynamic TableBIdempotent
Suspend automated refresh and lag evaluation for a dynamic table.
Inputs: table_name (required), database, schema_name. Returns: object
governance_alter_userGovernance Alter UserADestructive
Alter a user: SET, UNSET, or RENAME TO. Password and RSA key properties are rejected. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-user
Inputs: user_name (required), confirm, rename_to, set_properties, +1 more. Returns: object
governance_create_accountGovernance Create AccountB
ORGADMIN: Create an organization account. The admin password is never returned. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/create-account
Inputs: email (required), edition (required), admin_name (required), account_name (required), +4 more. Returns: object
governance_create_database_roleGovernance Create Database RoleC
Create a database role. https://docs.snowflake.com/en/sql-reference/sql/create-database-role
Inputs: database_role (required), comment, if_not_exists. Returns: object
governance_create_managed_accountGovernance Create Managed AccountA
Reader accounts: create a managed reader account. The admin password is never returned. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/create-managed-account
Inputs: admin_name (required), account_name (required), admin_password (required), comment, +1 more. Returns: object
governance_create_roleGovernance Create RoleC
Create a new role in Snowflake.
Inputs: role_name (required), comment, if_not_exists. Returns: object
governance_create_userGovernance Create UserC
Create a new Snowflake user with default role and warehouse.
Inputs: user_name (required), comment, password, default_role, +2 more. Returns: object
governance_describe_roleGovernance Describe RoleARead-onlyIdempotent
Describe role properties and assigned grants. A name in double quotes, such as a list row's quoted_name, must match exactly.
Inputs: role_name (required). Returns: object
governance_describe_userGovernance Describe UserARead-onlyIdempotent
Describe user properties, email, disabled status, and default warehouse/role.
Inputs: user_name (required). Returns: object
governance_drop_accountGovernance Drop AccountADestructive
ORGADMIN: Drop an account with a grace period. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-account
Inputs: account_name (required), confirm, grace_period_in_days. Returns: object
governance_drop_database_roleGovernance Drop Database RoleBDestructive
Drop a database role. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-database-role
Inputs: database_role (required), confirm. Returns: object
governance_drop_managed_accountGovernance Drop Managed AccountBDestructive
Reader accounts: drop a managed reader account. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-managed-account
Inputs: account_name (required), confirm. Returns: object
governance_drop_roleGovernance Drop RoleBDestructive
Drop a role in Snowflake. Requires confirmation.
Inputs: role_name (required), confirm. Returns: object
governance_drop_userGovernance Drop UserBDestructive
Drop a user. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-user
Inputs: user_name (required), confirm. Returns: object
governance_get_current_contextGovernance Get Current ContextARead-onlyIdempotent
Retrieve current active session context (current user, role, warehouse, database, schema, and account).
Inputs: no named parameters. Returns: object
governance_grant_database_roleGovernance Grant Database RoleB
Grant a database role to a role, database role, or user. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/grant-database-role
Inputs: grantee (required), grantee_kind (required), database_role (required), confirm, +1 more. Returns: object
governance_grant_future_privilegesGovernance Grant Future PrivilegesB
Grant privileges on future objects in a database or schema. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/grant-privilege
Inputs: grantee (required), privileges (required), scope_kind (required), scope_name (required), +4 more. Returns: object
governance_grant_privilegesGovernance Grant PrivilegesB
Grant privileges on an object to a role or database role. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/grant-privilege
Inputs: grantee (required), privileges (required), object_type (required), grantee_kind (required), +3 more. Returns: object
governance_grant_role_to_userGovernance Grant Role To UserB
Grant a role to a user. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/grant-role
Inputs: role_name (required), user_name (required), confirm. Returns: object
governance_list_accountsGovernance List AccountsBRead-onlyIdempotent
ORGADMIN: List accounts in the organization. https://docs.snowflake.com/en/sql-reference/sql/show-accounts Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: history, pattern. Returns: object
governance_list_connectionsGovernance List ConnectionsARead-onlyIdempotent
List available connection profiles configured in ~/.snowflake/connections.toml and show active profile.
Inputs: no named parameters. Returns: object
governance_list_database_rolesGovernance List Database RolesARead-onlyIdempotent
List database roles in a database. https://docs.snowflake.com/en/sql-reference/sql/show-database-roles Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: database. Returns: object
governance_list_future_grantsGovernance List Future GrantsCRead-onlyIdempotent
List future grants in a database or schema, or to a role. https://docs.snowflake.com/en/sql-reference/sql/show-grants
Inputs: database, role_name, schema_name, database_role, +1 more. Returns: object
governance_list_grants_of_roleGovernance List Grants Of RoleCRead-onlyIdempotent
List grantees of a role. https://docs.snowflake.com/en/sql-reference/sql/show-grants
Inputs: role_name (required). Returns: object
governance_list_grants_on_objectGovernance List Grants On ObjectCRead-onlyIdempotent
List grants on one object. https://docs.snowflake.com/en/sql-reference/sql/show-grants
Inputs: object_type (required), object_name. Returns: object
governance_list_grants_to_database_roleGovernance List Grants To Database RoleCRead-onlyIdempotent
List grants to a database role. https://docs.snowflake.com/en/sql-reference/sql/show-grants
Inputs: database_role (required), include_hierarchy. Returns: object
governance_list_grants_to_roleGovernance List Grants To RoleBRead-onlyIdempotent
List privileges granted to a specific role. Set include_hierarchy to append INCLUDE HIERARCHY. https://docs.snowflake.com/en/sql-reference/sql/show-grants
Inputs: role_name (required), include_hierarchy. Returns: object
governance_list_grants_to_userGovernance List Grants To UserBRead-onlyIdempotent
List roles granted to a specific user. Set include_hierarchy to append INCLUDE HIERARCHY. https://docs.snowflake.com/en/sql-reference/sql/show-grants
Inputs: user_name (required), include_hierarchy. Returns: object
governance_list_managed_accountsGovernance List Managed AccountsBRead-onlyIdempotent
Reader accounts: list managed reader accounts. https://docs.snowflake.com/en/sql-reference/sql/show-managed-accounts Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
governance_list_rolesGovernance List RolesCRead-onlyIdempotent
List roles available in the Snowflake account. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
governance_list_usersGovernance List UsersBRead-onlyIdempotent
List users in the Snowflake account with login status and default roles. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
governance_revoke_database_roleGovernance Revoke Database RoleADestructive
Revoke a database role from a role or database role. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/revoke-database-role
Inputs: grantee (required), grantee_kind (required), database_role (required), confirm. Returns: object
governance_revoke_future_privilegesGovernance Revoke Future PrivilegesBDestructive
Revoke privileges on future objects. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/revoke-privilege
Inputs: grantee (required), privileges (required), scope_kind (required), scope_name (required), +4 more. Returns: object
governance_revoke_privilegesGovernance Revoke PrivilegesCDestructive
Revoke privileges on an object. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/revoke-privilege
Inputs: grantee (required), privileges (required), object_type (required), grantee_kind (required), +3 more. Returns: object
governance_revoke_role_from_userGovernance Revoke Role From UserBDestructive
Revoke a role from a user. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/revoke-role
Inputs: role_name (required), user_name (required), confirm. Returns: object
governance_undrop_accountGovernance Undrop AccountB
ORGADMIN: Restore a dropped account. https://docs.snowflake.com/en/sql-reference/sql/undrop-account
Inputs: account_name (required). Returns: object
governance_use_connectionGovernance Use ConnectionBIdempotent
Dynamically switch the active Snowflake session to a different connection profile from ~/.snowflake/connections.toml.
Inputs: connection_name (required). Returns: object
horizon_describe_masking_policyHorizon Describe Masking PolicyBRead-onlyIdempotent
Describe signature, return type, and body of a masking policy.
Inputs: policy_name (required), database, schema_name. Returns: object
horizon_describe_row_access_policyHorizon Describe Row Access PolicyBRead-onlyIdempotent
Describe signature, filter expression, and comment of a row access policy.
Inputs: policy_name (required), database, schema_name. Returns: object
horizon_get_column_lineageHorizon Get Column LineageARead-onlyIdempotent
Trace origin and transformation lineage for one column from SNOWFLAKE.ACCOUNT_USAGE.ACCESS_HISTORY (direct objects, base objects, and objects modified, including baseSources and directSources). The view lags up to 3 hours and requires Enterprise Edition (or higher).
Inputs: table_name (required), column_name (required), days, limit, +2 more. Returns: object
horizon_get_object_lineageHorizon Get Object LineageBRead-onlyIdempotent
Retrieve upstream source and downstream dependent object lineage from Snowflake Horizon.
Inputs: object_name (required), database, direction, schema_name. Returns: object
horizon_list_masking_policiesHorizon List Masking PoliciesBRead-onlyIdempotent
List column masking policies in the account, database, or schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
horizon_list_row_access_policiesHorizon List Row Access PoliciesARead-onlyIdempotent
List row access policies defined in the account, database, or schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
network_describe_network_policyNetwork Describe Network PolicyBRead-onlyIdempotent
Describe allowed IP lists, blocked IP lists, and comments for a network policy.
Inputs: policy_name (required). Returns: object
network_describe_network_ruleNetwork Describe Network RuleBRead-onlyIdempotent
Describe mode (INGRESS, INTERNAL_STAGE, EGRESS), type (IPV4, AWSVPCEID, HOST_PORT), and value list of a network rule.
Inputs: rule_name (required), database, schema_name. Returns: object
network_describe_password_policyNetwork Describe Password PolicyBRead-onlyIdempotent
Describe password policy constraints (min length, lockout time, history, age).
Inputs: policy_name (required), database, schema_name. Returns: object
network_list_network_policiesNetwork List Network PoliciesBRead-onlyIdempotent
List network policies configured in the account. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
network_list_network_rulesNetwork List Network RulesBRead-onlyIdempotent
List network rules defined in a database or schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
network_list_password_policiesNetwork List Password PoliciesBRead-onlyIdempotent
List password security policies defined in the account or database. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
pipes_create_pipePipes Create PipeC
Create a Snowpipe for continuous ingestion.
Inputs: pipe_name (required), copy_statement (required), database, auto_ingest, +2 more. Returns: object
pipes_describe_pipePipes Describe PipeCRead-onlyIdempotent
Describe pipe definition and COPY statement.
Inputs: pipe_name (required), database, schema_name. Returns: object
pipes_drop_pipePipes Drop PipeBDestructive
Drop a Snowpipe. Requires confirmation.
Inputs: pipe_name (required), confirm, database, schema_name. Returns: object
pipes_get_pipe_statusPipes Get Pipe StatusARead-onlyIdempotent
Get execution and health status of a Snowpipe (pending file count, last ingested timestamp).
Inputs: pipe_name (required), database, schema_name. Returns: object
pipes_list_pipesPipes List PipesBRead-onlyIdempotent
List Snowpipes configured in a database or schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
programmability_cancel_code_bundle_executionProgrammability Cancel Code Bundle ExecutionBDestructive
Preview: Cancel a code bundle execution. Requires confirmation. https://docs.snowflake.com/en/developer-guide/code-bundles/code-bundles
Inputs: execution_id (required), confirm. Returns: object
programmability_create_api_integrationProgrammability Create Api IntegrationC
Sensitive: create an API integration. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/create-api-integration
Inputs: enabled (required), api_provider (required), integration_name (required), api_allowed_prefixes (required), +5 more. Returns: object
programmability_create_artifact_repositoryProgrammability Create Artifact RepositoryB
Create an artifact repository. A PYPI repository needs api_integration. https://docs.snowflake.com/en/sql-reference/sql/create-artifact-repository
Inputs: repository_name (required), repository_type (required), database, schema_name, +2 more. Returns: object
programmability_create_code_bundleProgrammability Create Code BundleC
Preview: Create a code bundle from a workspace or stage. https://docs.snowflake.com/en/sql-reference/sql/create-code-bundle
Inputs: source (required), bundle_name (required), comment, database, +2 more. Returns: object
programmability_create_functionProgrammability Create FunctionBDestructive
Create a function. Requires confirmation, since or_replace replaces an existing function. https://docs.snowflake.com/en/sql-reference/sql/create-function
Inputs: body (required), returns (required), arguments (required), function_name (required), +7 more. Returns: object
programmability_create_sequenceProgrammability Create SequenceC
Create a sequence. https://docs.snowflake.com/en/sql-reference/sql/create-sequence
Inputs: sequence_name (required), start, database, increment, +2 more. Returns: object
programmability_describe_api_integrationProgrammability Describe Api IntegrationCRead-onlyIdempotent
Describe an API integration. https://docs.snowflake.com/en/sql-reference/sql/desc-integration
Inputs: integration_name (required). Returns: object
programmability_describe_artifact_repositoryProgrammability Describe Artifact RepositoryCRead-onlyIdempotent
Describe an artifact repository. https://docs.snowflake.com/en/sql-reference/sql/desc-artifact-repository
Inputs: repository_name (required), database, schema_name. Returns: object
programmability_describe_functionProgrammability Describe FunctionBRead-onlyIdempotent
Describe UDF function signature, return type, language, and body.
Inputs: function_signature (required), database, schema_name. Returns: object
programmability_describe_procedureProgrammability Describe ProcedureARead-onlyIdempotent
Describe procedure signature, return type, language, and definition body.
Inputs: procedure_signature (required), database, schema_name. Returns: object
programmability_describe_secretProgrammability Describe SecretARead-onlyIdempotent
Describe secret metadata, type (GENERIC_STRING, OAUTH2), and owner without exposing secret value.
Inputs: secret_name (required), database, schema_name. Returns: object
programmability_drop_artifact_repositoryProgrammability Drop Artifact RepositoryADestructive
Drop an artifact repository. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-artifact-repository
Inputs: repository_name (required), confirm, database, schema_name. Returns: object
programmability_drop_functionProgrammability Drop FunctionBDestructive
Drop a function. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-function
Inputs: function_signature (required), confirm, database, schema_name. Returns: object
programmability_drop_sequenceProgrammability Drop SequenceBDestructive
Drop a sequence. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-sequence
Inputs: sequence_name (required), confirm, database, schema_name. Returns: object
programmability_execute_code_bundleProgrammability Execute Code BundleCDestructive
Preview: Execute a code bundle. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/execute-code-bundle
Inputs: entrypoint (required), bundle_name (required), confirm, database, +1 more. Returns: object
programmability_get_code_bundle_executionProgrammability Get Code Bundle ExecutionBRead-onlyIdempotent
Preview: Get one code bundle execution. https://docs.snowflake.com/en/developer-guide/code-bundles/code-bundles
Inputs: execution_id (required). Returns: object
programmability_invoke_functionProgrammability Invoke FunctionARead-onlyIdempotent
Call a function with literal arguments. External functions and UDFs with external access can reach outside services. https://docs.snowflake.com/en/sql-reference/sql/create-function
Inputs: function_signature (required), database, arguments, schema_name. Returns: object
programmability_list_artifact_repositoriesProgrammability List Artifact RepositoriesBRead-onlyIdempotent
List artifact repositories. https://docs.snowflake.com/en/sql-reference/sql/show-artifact-repositories Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
programmability_list_code_bundle_executionsProgrammability List Code Bundle ExecutionsCRead-onlyIdempotent
Preview: List code bundle executions. https://docs.snowflake.com/en/developer-guide/code-bundles/code-bundles
Inputs: status, database, bundle_name, schema_name, +1 more. Returns: object
programmability_list_code_bundlesProgrammability List Code BundlesBRead-onlyIdempotent
Preview: List code bundles. https://docs.snowflake.com/en/sql-reference/sql/show-code-bundles Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: database, schema_name. Returns: object
programmability_list_event_tablesProgrammability List Event TablesBRead-onlyIdempotent
List event tables used for application logging, tracing, and SPCS telemetry. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
programmability_list_functionsProgrammability List FunctionsBRead-onlyIdempotent
List user-defined functions (UDFs) in a database or schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
programmability_list_integrationsProgrammability List IntegrationsBRead-onlyIdempotent
List external integrations (API, Storage, Notification, Security integrations). Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, integration_type. Returns: object
programmability_list_notification_integrationsProgrammability List Notification IntegrationsCRead-onlyIdempotent
List notification integrations configured for alerts, tasks, and cloud messaging (SNS, PubSub, Webhooks). Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
programmability_list_proceduresProgrammability List ProceduresCRead-onlyIdempotent
List stored procedures in a database or schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
programmability_list_secretsProgrammability List SecretsBRead-onlyIdempotent
List security secrets (API keys, OAuth credentials) stored in Snowflake. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
programmability_list_sequencesProgrammability List SequencesBRead-onlyIdempotent
List auto-increment sequences in a database or schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
queries_begin_transactionQueries Begin TransactionAIdempotent
Begin an explicit transaction on the active session.
Inputs: no named parameters. Returns: object
queries_cancel_queryQueries Cancel QueryADestructive
Cancel an active running Snowflake query by its Query ID. Requires confirmation.
Inputs: query_id (required), confirm. Returns: object
queries_commit_transactionQueries Commit TransactionAIdempotent
Commit the current active transaction on the session.
Inputs: no named parameters. Returns: object
queries_execute_dmlQueries Execute DmlBDestructive
Execute a data modification SQL statement (INSERT, UPDATE, DELETE, MERGE, CREATE). Requires confirmation.
Inputs: statement (required), confirm. Returns: object
queries_get_query_historyQueries Get Query HistoryBRead-onlyIdempotent
Retrieve recent query execution history for the current account/user.
Inputs: limit. Returns: object
queries_get_query_operator_statsQueries Get Query Operator StatsBRead-onlyIdempotent
Retrieve operator-level execution statistics and profiling data for a past Query ID.
Inputs: query_id (required). Returns: object
queries_get_query_planQueries Get Query PlanARead-onlyIdempotent
Generate the EXPLAIN execution plan for a SQL query without executing it.
Inputs: query (required). Returns: object
queries_queryQueries QueryBRead-onlyIdempotent
Execute a SQL SELECT or read-only query on Snowflake and return structured rows with metadata.
Inputs: query (required), max_rows. Returns: object
queries_rollback_transactionQueries Rollback TransactionADestructive
Rollback the current active transaction on the session. Requires confirmation.
Inputs: confirm. Returns: object
recipes_account_usage_summaryRecipes Account Usage SummaryARead-onlyIdempotent
Composite recipe: Summary of warehouse compute credits and storage consumption over the past 7 days.
Inputs: no named parameters. Returns: object
recipes_clone_table_recipeRecipes Clone Table RecipeA
Composite recipe: Clone table with Time Travel timestamp or statement ID in 1 call.
Inputs: source_table (required), target_table (required), at_or_before. Returns: object
recipes_discover_schema_lineageRecipes Discover Schema LineageBRead-onlyIdempotent
Composite recipe: Discover all tables and views in a schema along with their column definitions.
Inputs: database, schema_name. Returns: object
recipes_export_query_to_stageRecipes Export Query To StageC
Composite recipe: Unload query results to a stage as Parquet or CSV files.
Inputs: query (required), stage_location (required), header, file_format. Returns: object
recipes_health_checkRecipes Health CheckARead-onlyIdempotent
Composite recipe: Run health check on connection, active session, warehouse state, and credit consumption.
Inputs: no named parameters. Returns: object
recipes_inspect_table_with_sampleRecipes Inspect Table With SampleBRead-onlyIdempotent
Composite recipe: Describe table schema, row count, column types, and preview sample rows in 1 call.
Inputs: table_name (required), database, sample_rows, schema_name. Returns: object
recipes_profile_tableRecipes Profile TableBRead-onlyIdempotent
Composite recipe: Profile table metadata, row count, and column inventory.
Inputs: table_name (required), database, schema_name. Returns: object
recipes_warehouse_scale_and_executeRecipes Warehouse Scale And ExecuteBDestructive
Composite recipe: Safely scale up a warehouse, run a heavy query, and optionally restore previous size. Requires confirmation.
Inputs: query (required), target_size (required), warehouse_name (required), confirm, +1 more. Returns: object
schemas_clone_schemaSchemas Clone SchemaB
Create a zero-copy clone of a schema.
Inputs: source_schema (required), target_schema (required), database. Returns: object
schemas_create_schemaSchemas Create SchemaC
Create a new schema inside a specified database.
Inputs: name (required), comment, database, if_not_exists. Returns: object
schemas_describe_schemaSchemas Describe SchemaARead-onlyIdempotent
Describe schema properties, owner, and retention settings.
Inputs: schema_name (required), database. Returns: object
schemas_drop_schemaSchemas Drop SchemaBDestructive
Drop a schema in Snowflake. Requires confirmation flag.
Inputs: name (required), confirm, database. Returns: object
schemas_list_schemasSchemas List SchemasBRead-onlyIdempotent
List all schemas within a specific database or the current active database. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database. Returns: object
schemas_undrop_schemaSchemas Undrop SchemaB
Restore a recently dropped schema using Time Travel.
Inputs: name (required), database. Returns: object
stages_create_stageStages Create StageC
Create an internal named stage in Snowflake.
Inputs: stage_name (required), comment, database, schema_name, +1 more. Returns: object
stages_describe_stageStages Describe StageBRead-onlyIdempotent
Describe stage location URL, storage integration, and file format properties.
Inputs: stage_name (required), database, schema_name. Returns: object
stages_drop_stageStages Drop StageADestructive
Drop a stage in Snowflake. Requires confirmation.
Inputs: stage_name (required), confirm, database, schema_name. Returns: object
stages_get_presigned_urlStages Get Presigned UrlBRead-onlyIdempotent
Get a presigned URL for a staged file. Anyone who holds the URL can use it until it expires. https://docs.snowflake.com/en/sql-reference/functions/get_presigned_url
Inputs: stage_name (required), relative_path (required), database, schema_name, +1 more. Returns: object
stages_list_stage_filesStages List Stage FilesBRead-onlyIdempotent
List files inside a Snowflake stage location (e.g. '@MY_STAGE/path/').
Inputs: stage_location (required), pattern. Returns: object
stages_list_stagesStages List StagesBRead-onlyIdempotent
List internal and external stages available in the active database or schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
stages_remove_stage_fileStages Remove Stage FileBDestructive
Remove a file from a stage location. Requires confirmation.
Inputs: stage_file_path (required), confirm. Returns: object
streams_create_streamStreams Create StreamC
Create a CDC stream on a table or view.
Inputs: on_table (required), stream_name (required), database, append_only, +2 more. Returns: object
streams_describe_streamStreams Describe StreamARead-onlyIdempotent
Describe stream metadata, source table, and stale status.
Inputs: stream_name (required), database, schema_name. Returns: object
streams_drop_streamStreams Drop StreamBDestructive
Drop a stream. Requires confirmation.
Inputs: stream_name (required), confirm, database, schema_name. Returns: object
streams_list_streamsStreams List StreamsBRead-onlyIdempotent
List table/view streams in a database or schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
streams_read_stream_changesStreams Read Stream ChangesBRead-onlyIdempotent
Query unconsumed CDC changes recorded in a stream (default 10 rows).
Inputs: stream_name (required), limit. Returns: object
tables_clone_tableTables Clone TableB
Create a zero-copy clone of an existing table.
Inputs: source_table (required), target_table (required). Returns: object
tables_create_tableTables Create TableC
Create a table in Snowflake with specified column definitions SQL.
Inputs: table_name (required), columns_sql (required), database, schema_name, +1 more. Returns: object
tables_create_viewTables Create ViewBDestructive
Create a view. The AS query must be read-only SQL. Requires confirmation, since or_replace replaces an existing view. https://docs.snowflake.com/en/sql-reference/sql/create-view
Inputs: query (required), view_name (required), secure, confirm, +3 more. Returns: object
tables_describe_tableTables Describe TableBRead-onlyIdempotent
Describe column definitions, data types, nullability, and primary keys for a table or view.
Inputs: table_name (required), database, schema_name. Returns: object
tables_describe_viewTables Describe ViewCRead-onlyIdempotent
Describe a view. https://docs.snowflake.com/en/sql-reference/sql/desc-view
Inputs: view_name (required), database, schema_name. Returns: object
tables_drop_tableTables Drop TableBDestructive
Drop a table in Snowflake. Requires confirmation flag.
Inputs: table_name (required), confirm. Returns: object
tables_drop_viewTables Drop ViewBDestructive
Drop a view. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/drop-view
Inputs: view_name (required), confirm, database, schema_name. Returns: object
tables_get_table_ddlTables Get Table DdlBRead-onlyIdempotent
Retrieve the exact CREATE OR REPLACE TABLE/VIEW DDL definition for an object.
Inputs: object_name (required), object_type. Returns: object
tables_list_tablesTables List TablesBRead-onlyIdempotent
List tables in a database schema with row counts and bytes. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
tables_list_viewsTables List ViewsBRead-onlyIdempotent
List views in a database schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
tables_sample_tableTables Sample TableCRead-onlyIdempotent
Preview sample rows from a table (default 10 rows).
Inputs: table_name (required), sample_size. Returns: object
tables_truncate_tableTables Truncate TableADestructive
Truncate all data rows from a table while preserving schema. Requires confirmation.
Inputs: table_name (required), confirm. Returns: object
tables_undrop_tableTables Undrop TableA
Restore a recently dropped table using Time Travel.
Inputs: table_name (required). Returns: object
tags_describe_tagTags Describe TagARead-onlyIdempotent
Describe tag properties, allowed values, and comment. A name in double quotes, such as a list row's quoted_name, must match exactly.
Inputs: tag_name (required), database, schema_name. Returns: object
tags_get_object_tag_referencesTags Get Object Tag ReferencesBRead-onlyIdempotent
Get tag key/value assignments on a specific database object.
Inputs: object_name (required), object_domain. Returns: object
tags_list_tag_assignmentsTags List Tag AssignmentsARead-onlyIdempotent
List objects assigned a tag from ACCOUNT_USAGE.TAG_REFERENCES. Account Usage can lag the live account. https://docs.snowflake.com/en/sql-reference/account-usage/tag_references
Inputs: tag_name (required), tag_schema (required), tag_database (required). Returns: object
tags_list_tagsTags List TagsBRead-onlyIdempotent
List object tags defined in a database or schema. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
tags_set_object_tagTags Set Object TagCIdempotent
Set or assign a tag value on a Snowflake object. https://docs.snowflake.com/en/sql-reference/sql/alter-tag
Inputs: tag_name (required), tag_value (required), object_name (required), object_domain. Returns: object
tags_unset_object_tagTags Unset Object TagBIdempotent
Remove a tag from a Snowflake object. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/alter-tag
Inputs: tag_name (required), object_name (required), confirm, object_domain. Returns: object
tasks_create_taskTasks Create TaskA
Create a task. schedule is optional and is omitted from CREATE TASK when unset. EXECUTE TASK runs a standalone or root task once; it does not run a child task. A child runs after its predecessors (AFTER), a finalizer runs with FINALIZE, and a triggered task uses WHEN (for example SYSTEM$STREAM_HAS_DATA) with no schedule. This tool sets only an optional SCHEDULE; it does not set AFTER, FINALIZE, or WHEN. Resuming fails unless the task has a SCHEDULE, AFTER, FINALIZE, or WHEN trigger.
Inputs: task_name (required), sql_statement (required), database, schedule, +3 more. Returns: object
tasks_describe_taskTasks Describe TaskARead-onlyIdempotent
Describe task definition, schedule, warehouse, and definition SQL.
Inputs: task_name (required), database, schema_name. Returns: object
tasks_drop_taskTasks Drop TaskADestructive
Drop a task in Snowflake. Requires confirmation.
Inputs: task_name (required), confirm, database, schema_name. Returns: object
tasks_execute_taskTasks Execute TaskBDestructive
Trigger an immediate one-time execution of a task. Requires confirmation.
Inputs: task_name (required), confirm, database, schema_name. Returns: object
tasks_list_complete_task_graphsTasks List Complete Task GraphsCRead-onlyIdempotent
List completed task graph runs. https://docs.snowflake.com/en/sql-reference/functions/complete_task_graphs
Inputs: error_only, result_limit, root_task_name. Returns: object
tasks_list_current_task_graphsTasks List Current Task GraphsCRead-onlyIdempotent
List current task graph runs. https://docs.snowflake.com/en/sql-reference/functions/current_task_graphs
Inputs: result_limit, root_task_name. Returns: object
tasks_list_task_dependentsTasks List Task DependentsCRead-onlyIdempotent
List task dependents. https://docs.snowflake.com/en/sql-reference/functions/task_dependents
Inputs: database (required), task_name (required), recursive. Returns: object
tasks_list_tasksTasks List TasksBRead-onlyIdempotent
List tasks in a database or schema with schedule, state, and predecessor info. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern, database, schema_name. Returns: object
tasks_resume_taskTasks Resume TaskAIdempotent
Resume a suspended task. Snowflake error 091453 means the task has no SCHEDULE, AFTER, FINALIZE, or WHEN trigger. A schedule-less task can still be run once with EXECUTE TASK.
Inputs: task_name (required), database, schema_name. Returns: object
tasks_suspend_taskTasks Suspend TaskBIdempotent
Suspend an active scheduled task.
Inputs: task_name (required), database, schema_name. Returns: object
warehouses_create_warehouseWarehouses Create WarehouseC
Create a new virtual warehouse in Snowflake.
Inputs: warehouse_name (required), comment, auto_resume, auto_suspend, +2 more. Returns: object
warehouses_describe_warehouseWarehouses Describe WarehouseARead-onlyIdempotent
Describe details and running state of a specific virtual warehouse. A name in double quotes, such as a list row's quoted_name, must match exactly.
Inputs: warehouse_name (required). Returns: object
warehouses_drop_warehouseWarehouses Drop WarehouseBDestructive
Drop a virtual warehouse. Requires confirmation.
Inputs: warehouse_name (required), confirm. Returns: object
warehouses_get_warehouse_load_historyWarehouses Get Warehouse Load HistoryCRead-onlyIdempotent
Get execution load, queuing, and provisioning history for a warehouse.
Inputs: warehouse_name (required). Returns: object
warehouses_list_warehousesWarehouses List WarehousesBRead-onlyIdempotent
List virtual warehouses in the account with size, state, and auto-suspend configurations. Each row also has quoted_name, the name in double quotes, and, when the row has a database and schema, quoted_qualified_name.
Inputs: pattern. Returns: object
warehouses_resize_warehouseWarehouses Resize WarehouseB
Change warehouse compute size (XSMALL, SMALL, MEDIUM, LARGE, XLARGE, 2XLARGE, etc.).
Inputs: size (required), warehouse_name (required). Returns: object
warehouses_resume_warehouseWarehouses Resume WarehouseBIdempotent
Resume a suspended virtual warehouse.
Inputs: warehouse_name (required). Returns: object
warehouses_suspend_warehouseWarehouses Suspend WarehouseAIdempotent
Suspend an active virtual warehouse to save compute costs.
Inputs: warehouse_name (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 245 tools
Domain prefixes help distinguish resources, but with 245 tools there are several near-duplicate surfaces: multiple Cortex completion APIs, several grant-listing variants, notebook projects versus code bundles, and recipes versus base tools. Descriptions clarify many cases, but an agent still faces meaningful selection ambiguity.
The set mostly follows a predictable domain_verb_noun snake_case pattern, such as tables_create_table, governance_list_roles, and warehouses_suspend_warehouse. A few exceptions like cortex_complete and recipes_health_check deviate slightly, but the convention is clear overall.
245 tools is far beyond a reasonable tool-call surface and constitutes an extreme mismatch for agent usability, even considering Snowflake's breadth. The catalog includes many niche, preview, and overlapping operations that make selection unwieldy.
Coverage is very broad across databases, schemas, tables, warehouses, tasks, streams, governance, Cortex, dynamic tables, and compute services. However, some object lifecycles lack direct alter/update tools, and several advanced areas are preview or partial, leaving minor gaps that can often be worked around via generic SQL execution.
Maintenance
Related MCP Connectors
Connect AI agents to 1000+ apps with managed authentication and tool-calling.
Connect your AI agent to 300+ methods and 100+ live tools
One place to build, share, and govern the skills and tools your AI agents use at work.
Connect AI agents to financial institution origination, analytics, and compliance workflows.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables intelligent data analysis and querying of Snowflake databases through specialized AI agents. Features 20+ tools for data operations, lineage tracing, usage analysis, and performance optimization with multi-agent architecture.-
- AlicenseAqualityNot gradedmaintenanceEnables AI assistants to securely connect to Snowflake data warehouses and execute SQL queries through natural language interactions. Supports multiple authentication methods and provides formatted query results with built-in security controls.12MIT
- AlicenseNot gradedqualityFmaintenanceEnables interaction with Snowflake through Cortex AI services including search, analyst, and agents for querying structured and unstructured data, plus SQL execution and object management capabilities.9,504 PyPI304Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform comprehensive Snowflake database operations including DDL, DML, and warehouse management. It allows users to query data, manage database objects, and configure permissions using natural language commands.MIT