Skip to main content
Glama
MCP Snowflake Server NSP

MCP Snowflake Server NSP

by nsphung

read_query

Executes SELECT SQL queries and truncates large results; use LIMIT, WHERE, or fewer columns to prevent truncation.

Instructions

Execute a SELECT query. Large results are truncated (see truncated/notice); use LIMIT, WHERE or fewer columns.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "read_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSELECT SQL query to execute

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.14.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one meaningful behavior beyond the schema: large results are truncated and surfaced via `truncated`/`notice` fields. It does not say whether non-SELECT statements are rejected, what dialect of SQL is accepted, or how errors are reported, leaving real gaps for a mutation-capable-looking SQL entry point.

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

Conciseness5/5

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

Two short sentences, front-loaded with the core action and immediately followed by the practical constraint. Every clause earns its place.

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?

For a single-parameter read tool with no output schema, the definition covers the essentials and usefully names the truncation markers the agent will see in the response. It stops short of covering SQL dialect, error behavior, or row/timeout limits, which would matter for writing a correct query.

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

Parameters3/5

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

Only one parameter with 100% schema description coverage, so the schema already fully documents `query`. The description restates "SELECT SQL query" and adds no syntax, dialect, or formatting detail beyond what the schema provides.

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?

"Execute a SELECT query" gives a specific verb and resource, and the word SELECT makes it clearly the data-retrieval tool versus siblings like list_tables or describe_table. It does not explicitly name a sibling, so the differentiation is implicit rather than stated.

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?

Usage is implied by "SELECT query" and the advice to constrain results with LIMIT/WHERE, but there is no explicit when-to-use vs when-not guidance or reference to the sibling schema-introspection tools that would often precede a query.

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