Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

update_workflow

Modify an existing n8n workflow by supplying its full definition—name, nodes, connections, and settings—to apply changes through the n8n REST API.

Instructions

Update an existing workflow. Requires the full workflow definition (name, nodes, connections, settings).

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": {
      "id": "<id>",
      "name": "<name>",
      "nodes": "<nodes>",
      "connections": "<connections>",
      "settings": "<settings>"
    },
    "name": "update_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWorkflow ID to update
nameYesWorkflow name
nodesYesArray of node objects
settingsYesWorkflow settings
connectionsYesConnections object

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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. It does contribute one real behavioral signal — that a FULL definition is required, implying replace-style semantics rather than a patch — but it says nothing about permissions, whether omitted/original settings are preserved or wiped, whether an active workflow is disturbed, or what a failed update does.

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?

Two short sentences, front-loaded with the action and followed by the key constraint. The parenthetical partly duplicates the schema's parameter list, but it is compact enough to earn its space.

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

Completeness3/5

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

For a mutation over nested objects (nodes, connections, settings) with no annotations and no output schema, the definition is minimally adequate: it conveys the required payload but not replacement semantics explicitly, permission requirements, or failure behavior. An agent could call it, but could easily destroy settings it did not intend to omit.

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 schema already documents all five parameters and the baseline is 3. The description restates four of them (name, nodes, connections, settings) and omits `id` entirely, adding no format, nesting, or validation detail beyond what the schema provides.

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?

"Update an existing workflow" states a specific verb and resource, and the parenthetical enumerates the payload shape. It implicitly separates itself from update_workflow_tags by scoping to the full definition, but it never names a sibling or a boundary explicitly.

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?

There is no when-to-use guidance, no mention of prerequisites (does the workflow need to exist, or be inactive?), and no routing to alternatives such as create_workflow, activate_workflow, or update_workflow_tags. The only constraint given is a payload requirement, which is not usage guidance.

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