Skip to main content
Glama

Renew an SSL certificate (charges the account)

lw_ssl_renew

Renew an SSL certificate for 1 to 3 years by placing a paid order and restarting domain validation. Preview current expiration first, then confirm to execute.

Instructions

Renew one SSL certificate for 1 to 3 years (bleed SSL/Certificate/renew). This places a paid order on the account and restarts domain validation, so the certificate must be validated again (see lw_ssl_verification). Preview shows the current expiration and renewable flag. Price is not returned by the API; check the portal for the cost. Write: needs LW_ALLOW_WRITES, then a confirmation step (preview first).

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": {
      "uniq_id": "<uniq_id>"
    },
    "name": "lw_ssl_renew"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoRenewal term in years (default 1).
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.
uniq_idYesCertificate uniq_id from lw_ssl_list.
confirm_tokenNoLeave empty on the first call to get a preview and a token. Repeat the call with identical parameters plus this token to execute.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
statusYes
contextNo
previewNo
summaryYes
warningsNo
next_pageNo
next_stepNo
truncatedNo
expires_atNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that this places a paid order on the account, that domain validation restarts and the certificate must be revalidated, that price is not returned by the API, and that the write requires LW_ALLOW_WRITES plus a preview/confirm two-step flow. None of this is inferable from readOnlyHint=false, destructiveHint=false, idempotentHint=false, or openWorldHint=true.

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?

Every sentence carries concrete information (cost, revalidation, auth, confirmation), and the mutating/paid nature is front-loaded. Minor noise in the 'bleed SSL/Certificate/renew' parenthetical does not undermine the structure.

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 paid mutation with an output schema and full annotations, this covers the key unknowns: cost opacity, auth requirement, side effect of revalidation, and the confirmation protocol. It stops short of describing failure modes or how a multi-year term affects cost, which would be the remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3: the schema already documents years, uniq_id, context, and the confirm_token preview pattern. The description corroborates the two-step confirm flow but adds no syntax or format detail beyond the schema.

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 with scope: 'Renew one SSL certificate for 1 to 3 years'. An agent can tell this is a manual, one-off paid renewal rather than a listing or settings read, but the description never names lw_ssl_auto_renew or otherwise explicitly rules out the automatic-renewal sibling.

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?

Gives concrete when-to-use context: preview first, then a confirmation call, and follow up with lw_ssl_verification because validation restarts. Prerequisites (LW_ALLOW_WRITES) are stated, but there is no explicit when-not guidance or contrast with the auto-renew alternative.

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