Skip to main content
Glama
spences10

mcp-n8n-builder

by spences10

mcp-n8n-builder

一个模型上下文协议 (MCP) 服务器,用于以编程方式创建和管理 n8n 工作流。该服务器提供与 n8n REST API 交互的工具和资源,使 AI 助手无需用户直接干预即可构建、修改和管理工作流。

特征

  • 🔄工作流管理:创建、读取、更新、删除、激活和停用工作流

  • 📊执行管理:列出并检索工作流执行详细信息

  • ✅模式验证:使用 Zod 对输入和输出数据进行全面验证

  • 🔍节点验证:在创建工作流之前根据 n8n 的可用节点验证节点类型,以防止出现错误

  • 🤔智能建议:当检测到无效节点时,提供类似节点类型的建议

  • 🛠️错误处理:用于故障排除的详细错误消息

  • 📝文档:所有工具和资源的详尽文档

  • 🔍搜索和过滤:按名称、标签或活动状态过滤工作流程

Related MCP server: n8n-manager-mcp

配置

此服务器需要通过您的 MCP 客户端进行配置。以下是不同环境的示例:

克莱恩配置

将其添加到您的 Cline MCP 设置中:

{
	"mcpServers": {
		"n8n-workflow-builder": {
			"command": "npx",
			"args": ["-y", "mcp-n8n-builder"],
			"env": {
				"N8N_HOST": "http://localhost:5678/api/v1",
				"N8N_API_KEY": "your-n8n-api-key",
				"OUTPUT_VERBOSITY": "concise" // Options: 'concise' or 'full'
			}
		}
	}
}

带有 WSL 配置的 Claude 桌面

对于 WSL 环境,将其添加到您的 Claude Desktop 配置中:

{
	"mcpServers": {
		"n8n-workflow-builder": {
			"command": "wsl.exe",
			"args": [
				"bash",
				"-c",
				"N8N_HOST=http://localhost:5678/api/v1 N8N_API_KEY=your-n8n-api-key OUTPUT_VERBOSITY=concise npx -y mcp-n8n-builder"
			]
		}
	}
}

环境变量

可以使用环境变量来配置服务器:

多变的

描述

默认

N8N_HOST

n8n API 的 URL

http://localhost:5678/api/v1

N8N_API_KEY

n8n 身份验证的 API 密钥

""

SERVER_NAME

MCP 服务器的名称

"n8n-workflow-builder"

SERVER_VERSION

MCP 服务器版本

软件包版本

LOG_LEVEL

日志级别

"info"

CACHE_ENABLED

启用缓存

false

CACHE_TTL

缓存 TTL(以秒为单位)

300

OUTPUT_VERBOSITY

输出详细程度( concise或full )

"concise"

MCP 工具

节点管理

  • list_available_nodes :列出 n8n 实例中所有可用的节点。重要提示:在创建或更新工作流之前使用此工具,以确保仅使用有效的节点类型。这有助于防止因使用当前 n8n 实例中不存在的节点类型而导致的错误。

工作流管理

  • list_workflows :列出 n8n 的所有工作流及其基本信息,包括 ID、名称、状态、创建日期和标签。结果可以按活动状态、标签或名称进行筛选。

  • create_workflow :在 n8n 中创建一个包含指定节点和连接的新工作流。返回已创建的工作流及其指定的 ID。验证所有节点类型是否存在于 n8n 实例中。

  • get_workflow :通过 ID 检索特定工作流的完整详细信息,包括所有节点、连接、设置和元数据。

  • update_workflow :使用新配置更新现有工作流。必须提供完整的工作流结构,而不仅仅是更改的部分。验证 n8n 实例中是否存在所有节点类型。

  • delete_workflow :根据 ID 永久删除工作流。此操作不可撤消。

  • activate_workflow :通过 ID 激活工作流,使其能够根据触发器自动运行。

  • deactivate_workflow :通过 ID 停用工作流,防止其自动运行。

执行管理

  • list_executions :列出工作流执行历史记录,其中包含成功/失败状态、持续时间和时间戳的详细信息。结果可以按工作流 ID、状态进行筛选,并限制为特定数量。

  • get_execution :检索有关特定工作流执行的详细信息,包括执行时间、状态以及可选的每个步骤处理的完整数据。

MCP 资源

  • n8n://workflows :n8n 中所有工作流程的列表

  • n8n://workflows/{id} :特定 n8n 工作流的详细信息

  • n8n://executions/{id} :特定 n8n 工作流执行的详细信息

