Skip to main content
Glama
mastrangi

n8n MCP Server

by mastrangi

Get Workflow

get_workflow

Retrieve the complete configuration of a workflow by ID, including nodes, connections, and settings. Use this to inspect or export a workflow's structure.

Instructions

Get the full definition (nodes, connections, settings) of a workflow by ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflow_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description itself communicates that this is a read-only retrieval operation and that the response contains the workflow's definition. It doesn't discuss auth requirements or not-found behavior, but the 'Get' framing makes the non-mutating intent clear.

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?

A single sentence that is front-loaded with the action, names the target resource, and adds the useful detail about what the definition includes. There is no redundant wording or repetition of schema fields.

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

Completeness5/5

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

For a single-parameter, get-by-ID tool with an output schema, the description is sufficient. It clearly states what will be returned and covers the essential retrieval semantics without needing to enumerate error cases or return fields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema provides no descriptive text for workflow_id, the description explicitly says 'by ID', which clarifies the parameter's role. With only one required parameter, there is little room for ambiguity, though no ID format or example is given.

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 uses a specific verb ('Get'), a clear resource ('a workflow'), and identifies the retrieval key ('by ID'). It also specifies the content scope ('nodes, connections, settings'), which distinguishes it from tools like get_execution or list_workflows.

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 implies usage: call this tool when you need the full definition of a specific workflow. It does not explicitly contrast with get_execution or list_workflows, but the singular 'a workflow by ID' conveys the intended use case.

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

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/mastrangi/mcp-n8n'

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