Skip to main content
Glama

Snowflake Cancel Query

snowflake_cancel_query
Destructive

Cancel an active Snowflake query by its Query ID to stop long-running or unwanted operations.

Instructions

Cancel an active running Snowflake query by its Query ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
query_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.2.0
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / query_id / title
      Removed value: -"Query Id"
    • removedInput schema / title
      Removed value: -"snowflake_cancel_queryArguments"
    • removedOutput schema / title
      Removed value: -"snowflake_cancel_queryDictOutput"
  2. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the agent knows this is a mutating operation. The description's only added behavioral fact is that the target must be actively running, but it omits permission requirements, idempotence, and what happens if the query already completed.

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?

A single front-loaded sentence with no wasted words. Brevity is achieved at the cost of some precision, but nothing is redundant.

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

Completeness3/5

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

An output schema exists, so return values need not be explained. However, for a destructive, open-world operation the description leaves gaps: how to discover the Query ID, required privileges, and behavior on a non-running 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?

Schema description coverage is 0%, so the description carries the burden. It identifies the single parameter's meaning (Query ID) and that it selects the query to cancel, but gives no format, case, or source for the identifier.

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?

States a specific verb (Cancel) and resource (Snowflake query), plus the scoping qualifier 'active running' and the identifying key (Query ID). No sibling in the list performs cancellation, so differentiation is implicit rather than explicitly named.

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

Usage Guidelines2/5

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

There is no guidance on when to reach for this tool versus letting a query run, nor on where to obtain a Query ID (e.g., from snowflake_get_query_history). The 'active running' qualifier hints at a precondition but is not framed as usage guidance.

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

Deploy Server

Other Tools