Skip to main content
Glama

Delete a table

delete_table
Destructive

Permanently deletes a table, its rows, and paused or draft sequences; deletion is refused while any sequence is active, so pause sequences first and confirm with the user.

Instructions

Permanently delete a table with all its rows and its paused or draft sequences. Refused while one of its sequences is active (pause it first). Confirm with the user before deleting.

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": {
      "table_id": "<table_id>"
    },
    "name": "delete_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
table_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, and the description goes well beyond that: it specifies exactly what is destroyed (rows plus paused/draft sequences), what is preserved (active sequences block the call), and the refusal behavior. The user-confirmation instruction is real operational guidance not present in the structured fields.

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?

Three sentences, each load-bearing: scope of deletion, blocking precondition, and safety instruction. Front-loaded with the destruction scope, which is the most decision-relevant fact.

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?

Covers cascade effects, a precondition, and a safety check for a destructive single-parameter tool with no output schema. It stops short of stating irreversibility or authorization requirements, but nothing essential for correct invocation is missing.

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%, so the description carries the burden for table_id, and it only refers to 'a table' without stating the identifier format. However, with a single self-evidently named required ID parameter, the practical ambiguity is low, so a middle score is fair.

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

Purpose5/5

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

States a specific verb and resource plus the cascade scope: 'Permanently delete a table with all its rows and its paused or draft sequences.' That scope language cleanly separates it from delete_rows and delete_sequence among the siblings.

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

Usage Guidelines4/5

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

Gives a concrete precondition -- 'Refused while one of its sequences is active (pause it first)' -- which effectively routes the agent to pause_sequence first, plus a confirmation requirement before acting. It does not name sibling alternatives explicitly, but the blocking condition is unambiguous.

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