Skip to main content
Glama

Get Mail Account Details

hestia_get_mail_account
Read-onlyIdempotent

Retrieve detailed configuration, aliases, forwarders, autoreply state, and quota usage for a single known mailbox; password hashes are redacted.

Instructions

Read detailed configuration, aliases, forwarders, autoreply state, and quota usage for one specific mailbox via v-list-mail-account (MD5 password hashes are automatically redacted). Use when inspecting a single known mailbox; prefer hestia_list_mail_accounts to enumerate all mailboxes on the domain or hestia_mail_forward_audit (toolkit) for forward policy compliance. Returns { ok, targetId, command, data (single mailbox 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>",
      "account": "<account>"
    },
    "name": "hestia_get_mail_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesHestiaCP account username.
domainYesMail domain name owned by the user.
accountYesMailbox local-part username.
targetIdNoConfigured target identifier (defaults to "default").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description adds real value beyond them by disclosing that MD5 password hashes are automatically redacted and by naming the underlying command executed. It also sketches the response envelope. It stops short of noting error behavior or what happens when the mailbox does not exist, which keeps it at a 4 rather than 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?

The core capability is front-loaded in the first clause, followed by usage routing and then the return shape — a sensible order. It is dense but nearly every clause earns its place; the formulaic return-envelope sentence is the weakest part given no output schema is formally published.

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 read-only, four-parameter lookup this is largely complete: scope, alternatives, redaction behavior and the response envelope are all stated despite there being no output schema. The one remaining gap is that the shape of the `data` record itself is not characterized, which would help an agent parse the result.

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 the schema already explains user, domain, account and targetId; per the baseline this is a 3. The description only implies the three-part lookup ("one specific mailbox") and says nothing about how targetId interacts with the lookup or typical value formats, so it adds little semantic meaning over the structured fields.

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 enumerates exactly what is retrieved — configuration, aliases, forwarders, autoreply state, quota usage — for a single named mailbox, and names the underlying command (v-list-mail-account). It explicitly distinguishes itself from hestia_list_mail_accounts (enumerate) and hestia_mail_forward_audit (policy compliance), so an agent can separate it from siblings without opening a 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 enabling condition ("Use when inspecting a single known mailbox") and two explicit alternatives with the conditions that select them: hestia_list_mail_accounts for enumeration and hestia_mail_forward_audit for forward-policy compliance. Both when-to-use and when-to-use-something-else are covered.

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