Skip to main content
Glama
tcs-n8n-mcp
by ntatschner

delete_execution

Destructive

Permanently deletes an n8n execution record by numeric ID after explicit confirmation, helping remove obsolete run history.

Instructions

Permanently delete an n8n execution record. Requires explicit confirmation.

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": {
      "executionId": "<executionId>",
      "confirm": "<confirm>"
    },
    "name": "delete_execution"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYes
executionIdYesNumeric n8n execution ID

Output Schema

NameRequiredDescriptionDefault
idYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is largely covered. The description adds that deletion is permanent and gated on confirmation, but says nothing about failure behavior (nonexistent ID), permission requirements, or downstream effects.

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?

Two sentences, front-loaded with the destructive verb and the resource, with zero filler. Nothing needs trimming or reordering.

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 two-parameter destructive tool with an output schema and strong annotations, the description covers what the tool does, that it is irreversible, and that confirmation is mandatory. A note on behavior when the execution does not exist would make it fully complete.

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 50%: executionId is documented in the schema, while confirm is only typed as const true. The description's 'requires explicit confirmation' adds the intent behind the confirm flag, but gives no format or value detail beyond what the schema enforces.

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 states a specific verb and resource ('Permanently delete an n8n execution record'), which clearly separates it from read siblings like get_execution and list_executions. It stops short of naming any alternative, but the operation itself is unambiguous.

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?

'Requires explicit confirmation' implies a precondition for calling, but there is no guidance on when to delete versus when another route (e.g., pruning via retention settings or listing first) is appropriate.

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