Skip to main content
Glama
ecp-mcp-server

ecp-mcp-server

by EpicLabs23

ecp_n8n_update

Prepare a newer n8n version next to the running one (omit version for latest), poll status until prepared, then activate to switch; it stops n8n briefly, backs up the database, and supports rollback.

Instructions

Start preparing a newer n8n version next to the running one (n8n keeps running meanwhile). Omit version for the latest. Poll ecp_n8n_status until job.state is 'prepared', then call ecp_n8n_activate to switch - that stops n8n briefly and backs up its database first, so ecp_n8n_rollback can undo it.

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_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.1

TDQS

A4.9/5.0
Behavior5/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 so: it discloses that this is a non-disruptive async preparation ('n8n keeps running meanwhile'), that progress is tracked via job.state 'prepared', and that the destructive moment happens later in ecp_n8n_activate with a database backup taken first. That is exactly the side-effect and sequencing context an agent needs.

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 tight sentences: what it does, the parameter default, then the follow-up workflow. Front-loaded with the action, zero filler, and every clause carries operational information.

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

Completeness5/5

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

For a one-optional-parameter async tool with no output schema, nothing material is missing: the agent knows how to start it, how to check progress, how to finish, and how to reverse it. Return shape is intentionally deferred to ecp_n8n_status, which the description points at.

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?

Schema coverage is 0%, so the description must compensate for the single 'version' parameter — it does by stating 'Omit version for the latest', which conveys optionality and default behavior the bare string schema does not. It stops short of giving a version format example or accepted syntax, which keeps it off a 5.

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 and object ('Start preparing a newer n8n version') plus the key scope fact that the new version is staged 'next to the running one'. It also names the sibling tools in the workflow (ecp_n8n_status, ecp_n8n_activate, ecp_n8n_rollback), so an agent can immediately place it in the update lifecycle.

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?

Explicit when-to-use chain: call this, omit version for latest, poll ecp_n8n_status until job.state is 'prepared', then call ecp_n8n_activate. It also gives the fallback path (ecp_n8n_rollback) and the condition that makes it relevant (activation briefly stops n8n).

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