发展

设置

  1. 克隆存储库

  2. 安装依赖项:

npm install
  1. 构建项目:

npm run build
  1. 以开发模式运行:

npm run dev

出版

该项目使用变更集进行版本管理。要发布:

  1. 创建变更集:

npm changeset
  1. 对包进行版本控制:

npm changeset version
  1. 发布到 npm:

npm release

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

执照

MIT 许可证 - 有关详细信息,请参阅LICENSE文件。

致谢

Available Tools

10 tools
activate_workflowA

Activates a workflow by its ID, enabling it to run automatically based on its trigger (schedule, webhook, etc.). Note that only workflows with automatic trigger nodes can be activated - workflows with only manual triggers cannot be activated.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesID of the workflow to activate - can be obtained from list_workflows

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the tool's behavior: it enables automatic execution based on triggers, specifies prerequisites (automatic trigger nodes required), and clarifies limitations (manual-trigger workflows excluded). However, it lacks details on error handling, permissions, or side effects like rate limits.

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?

The description is front-loaded with the core purpose in the first sentence, followed by a crucial note in the second sentence. Both sentences earn their place by providing essential usage constraints without redundancy or fluff, making it highly efficient and well-structured.

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?

Given the tool's moderate complexity (activation operation with prerequisites), no annotations, and no output schema, the description is largely complete. It covers purpose, usage guidelines, and behavioral aspects, but could benefit from mentioning response format or error cases to be fully comprehensive for an agent.

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?

The schema description coverage is 100%, with the input schema fully documenting the 'id' parameter. The description adds minimal semantic value beyond the schema, only implying the ID is for a workflow without providing additional context like format or validation rules. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Activates'), the resource ('a workflow'), and the mechanism ('by its ID'), distinguishing it from siblings like deactivate_workflow or get_workflow. It explicitly mentions enabling automatic execution based on triggers, which clarifies its functional scope beyond just a state change.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool ('workflows with automatic trigger nodes') and when not to use it ('workflows with only manual triggers cannot be activated'). It also implicitly contrasts with deactivate_workflow by specifying activation, offering clear usage context.

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

create_workflowA

Creates a new workflow in n8n with specified nodes and connections. Note that only workflows with automatic trigger nodes (schedule, webhook, etc.) can be activated - workflows with only manual triggers cannot be activated. Returns the created workflow with its assigned ID.

ParametersJSON Schema
NameRequiredDescriptionDefault
activateNoWhether to activate the workflow after creation (only works for workflows with automatic triggers)
workflowYesComplete workflow structure including nodes, connections, and settings

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries full burden and discloses key behavioral traits: it explains activation constraints (automatic vs. manual triggers), mentions the return value (created workflow with ID), and implies it's a write operation. It doesn't cover error handling or permissions.

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 with zero waste: first states purpose and key constraint, second specifies return value. It's front-loaded with essential information and appropriately sized.

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 creation tool with no annotations and no output schema, the description is fairly complete: it covers purpose, activation behavior, and return value. However, it lacks details on error cases or permissions, which could be useful given the complexity.

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 documents both parameters thoroughly. The description adds minimal value beyond schema by mentioning 'nodes and connections' and activation note, but doesn't provide additional syntax or format details. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'creates' and resource 'new workflow in n8n', specifying it includes 'nodes and connections'. It distinguishes from siblings like update_workflow (modifies existing) and list_workflows (reads).

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 provides clear context about when activation works (only for workflows with automatic triggers) and implies usage for creation vs. alternatives like update_workflow. However, it doesn't explicitly state when not to use it or compare with all siblings.

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

deactivate_workflowA

Deactivates a workflow by its ID, preventing it from running automatically. The workflow will still exist and can be manually executed or reactivated later. Use this instead of deleting workflows that you might need again.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesID of the workflow to deactivate - can be obtained from list_workflows

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries full burden and does well: it discloses the tool's effect (workflow stops running automatically but remains accessible), reversibility (can be reactivated later), and persistence (still exists for manual execution). It doesn't mention permissions or error conditions, but covers key behavioral aspects.

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 core purpose, followed by important behavioral context and usage guidance. Every sentence adds value with zero waste, making it highly efficient.

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 mutation tool with no annotations and no output schema, the description provides good context: it explains the action, outcome, and when to use it. It could mention error cases or return values, but covers the essentials well given the complexity.

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 documents the 'id' parameter fully. The description adds no additional parameter details beyond what's in the schema, meeting the baseline for high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('deactivates'), target resource ('workflow'), and mechanism ('by its ID'), distinguishing it from siblings like delete_workflow. It explains the effect ('preventing it from running automatically') and contrasts with deletion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when to use this tool ('instead of deleting workflows that you might need again') and implies when not to use it (if permanent removal is needed, use delete_workflow). This provides clear guidance relative to alternatives.

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

