Skip to main content
Glama

N8n List Workflows

n8n_list_workflows
Read-onlyIdempotent

List workflows in YOUR n8n instance, with an active/inactive breakdown. Answers "how many active workflows do we have", "list our n8n workflows", "which workflows are turned on". Each workflow: id, name, active (on/off), createdAt, updatedAt, tags. Set active_only:true to list just the live ones. 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_workflows"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax workflows to fetch (1-250, default 100).
_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.
active_onlyNoOnly return active (turned-on) workflows. Default false (all).
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",
      +    "active_only": true,
      +    "instance_url": "https://n8n.example.com",
      +    "limit": 50
      +  }
      +]
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is pre-covered. The description usefully adds auth requirements (instance_url + n8n API key sent as X-N8N-API-KEY) and per-instance scoping, but says nothing about rate limits, pagination behavior, or failure modes beyond annotations.

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?

Front-loaded with the core action and breakdown, followed by example questions and the returned field list. The closing 'Set active_only:true...' and 'Requires your instance_url + n8n API key' sentences partly duplicate the schema, but overall it is compact and scannable.

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 read-only listing tool with full schema coverage and no output schema, the description is nearly sufficient: it enumerates return fields (id, name, active, createdAt, updatedAt, tags) and states credential prerequisites. It omits pagination/limit interaction and whether tags are filterable, leaving a small gap.

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%, so the schema already explains instance_url, _apiKey, limit and active_only; the baseline of 3 applies. The description reinforces active_only's meaning in user terms ('list just the live ones') and repeats the two required credentials, which is marginal added value rather than new semantics.

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?

States a specific verb and resource ('List workflows in YOUR n8n instance') plus the distinctive value-add of an active/inactive breakdown. It is clearly distinguishable from a singular fetch like n8n_get_workflow by implication, but it never names or contrasts a sibling explicitly, keeping it short of a 5.

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?

Gives concrete trigger phrasings an agent can match ('how many active workflows do we have', 'list our n8n workflows', 'which workflows are turned on') and a conditional hint for active_only. It stops short of stating when NOT to use it or which sibling to pick for single-workflow detail.

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.