Skip to main content
Glama
ecp-mcp-server

ecp-mcp-server

by EpicLabs23

ecp_n8n_create_owner

Creates the n8n owner/admin account and connects the domain after status shows running and needs_owner, so the instance can be reached and secured with user-provided login details.

Instructions

Create n8n's owner (admin) account, then connect the domain to n8n. Call it once ecp_n8n_status shows running and needs_owner. Until then the domain doesn't reach n8n, so nobody else can claim the instance. Ask the user for the email, name and password they want for n8n's login - don't make up a password unless they ask you to, and then tell them what it is. n8n requires 8-64 characters with at least one number and one capital letter. The password goes straight to n8n and isn't stored by ECP. email, first_name and password are required for a new owner. Over kept data that already has an owner (existing_data), call it without fields: it only connects the domain. A 409 saying n8n already has an owner ECP didn't create means someone may have reached n8n first - the domain stays unconnected; tell the user (the fix is to uninstall with delete_data and install again) rather than retrying.

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

Input Schema

NameRequiredDescriptionDefault
emailNo
passwordNo
last_nameNo
first_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.1

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses the prerequisite state, that the domain is unreachable until completion, that the password is passed straight to n8n and not stored by ECP, the password complexity rules, and the exact 409 failure mode plus the correct agent response. It also warns against inventing a password. This is well beyond what structured fields provide.

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?

The action and its precondition are front-loaded, and each subsequent sentence adds operational value (password handling, format rules, existing_data path, 409 recovery). It is on the long side for a tool description and the security note about not storing the password could be tightened, but nothing is redundant filler.

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?

This is a high-stakes mutation with no annotations, no output schema, and undocumented parameters, so the description must supply everything, and it covers prerequisites, credential policy, validation rules, the no-argument variant, and the specific error path with remediation. An agent has enough to call it correctly and to recover from the main failure mode.

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, and it does for most fields: it states that email, first_name and password are required for a new owner, gives password format constraints, and explains that all fields are omitted in the existing_data case. The one gap is last_name, which is only obliquely covered by "ask the user for the email, name and password" and is never explicitly described or marked optional, and the schema's required list is empty so the description is the only source of required-ness.

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?

The first sentence names a specific verb and resource ("Create n8n's owner (admin) account") and adds the second effect ("then connect the domain to n8n"), which distinguishes it from ecp_n8n_install and ecp_n8n_status. The dual create-and-connect purpose is stated up front so an agent can route correctly without reading the 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?

It gives an explicit precondition ("Call it once ecp_n8n_status shows running and needs_owner") and an explicit alternate mode ("Over kept data that already has an owner (existing_data), call it without fields: it only connects the domain"). It also states when not to retry and names the remediation path (uninstall with delete_data, then install again), covering the alternative route rather than leaving it to inference.

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