Skip to main content
Glama
tcs-n8n-mcp
by ntatschner

update_workflow

Update an existing n8n workflow by ID, including name, nodes, connections, and settings. Active workflows are republished unless publishIfActive is set to false.

Instructions

Update an n8n workflow. Published workflows are republished unless publishIfActive is false.

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": {
      "workflowId": "<workflowId>"
    },
    "name": "update_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
nodesNo
pinDataNo
settingsNo
nodeGroupsNo
staticDataNo
workflowIdYesOpaque n8n resource ID
connectionsNo
descriptionNo
parentFolderIdNo
publishIfActiveNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the safety profile is partially covered. The description adds important behavior: published workflows are republished unless publishIfActive is false. However, it omits whether updates are partial or full replacements, permission requirements, and what happens to omitted fields.

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 short sentences with the core action front-loaded and the conditional publish behavior immediately following. No redundant wording.

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

Completeness2/5

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

For an 11-parameter mutation tool with nested objects and only 9% schema description coverage, the description is too thin. It does not clarify partial-update behavior, required permissions, or the meaning of most parameters, though the presence of an output schema reduces the need to explain return values.

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

Parameters2/5

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

Schema description coverage is only 9% across 11 parameters, so the description must carry substantial weight. It explains publishIfActive semantics but says nothing about workflowId, nodes, connections, settings, or the other parameters. Marginal compensation for the coverage gap.

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: 'Update an n8n workflow.' It is clearly distinguishable from create/activate/delete by name and description, but does not explicitly differentiate from sibling update tools or describe what aspects of the workflow are updatable.

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

Usage Guidelines2/5

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

Provides one conditional rule about republishing published workflows, but no guidance on when to use this tool versus create_workflow, activate_workflow, or other update siblings. The agent must infer usage context entirely.

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