Skip to main content
Glama

Explain a workflow

describe_workflow
Read-only
Explain an n8n workflow JSON in plain terms: its trigger, the steps in
order, the apps it uses, which credentials to set up in n8n, any
disconnected nodes, and how to import it (paste into the n8n canvas).
Use it before handing a workflow to the user.

Args:
    workflow_json: The complete n8n workflow JSON.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workflow_json": "<workflow_json>"
    },
    "name": "describe_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflow_jsonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description correctly focuses on what the agent gets back: trigger, ordered steps, apps, credential setup list, disconnected nodes, and import guidance. This is substantive behavioral context beyond the annotations, though it says nothing about output length or format.

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 purpose sentence with the enumerated outputs inline, followed by a short usage note and the arg. No filler; the Args block is minimal and earns its place.

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?

With no output schema, the description correctly enumerates the return content, so an agent knows what it will receive. The remaining gap is modest: no note on how large or verbose the explanation will be, and no guidance on pairing with validate_workflow for structure errors.

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 0% and the single nested object parameter is undocumented in the schema, so the description must compensate. It adds only 'the complete n8n workflow JSON' — a useful qualifier that the full object is expected rather than a fragment, but it gives no hint about required node structure or whether the raw JSON string form is accepted.

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 ('Explain an n8n workflow JSON') and enumerates exactly what the explanation covers: trigger, ordered steps, apps, credentials, disconnected nodes, import instructions. It is clearly distinct from mutation siblings like validate_workflow or save_workflow, though it never names them explicitly.

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?

'Use it before handing a workflow to the user' gives an explicit trigger condition, which is more than most tools offer. However, it does not say when to skip it or route the agent to alternatives such as validate_workflow for correctness checking versus this tool for explanation.

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.