Skip to main content
Glama
tcs-n8n-mcp
by ntatschner

create_workflow

Create n8n workflows with defined nodes, connections, settings, and metadata via current public API fields to programmatically build automation structures.

Instructions

Create an n8n workflow using the current public API fields.

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>"
    },
    "name": "create_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
nodesNo
pinDataNo
settingsNo
projectIdNoOpaque n8n resource ID
nodeGroupsNo
staticDataNo
connectionsNo
descriptionNo
parentFolderIdNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the mutation profile is known, but the description adds nothing beyond that. It does not disclose whether the created workflow starts inactive, whether nodes/connections must be internally consistent, or whether credentials referenced in nodes must pre-exist — all material for a create call with nested graph data.

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?

It is a single sentence with no waste, but the brevity is under-specification rather than economy — the trailing clause "using the current public API fields" is the only content added and it is nearly contentless. Front-loading is fine; the sentence simply does not earn much.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but this is a 10-parameter mutation with deeply nested node and connection objects, and the description explains none of the payload structure or constraints. Given the complexity and near-zero schema coverage, the definition leaves the agent substantially under-equipped to invoke it correctly.

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

Parameters2/5

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

Schema description coverage is only 10% across 10 parameters, and two of the descriptive hints present (projectId, parentFolderId) live in the schema itself, not the description. Nested structures like nodes, connections, settings, pinData, and staticData get zero explanation, so the description does not compensate for the coverage gap at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb+resource ("Create an n8n workflow") is identifiable, but the qualifier "using the current public API fields" is vague filler that adds no scope or distinguishing detail versus siblings like update_workflow or create_tag. An agent knows it creates something, but not what a valid creation looks like or what makes this different from update_workflow.

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 guidance on when to use this versus update_workflow (e.g., create-then-edit vs upsert), no prerequisites such as project or folder requirements, and no mention of what happens if a workflow with the same name exists. The agent must infer all routing decisions from the tool name alone.

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