Skip to main content
Glama

n8n_update_partial_workflow

Idempotent

Update n8n workflows incrementally using diff operations such as add, remove, or modify nodes, connections, and settings for precise partial modifications.

Instructions

Update workflow incrementally with diff operations. Types: addNode, removeNode, updateNode, patchNodeField, moveNode, enable/disableNode, addConnection, removeConnection, updateSettings, updateName, add/removeTag, activate/deactivateWorkflow, transferWorkflow. patchNodeField requires fieldPath (dot path, e.g. "parameters.jsCode") and patches: [{find, replace}]. See tools_documentation("n8n_update_partial_workflow", "full") for details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesWorkflow ID to update
operationsYesArray of diff operations to apply. Each operation must have a "type" field and relevant properties for that operation type.
validateOnlyNoIf true, only validate operations without applying them
continueOnErrorNoIf true, apply valid operations even if some fail (best-effort mode). Returns applied and failed operation indices. Default: false (atomic)
Behavior4/5

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

Adds substantial behavioral context beyond annotations: describes best-effort mode for continueOnError, required fieldPath for patchNodeField, and references detailed documentation. Annotations (idempotentHint, readOnlyHint) are consistent and not contradicted.

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?

The description is concise but tries to list many operation types inline, making it slightly dense. The first sentence clearly states purpose, but the middle could be streamlined by referencing documentation for full list. Still functional.

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?

Given the tool's complexity (many operation types, validation, error handling), the description covers core functionality, key parameter nuances, and behavior for continueOnError. Lacks return value details for normal execution, but overall sufficient.

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

Parameters4/5

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

Schema coverage is 100%, and description enriches parameters by explaining operations array format, required 'type' field, and specific details for patchNodeField (fieldPath, patches). This adds value beyond the schema's basic descriptions.

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?

The description clearly states 'Update workflow incrementally with diff operations' and lists specific operation types, making the purpose unambiguous and distinguishing it from sibling tools like n8n_update_full_workflow.

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

Usage Guidelines3/5

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

While the description implies partial updates vs. full replacement, it does not explicitly state when to use this tool over alternatives like n8n_update_full_workflow or n8n_create_workflow. No exclusions or context for selection are provided.

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

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