Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

delete_data_table

Permanently removes a data table and all of its rows by table ID, clearing outdated or unneeded structured data from your n8n instance.

Instructions

Delete a data table and all its rows.

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": {
      "id": "<id>"
    },
    "name": "delete_data_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesData table ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose one important behavior beyond the name: the operation cascades to all rows in the table. It says nothing about irreversibility, whether the table must be empty or is force-deleted with its rows, permission requirements, or failure modes.

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?

One short sentence with the destructive scope front-loaded and no wasted wording. It is arguably too terse rather than bloated, which is the only reason it is not a clean 5.

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 destructive tool with no output schema and no annotations, the definition covers the essential facts: what is deleted and that child rows go with it. The remaining gap is the absence of any note on irreversibility or required authorization, which matters more here because no annotations supply that safety profile.

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 100% and the single `id` parameter is fully described as the data table ID to delete, so the schema does the work. The description adds no syntax, format, or sourcing guidance beyond what the schema already states; a 3 baseline is appropriate.

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?

The description uses a specific verb and resource ("Delete a data table") and adds scope ("and all its rows"), which implicitly separates it from the row-level sibling delete_data_table_rows. It stops short of naming that sibling explicitly, so the differentiation is inferred 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?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of prerequisites such as permissions or confirmation. The clause "and all its rows" implies this is the bulk/whole-table variant rather than a row-level delete, but the agent must infer that contrast rather than being routed to it.

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