Skip to main content
Glama

Get Web Domain SSL Details

hestia_get_web_domain_ssl
Read-onlyIdempotent

Retrieve SSL/TLS certificate metadata—subject, issuer, validity dates, and SANs—for one HestiaCP web domain, with private keys automatically redacted.

Instructions

Read SSL/TLS certificate metadata (subject, issuer, validity dates, SANs) for one specific web domain via v-list-web-domain-ssl with private keys (KEY) automatically redacted. Use when inspecting one domain HestiaCP-stored certificate details; prefer hestia_get_web_domain for general vhost settings or hestia_ssl_expiry_audit (diagnostics) for fleet-wide live TLS expiry checks over SSH. Returns { ok, targetId, command, data (redacted SSL certificate record) }.

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": {
      "user": "<user>",
      "domain": "<domain>"
    },
    "name": "hestia_get_web_domain_ssl"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesHestiaCP account username.
domainYesDomain name owned by the user.
targetIdNoConfigured target identifier (defaults to "default").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, but the description adds genuinely new behavior: private keys (KEY) in the output are automatically redacted, and it discloses the exact return envelope { ok, targetId, command, data } in the absence of an output schema. It stops short of noting auth requirements or failure modes.

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, front-loaded with purpose, then exclusion routing, then return shape. No filler, no restatement of the title, and the redaction warning is placed inline where it matters.

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 read-only lookup with fully described parameters, everything an agent needs is present: which command runs, that secrets are scrubbed, what the response envelope looks like, and which sibling to pick instead. Nothing material is left to inference.

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 description coverage is 100%, so user, domain and targetId are already documented, and the definition adds only the 'one specific web domain' scoping hint. It says nothing about how targetId interacts with the lookup or what domain ownership means operationally, so the baseline 3 applies.

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?

Opens with a specific verb+resource: 'Read SSL/TLS certificate metadata (subject, issuer, validity dates, SANs) for one specific web domain'. It names the underlying command (v-list-web-domain-ssl) and explicitly scopes to a single domain, which clearly separates it from fleet-wide or general vhost siblings.

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 when-to-use clause ('inspecting one domain HestiaCP-stored certificate details') and routes to two named alternatives with the conditions that select them: hestia_get_web_domain for general vhost settings and hestia_ssl_expiry_audit for fleet-wide live TLS expiry over SSH.

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