delete_workflowA

Permanently deletes a workflow by its ID. This action cannot be undone, so use with caution. Consider deactivating workflows instead if you might need them again later.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesID of the workflow to delete - can be obtained from list_workflows

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively communicates critical behavioral traits: the action is permanent and irreversible ('cannot be undone'), and it suggests caution. However, it doesn't mention potential side effects like cascading deletions or 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?

The description is perfectly front-loaded with the core purpose in the first sentence, followed by crucial warnings and alternatives. Every sentence earns its place with no wasted words, making it highly efficient 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 destructive tool with no annotations and no output schema, the description does an excellent job covering the most critical aspects: purpose, irreversible nature, and alternatives. It could be more complete by mentioning what happens to associated executions or data, but given the context, it's substantially helpful.

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?

The schema description coverage is 100%, with the single parameter 'id' well-documented in the schema. The description doesn't add any parameter-specific information beyond what's already in the schema, so it meets the baseline expectation for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('permanently deletes') and resource ('a workflow by its ID'), distinguishing it from siblings like deactivate_workflow and update_workflow. It uses precise language that leaves no ambiguity about the tool's function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool ('permanently deletes') versus alternatives ('consider deactivating workflows instead if you might need them again later'). It clearly warns about irreversible consequences and suggests a safer alternative when appropriate.

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

get_executionA

Retrieves detailed information about a specific workflow execution, including execution time, status, and optionally the full data processed at each step. Particularly useful for debugging failed workflows or understanding data transformations between nodes.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesID of the execution to retrieve - can be obtained from list_executions
includeDataNoWhether to include detailed execution data showing the input/output at each node (may be large for complex workflows)
verbosityNoOutput verbosity level (concise or full). Default is concise which preserves context window space. Use full when you need complete execution details.

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool retrieves information (implying read-only) and mentions potential data size issues ('may be large for complex workflows'), adding some behavioral context. However, it lacks details on permissions, rate limits, or error handling, leaving gaps for a mutation-heavy context.

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?

The description is front-loaded with the core purpose, followed by specific use cases. Both sentences earn their place by adding clarity and context without redundancy, making it efficient and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description provides adequate purpose and usage guidance but lacks details on return values, error cases, or system constraints. For a tool with 3 parameters and in a workflow execution context, it is minimally viable but has clear gaps in behavioral transparency.

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 documents all parameters thoroughly. The description adds minimal value beyond the schema by implying the 'includeData' parameter's impact on debugging, but it does not provide additional syntax or format details. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('retrieves') and resource ('detailed information about a specific workflow execution'), specifying what it does. It distinguishes from siblings like 'list_executions' by focusing on a single execution and mentioning debugging use cases, making it specific and differentiated.

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 description provides clear context on when to use it ('Particularly useful for debugging failed workflows or understanding data transformations between nodes'), which helps differentiate from tools like 'list_executions'. However, it does not explicitly state when not to use it or name specific alternatives, keeping it at a 4.

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

get_workflowA

Retrieves complete details of a specific workflow by its ID, including all nodes, connections, settings, and metadata. Use this tool when you need to examine a workflow's structure before updating it or to understand how it works.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesID of the workflow to retrieve - can be obtained from list_workflows
verbosityNoOutput verbosity level (concise or full). Default is concise which preserves context window space. Use full when you need complete workflow details including all nodes and connections.

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool retrieves details (implying a read-only operation) and mentions output verbosity levels, which adds useful context. However, it lacks details on permissions, error handling, or response format, leaving behavioral gaps for a tool with no annotation coverage.

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?

The description is front-loaded with the core purpose in the first sentence and follows with usage guidance in the second. Both sentences earn their place by adding clarity and context without redundancy, making it efficiently structured and appropriately sized for the tool's complexity.

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?

