Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

delete_data_table_rows

Delete rows from a data table by matching filter conditions, with an optional dry run to preview affected rows before removal.

Instructions

Delete rows matching filter conditions from a data table.

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": {
      "dataTableId": "<dataTableId>",
      "filter": "<filter>"
    },
    "name": "delete_data_table_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoPreview which rows would be deleted without deleting (default false)
filterYesJSON string of filter conditions (required to prevent accidental deletion of all data)
returnDataNoReturn the deleted rows (default false)
dataTableIdYesData table ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and discloses almost nothing: it doesn't state that the operation is irreversible, that filter is mandatory to prevent wiping all rows (that detail lives only in the schema), or that dryRun exists as a safe preview. For a destructive tool with zero annotation coverage, that is a significant omission.

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 filler or redundancy, so nothing needs trimming. The trade-off is that brevity here reflects under-specification rather than disciplined economy.

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

Completeness2/5

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

For a four-parameter destructive row-deletion tool with no annotations and no output schema, the description should at minimum flag irreversibility and point at dryRun as the safeguard. Neither is present, leaving the agent dependent entirely on schema descriptions.

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 100%, so dryRun, returnData, dataTableId and filter are each documented in the schema, including the rationale for the required filter. The description adds only the phrase 'matching filter conditions', which restates the schema rather than adding syntax or format guidance. Baseline 3 applies.

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 (Delete) and resource (rows in a data table) and scopes it to 'matching filter conditions', which distinguishes it from delete_data_table (whole table) and from insert/update/upsert data table rows. It stops short of naming those siblings explicitly, so an agent must infer the boundary from the verb.

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 description offers no when-to-use guidance: it doesn't say to prefer delete_data_table for removing an entire table, doesn't explain when dryRun preview should be used, and doesn't mention prerequisites such as table existence or permissions. Everything about call strategy has to be inferred.

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