Skip to main content
Glama
ecp-mcp-server

ecp-mcp-server

by EpicLabs23

ecp_n8n_activate

Activates the prepared n8n version after install or update, starting or restarting the service and reverting to the old version if an update fails. Call only when status shows 'prepared'.

Instructions

Switch to the version prepared by ecp_n8n_install or ecp_n8n_update (only once ecp_n8n_status shows job.state 'prepared'). After an install it starts n8n but doesn't connect the domain yet: wait until ecp_n8n_status shows running, then call ecp_n8n_create_owner. After an update it restarts n8n on the new version, and puts the old one back if that fails.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ecp_n8n_activate"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.1

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that this is a mutating switch, that an install path starts n8n without connecting the domain, that an update path restarts on the new version, and that failure auto-reverts to the old version. It stops short of stating required permissions, expected duration, or what happens if no 'prepared' version exists.

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?

Three sentences, each carrying distinct operational information — precondition, install branch, update branch with failure semantics — with the gating condition front-loaded. No filler.

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?

For a zero-argument, no-output-schema tool the description covers precondition, sequencing, post-conditions and rollback-on-failure, which is close to complete. It omits auth/permission requirements and any note about return value or how long the switch takes.

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?

The tool takes zero parameters, so there is no parameter meaning to add; baseline for a 0-param schema is 4. The description correctly implies no inputs are needed, though it never says so explicitly.

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?

States a specific verb ('switch to the version') on a specific resource (the prepared n8n version) and explicitly ties it to the producing siblings (ecp_n8n_install / ecp_n8n_update). An agent can distinguish this from ecp_n8n_restart, ecp_n8n_rollback and ecp_n8n_status without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition (only after ecp_n8n_status reports job.state 'prepared'), branch-specific follow-ups (install → wait for running → ecp_n8n_create_owner; update → restart on new version), and thus names the alternatives and when each applies.

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

Deploy Server

Other Tools