Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by r-ms

n8n_get_execution

Retrieve detailed execution traces with node status, item counts, errors, and durations, then match errors to fix suggestions and run diagnostics on failed workflows.

Instructions

Get detailed execution trace — shows each node's status, item count, errors, and duration. Auto-matches errors against knowhow database for fix suggestions. On failed executions, also runs pre-flight diagnostics on the workflow.

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>"
    },
    "name": "n8n_get_execution"
  }
}

Input Schema

NameRequiredDescriptionDefault
verboseNoShow full node output data — up to 5000 chars per node instead of 500 (default: false)
executionIdYesExecution ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the per-node fields returned, that errors are auto-matched against a knowhow database, and that failed executions trigger pre-flight diagnostics. The only gap is that it never states this is a read-only operation or whether the diagnostics incur cost/delay.

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 tight sentences, front-loaded with the core purpose and return contents before the conditional behaviors. Every clause conveys information an agent would not otherwise have.

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 read tool with no output schema, the description adequately covers what is returned and the conditional side behaviors. Only minor gaps remain around read-only status and any latency or permission implications of the diagnostics step.

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%, with the verbose flag fully documented including its 500 vs 5000 char tradeoff, so the schema does the heavy lifting. The description adds no additional parameter meaning, making the baseline 3 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 names a specific verb and resource ('Get detailed execution trace') and enumerates the returned contents (node status, item count, errors, duration), which clearly separates it from n8n_list_executions. It stops short of explicitly naming the list tool as its discovery counterpart, so an agent must infer that routing.

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?

Usage is implied by 'detailed execution trace' and the note about failed executions, which gives context for when the diagnostics and knowhow matching kick in. There is no explicit when-to-use or when-not-to-use guidance, and no statement that an execution ID must first be obtained from n8n_list_executions.

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