Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by r-ms

n8n_update_workflow

Updates an existing n8n workflow's nodes, connections, and settings, validating changes before saving so you can modify automations without rebuilding them.

Instructions

Update an existing workflow's nodes, connections, or settings. Same validation as create.

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": "n8n_update_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
nodesNo
settingsNo
workflowIdYesWorkflow ID
connectionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. Mutation is implied by 'Update' and 'Same validation as create' hints at validation parity, but that reference requires opening another tool to resolve and says nothing about permissions, reversibility, or what happens to fields that are omitted. This leaves meaningful gaps for a write operation with zero 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the mutation surface, so it is not padded. However, 'Same validation as create' is a cross-reference that consumes space without resolving anything the agent can act on directly.

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?

Five parameters, 20% schema description coverage, a nested nodes array, and no annotations or output schema — this is a complex mutation tool whose definition runs two sentences. Essential behavior for safe invocation is missing.

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 20%, so the description needed to compensate and does not. It names nodes, connections, and settings but never clarifies the critical partial-vs-full update semantics (does omitting nodes wipe them?), nor does it explain the required workflowId or the name parameter.

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 ('Update') and resource ('an existing workflow') plus the mutable surface (nodes, connections, settings), so an agent knows what it changes. It does not differentiate from the sibling n8n_update_workflow_json, leaving a real ambiguity about which update tool to pick.

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?

'Update an existing workflow' implies the workflow must already exist, but there is no explicit when-to-use/when-not guidance and no mention of the near-identical sibling n8n_update_workflow_json or n8n_create_workflow. The agent is left to infer tool selection on its own.

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