Skip to main content
Glama
verzth

n8n MCP Server

by verzth

Update n8n Workflow

n8n_update_workflow
Idempotent

Update an existing n8n workflow with a new full definition, including nodes, connections, and settings. Active workflows are automatically republished.

Instructions

Update an existing workflow. Replaces the full workflow definition. If the workflow is active, it will be republished automatically.

Args:

  • id (string): Workflow ID to update

  • name (string): New workflow name

  • nodes (array): Full array of node objects

  • connections (object): Full node connection map

  • settings (object?): Workflow settings

  • active (boolean?): Activation state

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesWorkflow ID to update
nameYesWorkflow name
nodesYesFull array of n8n node definitions
activeNoActivation state
settingsNoWorkflow settings
connectionsYesFull node connection map
Behavior4/5

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

Description adds meaningful behavioral context beyond annotations: full definition replacement and automatic republication for active workflows. No contradiction with annotations such as idempotentHint=true or destructiveHint=false.

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?

The key behavioral points are front-loaded and concise, but the Args list duplicates schema information. Still lean and readable, not bloated.

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?

For a mutation tool with good annotations and full schema coverage, the description covers the essential behavior (full replacement, auto-republish). It does not mention return values or error cases, but those are not required given the schema and no output schema.

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%, and the description largely repeats the parameter names and descriptions already in the schema. It adds minimal new semantic value, so the baseline of 3 applies.

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?

Clearly states it updates an existing workflow and replaces the full workflow definition. This is distinct from sibling tools like n8n_create_workflow, n8n_delete_workflow, and n8n_activate_workflow.

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?

Provides clear context for updating an existing workflow and notes automatic republication if active. Does not explicitly mention alternative tools or exclude them, but the update/creation distinction is implicit and sufficient.

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

Install Server

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

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