Skip to main content
Glama

n8n_validate_workflow

Read-onlyIdempotent

Validate any n8n workflow by ID, checking node configurations, connections, and expressions. Returns actionable errors, warnings, and suggestions for improvement.

Instructions

Validate workflow by ID. Checks nodes, connections, expressions. Returns errors/warnings/suggestions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesWorkflow ID to validate
optionsNoValidation options
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is clear. The description adds that it returns 'errors/warnings/suggestions', which is useful but does not provide further behavioral context beyond what annotations offer.

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 extremely concise with three sentences. It front-loads the action and then specifies what is checked and returned. Every sentence adds value without redundancy.

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 complexity (2 parameters, nested object, no output schema), the description covers the core purpose and return type. However, it omits explanation of the 'profile' parameter, which would be helpful for selecting validation strictness. Overall, it's nearly 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 input schema already documents all parameters. The description mentions checking 'nodes, connections, expressions' which loosely maps to the boolean options but does not add meaning beyond what the schema provides. The 'profile' parameter is not mentioned.

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 'validate' and resource 'workflow by ID'. It specifies what is checked (nodes, connections, expressions) and what is returned (errors/warnings/suggestions). This distinguishes it from sibling tools like 'validate_node' and 'n8n_test_workflow'.

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 description does not explicitly state when to use this tool vs alternatives. It implies usage for static validation, but lacks explicit when-not or alternative references. The context signals show related sibling tools, but no guidance is given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/czlonkowski/n8n-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server