Skip to main content
Glama
sfc-gh-tjia

Snowflake MCP Server

by sfc-gh-tjia

execute_snowflake_sql_query

Execute SQL queries on Snowflake data warehouses to retrieve, analyze, or modify data. Supports custom database, schema, and warehouse configurations for targeted operations.

Instructions

Execute any SQL query on Snowflake.

⚠️  SECURITY WARNING: This tool executes raw SQL queries on your Snowflake instance.
Ensure proper user permissions and network security. Consider query restrictions
for production environments.

Args:
    query: The SQL query to execute (required)
    database: Override the default database (optional)
    schema: Override the default schema (optional)
    warehouse: Override the default warehouse (optional)

Returns:
    Formatted string containing query results or error message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
databaseNo
schemaNo
warehouseNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively warns about security risks, permissions, and network considerations, and mentions that it returns formatted results or error messages. However, it lacks details on rate limits, query execution limits, or specific error handling, which holds it back from a perfect score.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear purpose statement, security warning, and parameter/return sections. It is appropriately sized and front-loaded, but the security warning could be more concise, and some sentences are slightly verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of executing SQL queries and the lack of annotations, the description does a good job covering purpose, security, parameters, and returns. With an output schema present, it doesn't need to detail return values, but it could benefit from more context on error scenarios or performance implications.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 0%, so the description must compensate. It lists all four parameters with brief explanations (e.g., 'override the default'), adding meaningful context beyond the schema. However, it does not provide examples or detailed constraints, such as valid formats for database names, preventing a score of 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose as 'Execute any SQL query on Snowflake,' which specifies the verb (execute) and resource (SQL query on Snowflake). However, since there are no sibling tools, it cannot differentiate from alternatives, preventing a score of 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes a security warning that implies usage in secure contexts and suggests considering restrictions for production, but it does not explicitly state when to use this tool versus alternatives or provide clear exclusions. The guidance is implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sfc-gh-tjia/snowflake-generic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server