Skip to main content
Server path: /snowflake | Type: Application | PCID required: Yes SQL queries, warehouses, and databases

Tools

ToolDescription
snowflake_execute_statementExecute a SQL statement in Snowflake and return results
snowflake_check_statement_statusCheck the status of a previously submitted SQL statement
snowflake_cancel_statementCancel the execution of a running SQL statement
snowflake_list_databasesList all databases available in the Snowflake account
snowflake_list_schemasList all schemas in a database or current database
snowflake_list_tablesList all tables in a schema, database, or current context
snowflake_describe_tableGet detailed information about a table including columns, data types, and constraints
snowflake_get_table_ddlGet the DDL (Data Definition Language) statement for creating a table
snowflake_get_warehouse_statusGet the status of warehouses (running, suspended, etc.)
snowflake_start_warehouseStart a suspended warehouse
snowflake_stop_warehouseStop/suspend a running warehouse
snowflake_get_session_infoGet current session information including user, role, warehouse, database, and schema
snowflake_get_query_historyGet query execution history with optional filters
snowflake_get_usersGet a list of users in the Snowflake account

snowflake_execute_statement

Execute a SQL statement in Snowflake and return results Parameters:
ParameterTypeRequiredDefaultDescription
statementstringYesSQL statement to execute
timeoutnumberNoExecution timeout in seconds (default: 60)
bindingsobjectNoParameter bindings for the SQL statement
databasestringNoDatabase context for the statement
schemastringNoSchema context for the statement
warehousestringNoWarehouse context for the statement
rolestringNo"ACCOUNTADMIN"Role context for the statement, defaults to ACCOUNTADMIN
requestIdstringNoOptional request ID for tracking

snowflake_check_statement_status

Check the status of a previously submitted SQL statement Parameters:
ParameterTypeRequiredDefaultDescription
statementHandlestringYesStatement handle returned from execute_statement
requestIdstringNoOptional request ID for tracking

snowflake_cancel_statement

Cancel the execution of a running SQL statement Parameters:
ParameterTypeRequiredDefaultDescription
statementHandlestringYesStatement handle of the statement to cancel
requestIdstringNoOptional request ID for tracking

snowflake_list_databases

List all databases available in the Snowflake account

snowflake_list_schemas

List all schemas in a database or current database Parameters:
ParameterTypeRequiredDefaultDescription
databasestringNoDatabase name to list schemas from (defaults to current database)

snowflake_list_tables

List all tables in a schema, database, or current context Parameters:
ParameterTypeRequiredDefaultDescription
databasestringNoDatabase name (defaults to current database)
schemastringNoSchema name (defaults to current schema)

snowflake_describe_table

Get detailed information about a table including columns, data types, and constraints Parameters:
ParameterTypeRequiredDefaultDescription
tableNamestringYesName of the table to describe
databasestringYesDatabase name
schemastringYesSchema name

snowflake_get_table_ddl

Get the DDL (Data Definition Language) statement for creating a table Parameters:
ParameterTypeRequiredDefaultDescription
tableNamestringYesName of the table to get DDL for
databasestringNoDatabase name (defaults to current database)
schemastringNoSchema name (defaults to current schema)

snowflake_get_warehouse_status

Get the status of warehouses (running, suspended, etc.) Parameters:
ParameterTypeRequiredDefaultDescription
warehouseNamestringNoSpecific warehouse name (defaults to all warehouses)

snowflake_start_warehouse

Start a suspended warehouse Parameters:
ParameterTypeRequiredDefaultDescription
warehouseNamestringYesName of the warehouse to start

snowflake_stop_warehouse

Stop/suspend a running warehouse Parameters:
ParameterTypeRequiredDefaultDescription
warehouseNamestringYesName of the warehouse to stop

snowflake_get_session_info

Get current session information including user, role, warehouse, database, and schema

snowflake_get_query_history

Get query execution history with optional filters Parameters:
ParameterTypeRequiredDefaultDescription
limitnumberNoMaximum number of queries to return (default: 100)
startTimestringNoStart time for query history (ISO format)
endTimestringNoEnd time for query history (ISO format)

snowflake_get_users

Get a list of users in the Snowflake account