Skip to main content
Glama

Snowflake Truncate Table

snowflake_truncate_table
Destructive

Remove all rows from a table while preserving its schema; requires confirmation before execution.

Instructions

Truncate all data rows from a table while preserving schema. Requires confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
table_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.2.0
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / confirm / title
      Removed value: -"Confirm"
    • removedInput schema / properties / table_name / title
      Removed value: -"Table Name"
    • removedInput schema / title
      Removed value: -"snowflake_truncate_tableArguments"
    • removedOutput schema / title
      Removed value: -"snowflake_truncate_tableDictOutput"
  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 and openWorldHint=true, so the safety profile is known. The description adds useful context (schema is preserved, confirmation is required), but says nothing about irreversibility, whether the truncate can be undone, or privilege requirements — meaningful gaps for a destructive tool.

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?

Two short sentences, no filler, with the effect and the confirmation requirement front-loaded. Slightly under-specified rather than padded, so it is efficient but leaves the reader without operational detail.

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-value description is not needed, and annotations cover the destructive nature. However, the description omits irreversibility, recovery options, and the exact semantics of the confirm flag — gaps an agent risks getting wrong on a data-destroying call.

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 coverage is 0% for two parameters, so the description must compensate. 'Requires confirmation' hints at the confirm boolean but never states that it must be set true for the operation to proceed, and table_name gets no guidance on qualification (database.schema.table) despite additionalProperties=false.

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 (truncate) and resource (table) plus the key differentiator — 'all data rows' removed while 'preserving schema' — which implicitly separates it from snowflake_drop_table. It does not name a sibling explicitly, so it falls just short of a 5.

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?

The only guidance is 'Requires confirmation,' which describes a precondition rather than when to choose this tool over snowflake_drop_table or snowflake_execute_dml. No when-not-to-use or alternative routing is given for a highly destructive operation.

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