Skip to main content
Glama

N8n List Executions

n8n_list_executions
Read-onlyIdempotent

List recent workflow executions (runs) in your n8n instance, for "did our workflows run", "show recent failures", "execution history". Each: id, workflowId, status (success/error/waiting), mode, startedAt, stoppedAt. Filter by status and/or workflow_id. Requires your instance_url + n8n API key (_apiKey).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "_apiKey": "your-n8n-api-key",
      "instance_url": "https://n8n.example.com"
    },
    "name": "n8n_list_executions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax executions (1-250, default 50).
statusNoFilter: "success" | "error" | "waiting". Omit for all.
_apiKeyYesREQUIRED, your n8n API key (Settings -> n8n API -> Create an API key). Sent as the X-N8N-API-KEY header. No shared key exists for this pack.
workflow_idNoOnly executions of this workflow id.
instance_urlYesREQUIRED, your n8n instance base URL, e.g. "https://you.app.n8n.cloud" (n8n Cloud) or "https://n8n.example.com" (self-hosted). Must be a public https URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"REQUIRED — your n8n API key (Settings → n8n API → Create an API key). Sent as the X-N8N-API-KEY header. No shared key exists for this pack."New value: +"REQUIRED, your n8n API key (Settings -> n8n API -> Create an API key). Sent as the X-N8N-API-KEY header. No shared key exists for this pack."
    • changedInput schema / properties / instance_url / description
      Previous value: -"REQUIRED — your n8n instance base URL, e.g. \"https://you.app.n8n.cloud\" (n8n Cloud) or \"https://n8n.example.com\" (self-hosted). Must be a public https URL."New value: +"REQUIRED, your n8n instance base URL, e.g. \"https://you.app.n8n.cloud\" (n8n Cloud) or \"https://n8n.example.com\" (self-hosted). Must be a public https URL."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-n8n-api-key",
      +    "instance_url": "https://n8n.example.com"
      +  },
      +  {
      +    "_apiKey": "your-n8n-api-key",
      +    "instance_url": "https://n8n.example.com",
      +    "limit": 25,
      +    "status": "error",
      +    "workflow_id": "123"
      +  }
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds value beyond that: it discloses the credential prerequisites (instance_url plus n8n API key) and enumerates what each returned execution contains, which matters since there is no output schema.

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?

Three compact sentences: purpose first, payload fields second, filters and auth last. The enumerated field list is dense but earns its place because no output schema exists; nothing is padded or repeated.

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 five-parameter read tool with no output schema, the definition covers purpose, returned fields, filtering, and auth setup, which is everything needed to call it correctly. Minor gaps remain around ordering/pagination behavior (e.g. whether results are newest-first and how limit interacts with history), but nothing blocking.

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%, and every schema parameter carries its own explanation (limit range, status enum, workflow_id scoping, API key header, public https instance URL). The description only restates "Filter by status and/or workflow_id" without adding syntax or edge-case semantics, so the 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?

Opens with a specific verb+resource ("List recent workflow executions (runs)") and immediately anchors it to recognizable intents: "did our workflows run", "show recent failures", "execution history". That makes it clearly distinct from n8n_list_workflows and n8n_get_workflow in practice, though it never explicitly names a sibling or states the boundary.

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?

The quoted user-intent phrases give concrete situations that select this tool, and "Filter by status and/or workflow_id" tells the agent how to narrow a query. There is no explicit when-not guidance or named alternative for workflow-level metadata lookups, which keeps it below 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.