Skip to main content
Glama

n8n_update_partial_workflow

Idempotent

Apply incremental diff operations to update n8n workflows. Supports adding, removing, patching nodes, connections, settings, and more with validation and best-effort application.

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?

Annotations indicate non-readonly, non-destructive, idempotent, and open-world. The description adds behavioral details like the required format for patchNodeField (fieldPath and patches array) and references tools_documentation for full details. It does not contradict annotations.

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 description is a single paragraph but is front-loaded with the main purpose and lists operation types concisely. It avoids unnecessary words, though could be better structured (e.g., bullet points) for readability.

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 (multiple operation types, parameters for validation and error handling), the description provides a good overview. It references tools_documentation for exhaustive details, which is appropriate. No output schema exists, but the description covers input sufficiently.

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% with parameter descriptions. The description adds value by explaining the structure of operations array (list of types) and specific requirements for patchNodeField (dot path, patches). This goes beyond the schema's generic description.

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 the tool's purpose: 'Update workflow incrementally with diff operations' and lists specific operation types like addNode, removeNode, etc. This distinguishes it from sibling tools like n8n_update_full_workflow which replaces the entire 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?

The description mentions the tool is for incremental updates and lists operations, but does not explicitly state when to use it versus alternatives (e.g., n8n_update_full_workflow) or provide exclusions. The guidance is implied but not direct.

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

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