Skip to main content
Glama

Get Mail Domain SSL Details

hestia_get_mail_domain_ssl
Read-onlyIdempotent

Retrieve redacted SSL/TLS certificate metadata for a specific HestiaCP mail domain to inspect stored mail-domain TLS settings without exposing private keys.

Instructions

Read SSL/TLS certificate metadata for a specific mail domain via v-list-mail-domain-ssl with private keys (KEY) automatically redacted. Use when inspecting mail-domain TLS metadata stored in HestiaCP; prefer hestia_get_web_domain_ssl for web vhost certificates or hestia_ssl_expiry_audit (diagnostics) for live endpoint expiry checks. 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_mail_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.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a genuinely non-obvious behavioral trait, that private keys (KEY) are automatically redacted, plus the response envelope. It stops short of describing error or empty-result behavior, which keeps it from a 5.

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?

Purpose is front-loaded in the first sentence, with alternatives and return shape following in a logical order and no filler sentences. It is somewhat dense with parentheticals (the CLI command name, the return-object notation), which slightly slows scanning but each element carries 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?

Although there is no output schema, the description supplies the return shape ({ ok, targetId, command, data }), notes redaction of key material, and covers tool choice and scope. Nothing an agent needs to invoke it correctly is missing.

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 in the input schema. The description only implies the target is a specific mail domain via the underlying command and adds no format or constraint detail beyond that. Baseline 3 is appropriate when the schema does the heavy lifting.

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 opens with a specific verb and resource ('Read SSL/TLS certificate metadata for a specific mail domain') and even names the underlying command v-list-mail-domain-ssl. It explicitly differentiates itself from hestia_get_web_domain_ssl and hestia_ssl_expiry_audit, so an agent can pick the right tool without opening any 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 states the use case ('Use when inspecting mail-domain TLS metadata stored in HestiaCP') and routes away to two named alternatives with their distinct conditions: web vhost certificates vs live endpoint expiry checks. This is explicit when-to-use and when-to-prefer-an-alternative guidance.

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