Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

get_execution

Retrieve metadata or node-level results for a specific n8n execution by ID, with optional node filtering and output truncation to manage response size.

Instructions

Get information about a specific execution. By default returns metadata only. Use includeData=true for node-level results, with optional filtering via nodeNames and truncateData to manage response size.

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": "get_execution"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesExecution ID
nodeNamesNoWhen includeData is true, only return data for these specific node names
includeDataNoInclude full execution data with node-level results (default false)
truncateDataNoWhen includeData is true, limit to 5 items per node output to prevent context overflow

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries full behavioral burden. It usefully discloses the default metadata-only response and that truncateData limits output to prevent context overflow, but it does not mention read-only status, permission requirements, error behavior, or other operational constraints.

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 main operation and then the key optional behavior. Every phrase contributes directly to understanding the call without unnecessary wording.

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 four-parameter retrieval tool with no output schema and no annotations, the description covers the essential default behavior and the main data-inclusion option. It leaves some return-value detail and sibling routing implicit, but gives enough to call the tool correctly.

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%, so all four parameters are already documented in the schema. The description reinforces the relationship between includeData, nodeNames, and truncateData, but it largely repeats the schema descriptions rather than adding substantial new meaning.

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: 'Get information about a specific execution.' It distinguishes the singular retrieval from list-oriented siblings by emphasizing a specific execution, but it does not explicitly name or contrast with alternatives such as list_executions.

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?

It clearly explains the default mode and when to use includeData=true for node-level results, plus optional narrowing with nodeNames and truncateData. It does not state when not to use the tool or explicitly point to alternative tools for discovering execution IDs.

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