Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

create_workflow

Define and create a new n8n workflow by supplying a name, nodes array, connections object, and settings object for automation setup.

Instructions

Create a new workflow. Requires name, nodes array, connections object, and settings object.

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

Input Schema

NameRequiredDescriptionDefault
nameYesWorkflow name
nodesYesArray of node objects
settingsYesWorkflow settings (e.g. errorWorkflow, timezone, executionOrder)
connectionsYesConnections object mapping node outputs to inputs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing beyond 'Create'. It does not disclose whether the workflow is created active or inactive, what permissions are required, whether node/connection structures are validated, or what identifying information is returned.

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, front-loaded sentences with no filler — the action is stated first and the required inputs second. The second sentence duplicates the schema's required list, which is mild waste but keeps the definition scannable.

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 tool with nested objects, no annotations, and no output schema, the definition is minimally adequate: an agent knows the verb and the required inputs. It omits the behavioral details (activation state, validation, returned identifier) that would make it self-sufficient.

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 all four parameters are documented there, so the baseline is 3. The description only repeats the required parameter names; it adds no meaning about the nested shapes of nodes, connections, or settings beyond what the schema already 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?

States a specific verb and resource ('Create a new workflow'), and the word 'new' implicitly separates it from update_workflow. It does not explicitly name or contrast with any sibling, so an agent must infer the boundary with update_workflow/activate_workflow from names alone.

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 statement of prerequisites, and no pointer to alternatives such as update_workflow for modifying an existing workflow. The only usage-like content is a restatement of the required fields, which the schema already enforces.

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