Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

activate_workflow

Activate an n8n workflow by ID so it starts listening for triggers. Use it to turn on automation workflows that must run when events occur.

Instructions

Activate a workflow so it starts listening for triggers.

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": {
      "id": "<id>"
    },
    "name": "activate_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWorkflow ID to activate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose the key effect that the workflow begins listening for triggers, which is genuine context beyond the schema. It does not state idempotency (behavior if already active), permission requirements, or reversibility via deactivate_workflow, leaving meaningful gaps for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the verb first and the effect second; every word earns its place with no redundant restatement of the name.

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 one-parameter state-change tool with no output schema, the description covers purpose and effect but omits practical call-time context such as prerequisites, failure modes (unknown or already-active workflow), and what the response indicates. Adequate but with clear gaps.

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 coverage is 100% for the single required 'id' parameter, so the schema already documents it fully. The description adds no format, source, or constraint details for the ID, so the baseline of 3 applies.

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?

Names a specific verb (Activate) and resource (a workflow) and adds the observable effect ('starts listening for triggers'), which implicitly distinguishes it from deactivate_workflow. It does not explicitly name or contrast with that sibling, so a 4 rather than a 5.

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 phrase 'so it starts listening for triggers' implies the situation in which to use it, but there is no explicit when-to-use versus deactivate_workflow, no stated prerequisite that the workflow must exist or be inactive, and no exclusions.

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