Skip to main content
Glama
ecp-mcp-server

ecp-mcp-server

by EpicLabs23

ecp_ssl_upload_certificate

Install an existing SSL certificate by validating PEM format, key match, expiry, and domain coverage, then saving and applying it to the domain in one step.

Instructions

Install a certificate the user already has (e.g. bought from a CA): validates it (PEM format, key matches cert, not expired, covers the domain), saves it, and applies it to the domain in one step. PEM text, not file paths. ca_bundle is the intermediate chain, if the CA provided one. The private key is redacted from this server's audit log.

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": {
      "domain": "<domain>",
      "certificate": "<certificate>",
      "private_key": "<private_key>",
      "confirm": "<confirm>"
    },
    "name": "ecp_ssl_upload_certificate"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYes
confirmYes
ca_bundleNo
certificateYes
private_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.5/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 behavioral burden very well. It states exactly what validation runs (PEM format, key matches certificate, not expired, covers the domain), that the certificate is saved and applied in one step, that inputs are PEM text rather than file paths, that ca_bundle is the intermediate chain, and that the private key is redacted from the audit log. It does not say what happens when validation fails, such as whether an error is returned or a partial state is left, but it still gives unusually strong insight into behavior.

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 description is compact and leads with the core action and validation flow, then adds the format and ca_bundle notes. Every sentence adds useful information, and nothing is redundant, although the private-key redaction note is somewhat tangential to the call itself.

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 5-parameter mutation tool with no annotations and no output schema, the description covers the important behavioral traits: the validation checks, the one-step save-and-apply, the input format, and how the sensitive parameter is handled. The only gaps are the meaning of confirm and domain and the failure behavior.

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 description coverage is 0%, so the description must compensate, and it does for certificate (PEM text, not file paths), ca_bundle (intermediate chain from the CA), and private_key (excluded from the audit log). It does not explain 'domain' or the required 'confirm' parameter, which contains const: true, so an agent must infer their meaning from the schema.

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 description gives a specific verb and resource ('Install a certificate the user already has') plus the full internal flow: validate, save, apply in one step. This clearly separates it from the sibling acquisition tools such as ecp_ssl_request_lets_encrypt and ecp_ssl_request_self_signed, which obtain new certificates rather than importing existing ones.

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

Usage Guidelines4/5

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

The parenthetical 'a certificate the user already has (e.g. bought from a CA)' gives a clear condition that selects this tool instead of the request/generate siblings. It does not explicitly name a when-not-to-use case, such as when the user has no certificate or needs an automated renewal, though ecp_ssl_apply_certificate's role for already-saved certificates is left implicit.

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