Given no annotations and no output schema, the description does well by explaining the tool's purpose, usage, and implied parameters. It covers key aspects like what is retrieved and when to use it, but lacks details on return values or error cases, which could be more complete for a retrieval tool with no structured output information.

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 documents both parameters (id and verbosity) thoroughly. The description adds minimal value beyond the schema by implying the id is used to retrieve workflow details, but it doesn't provide additional syntax or format details. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Retrieves') and resource ('complete details of a specific workflow by its ID'), specifying what it returns ('including all nodes, connections, settings, and metadata'). It distinguishes from siblings like list_workflows (which lists workflows) and get_execution (which retrieves execution details), making the purpose specific and well-differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool ('when you need to examine a workflow's structure before updating it or to understand how it works'), providing clear context. It implies alternatives by mentioning list_workflows for obtaining IDs and update_workflow for updates, giving practical guidance on usage scenarios.

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

list_available_nodesA

Lists all available nodes in the n8n instance. Use this tool BEFORE creating or updating workflows to ensure you only use valid node types. This helps prevent errors caused by using node types that do not exist in the current n8n instance.

ParametersJSON Schema
NameRequiredDescriptionDefault
categoryNoFilter nodes by category (e.g., "n8n-nodes-base")
verbosityNoOutput verbosity level (concise, summary, or full). Default is concise which preserves context window space. Use summary for just category counts, or full for complete node details including descriptions.

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively communicates that this is a read-only operation (implied by 'Lists') and adds practical context about error prevention, but does not detail aspects like rate limits, authentication needs, or pagination behavior, which are relevant for a list tool.

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?

The description is front-loaded with the core purpose in the first sentence, followed by practical usage guidance, with no redundant or verbose language. Every sentence adds value, making it efficient and well-structured for quick comprehension.

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?

Given the tool's moderate complexity (2 parameters, no output schema, no annotations), the description is largely complete for a read-only list operation, covering purpose, usage context, and error prevention. However, it lacks details on output format or behavioral traits like pagination, which could enhance completeness.

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?

The schema description coverage is 100%, so the schema already fully documents both parameters (category and verbosity). The description does not add any parameter-specific information beyond what the schema provides, such as examples or usage tips, meeting the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Lists all available nodes') and resource ('in the n8n instance'), with explicit differentiation from siblings like create_workflow or update_workflow by focusing on node discovery rather than workflow operations. It goes beyond the tool name by explaining the scope and purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool ('BEFORE creating or updating workflows') and why ('to ensure you only use valid node types... prevent errors'), with clear context for its application relative to other workflow-related tools. It effectively distinguishes its role in the toolset.

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

list_executionsA

Lists workflow execution history with details on success/failure status, duration, and timestamps. Use this tool to monitor workflow performance, troubleshoot issues, or verify that workflows are running as expected. Results can be filtered by workflow ID, status, and limited to a specific number.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of executions to return - useful for workflows with many executions
statusNoFilter by execution status (error, success, waiting)
verbosityNoOutput verbosity level (concise or full). Default is concise which preserves context window space. Use full when you need complete execution details.
workflowIdNoFilter executions by workflow ID - can be obtained from list_workflows

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool lists 'history with details' and mentions filtering capabilities, but lacks information on permissions, rate limits, pagination, or response format. For a read-only tool with no annotations, this is adequate but leaves behavioral gaps.

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?

The description is appropriately sized and front-loaded, with the core purpose stated first. Every sentence adds value: the first defines the tool, the second gives usage guidelines, and the third explains filtering options. There is no wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (4 parameters, no output schema, no annotations), the description is complete enough for basic use but lacks details on output structure, error handling, or advanced behavioral traits. It covers purpose and filtering but doesn't fully compensate for the absence of annotations and output schema.

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 fully documents all 4 parameters. The description adds marginal value by mentioning filtering by 'workflow ID, status, and limited to a specific number,' which aligns with the schema but doesn't provide additional syntax or format details beyond what's already in the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('Lists workflow execution history') and resources ('workflow execution'), distinguishing it from siblings like 'get_execution' (singular) or 'list_workflows' (different resource). It specifies the details included: 'success/failure status, duration, and timestamps'.

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 description provides clear context for when to use this tool: 'to monitor workflow performance, troubleshoot issues, or verify that workflows are running as expected.' It does not explicitly state when not to use it or name alternatives, but it implies usage for historical data rather than single executions (vs. 'get_execution').

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

list_workflowsA

Lists all workflows from n8n with their basic information including ID, name, status, creation date, and tags. Use this tool to get an overview of available workflows before performing operations on specific workflows. Results can be filtered by active status, tags, or name.

ParametersJSON Schema
NameRequiredDescriptionDefault
activeNoFilter by active status
nameNoFilter by workflow name
tagsNoFilter by tags (comma-separated)
verbosityNoOutput verbosity level (concise or full). Default is concise which preserves context window space. Use full when you need complete workflow details.

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses that this is a listing operation with filtering capabilities and mentions output verbosity levels, which adds useful context. However, it doesn't cover important behavioral aspects like pagination, rate limits, authentication requirements, or error handling for a tool with 4 parameters.

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?

The description is efficiently structured in two sentences: the first states purpose and output, the second provides usage guidance and filtering capabilities. Every element earns its place with no redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a listing tool with 4 parameters, 100% schema coverage, but no annotations or output schema, the description provides adequate purpose and usage context. However, it lacks details about return format, pagination behavior, or error scenarios that would be helpful given the filtering complexity.

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 documents all 4 parameters thoroughly. The description mentions filtering capabilities ('Results can be filtered by active status, tags, or name') which aligns with the schema but doesn't add significant semantic value beyond what's already in the parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Lists') and resource ('all workflows from n8n') with specific output details ('basic information including ID, name, status, creation date, and tags'). It distinguishes from siblings like 'get_workflow' (specific workflow) and 'list_executions' (different resource).

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 description provides explicit context for when to use this tool ('to get an overview of available workflows before performing operations on specific workflows'), which helps differentiate from siblings like 'get_workflow'. However, it doesn't explicitly state when NOT to use it or name specific alternatives for filtering scenarios.

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

update_workflowA

Updates an existing workflow with new configuration. Typically used after retrieving a workflow with get_workflow, modifying its structure, and then saving the changes. The entire workflow structure must be provided, not just the parts being changed.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesID of the workflow to update - can be obtained from list_workflows
workflowYesComplete updated workflow structure - must include all nodes and connections, not just changes

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses important behavioral traits: it's a mutation operation (implied by 'Updates'), requires the 'entire workflow structure' (not partial updates), and has a prerequisite relationship with get_workflow. However, it doesn't cover permissions, error handling, or what happens to existing executions, leaving some gaps.

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?

The description is perfectly concise with three sentences that each earn their place: first states the core purpose, second provides usage context, third clarifies a critical behavioral constraint. No wasted words, and the most important information (full-structure requirement) is appropriately emphasized at the end.

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 mutation tool with no annotations and no output schema, the description does well by explaining the update process, prerequisite relationship with get_workflow, and the full-structure requirement. It covers the essential context for proper use. The main gap is lack of information about what the tool returns or error conditions, but given the schema coverage and clear purpose, it's reasonably complete.

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 fully documents both parameters (id and workflow). The description adds minimal value beyond the schema by emphasizing that the workflow parameter must be 'complete' and 'not just the parts being changed', but this is essentially restating what's in the schema description for the workflow property. Baseline 3 is appropriate when schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Updates an existing workflow') and resource ('workflow'), distinguishing it from siblings like create_workflow (creation) and delete_workflow (deletion). It specifies the scope of updating 'with new configuration', making the purpose unambiguous.

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 description provides explicit context for when to use this tool: 'Typically used after retrieving a workflow with get_workflow, modifying its structure, and then saving the changes.' This gives clear guidance on the workflow process. However, it doesn't explicitly state when NOT to use it or mention alternatives like create_workflow for new workflows.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 10 tool updatesv1.0.0
    • First observedactivate_workflow
    • First observedcreate_workflow
    • First observeddeactivate_workflow
    • First observeddelete_workflow
    • First observedget_execution
    • First observedget_workflow
    • First observedlist_available_nodes
    • First observedlist_executions
    • First observedlist_workflows
    • First observedupdate_workflow

TDQS

A4.4/5.0

Scored across 10 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap. For example, activate_workflow and deactivate_workflow are opposites, while create_workflow, update_workflow, and delete_workflow cover different lifecycle stages. The list_* tools target different resources (workflows, executions, nodes), and get_* tools retrieve specific items versus lists.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case throughout. Verbs like activate, create, deactivate, delete, get, list, and update are used predictably, and nouns like workflow, execution, and nodes are consistently paired with appropriate actions.

Tool Count5/5

With 10 tools, this server is well-scoped for managing n8n workflows. It covers core operations (CRUD for workflows, activation/deactivation), monitoring (executions), and utilities (listing nodes), with each tool serving a clear and necessary function without bloat.

Completeness5/5

The toolset provides complete coverage for the n8n workflow management domain. It includes full CRUD lifecycle for workflows (create, get, update, delete, list), activation control, execution monitoring (list and get), and utility tools for node discovery, leaving no obvious gaps for agent operations.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers