Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by Jaskey15

get_executions

Retrieve recent execution history for a workflow, including status, timestamps, and error messages, to monitor runs and diagnose failures.

Instructions

Get recent execution history for a workflow. Returns execution status, timestamps, and error messages if any.

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": {
      "workflow_id": "<workflow_id>"
    },
    "name": "get_executions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of executions to return (default: 10, max: 100)
workflow_idYesThe ID of the workflow to get executions for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the full burden of disclosure. It does say the call is read-oriented and names what is returned (status, timestamps, error messages), but it omits ordering (newest first?), truncation or pagination behavior when more than the limit exist, and any permission requirements.

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 short sentences, both useful: the first states the action, the second states the return contents. Nothing is wasted and the key information comes first.

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?

This is a simple two-parameter read tool with a fully documented schema and no output schema, so the description is nearly complete. The remaining gap is how results are ordered and what happens at the limit, which matters for 'recent' history but is a minor omission.

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%, with limit and workflow_id fully documented including default and max, so the baseline is 3. The description adds nothing about parameter meaning beyond what the schema already states.

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 ('Get recent execution history for a workflow') plus the shape of the returned data. That clearly separates it from get_workflow and list_workflows, but it never explicitly names those siblings or contrasts with them.

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?

The word 'recent' hints at the use case (checking how a workflow has been running or why it failed), but there is no explicit when-to-use guidance, no note about using get_workflow for the definition instead, and no stated prerequisites.

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

Deploy Server

Other Tools