Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by r-ms

n8n_activate_workflow

Activate an n8n workflow by enabling its triggers after pre-validation, ensuring only valid workflows are turned on.

Instructions

Activate a workflow (enable triggers). Pre-validates before activating.

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": {
      "workflowId": "<workflowId>"
    },
    "name": "n8n_activate_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflowIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. "Pre-validates before activating" is genuine behavioral information that explains why the call can fail, but nothing is said about what validation covers, what error is returned, idempotency when already active, required permissions, or side effects on existing executions.

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 sentences with the primary action front-loaded and no filler. The parenthetical and the validation note both earn their place, though the phrasing is terse to the point of omitting useful detail.

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 tool with no output schema, an agent can call this correctly from the description plus schema. However, the absence of annotations, output information, and any mention of failure modes leaves gaps for a mutation-style operation that enables live triggers.

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 0% and the single required parameter workflowId is never mentioned in the description, so no meaning is added beyond the schema. The name and type are largely self-explanatory, which keeps this from being a 1, but the description does not compensate for the coverage gap.

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 ("Activate a workflow") and clarifies the effect as "enable triggers," which distinguishes it from the sibling n8n_deactivate_workflow by implication. The sibling is not named explicitly, so it falls short of a full 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?

Usage is only implied: an agent can infer this is the tool for turning a workflow's triggers on rather than off. There is no explicit statement of when to use it, no prerequisite that the workflow must exist and be valid, and no guidance on what to do if activation is already in effect.

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