Skip to main content
Glama

Delete a dataset

delete_dataset
Destructive

Permanently deletes a dataset and all its rows. Refuses if any view still reads it, unless force=true. Only do this when the user asked for it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe dataset to delete.
forceNoDelete even though views still read it. Only when the user confirmed.
reasonYesWhy it is deleted, for the changelog.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered; the description adds the non-obvious behavior that the call is blocked by dependent views and that force overrides that block. It does not discuss permissions or whether any undo/recovery path exists, which would round it out.

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 short sentences, zero filler, with the destructive permanence front-loaded ahead of the guard condition and the user-confirmation gate. Every sentence 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 3-parameter destructive tool with no output schema and full annotation coverage, the description covers the essentials: irreversibility, cascade to rows, the view-dependency guard, and the force escape hatch. Minor gap is the absence of any note on required authorization level or post-delete state.

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?

Schema coverage is 100%, so baseline is 3, but the description adds the causal relationship for force (it is only meaningful when a view still reads the dataset) that the schema's per-parameter text does not spell out. The reason parameter's changelog role is left to the schema.

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 ("Permanently deletes a dataset") plus the cascade scope ("and all its rows"), which cleanly separates it from delete_rows and delete_view among the siblings. An agent can identify the operation without opening the schema.

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 explicit conditions: refuses when views still read the dataset unless force=true, and a clear gate ("Only do this when the user asked for it"). It stops short of naming the alternative sibling tools (e.g. delete_rows) that an agent might reach for instead, so routing is implied rather than enumerated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.