Skip to main content
Glama

Get Mail Domain DKIM DNS Records

hestia_get_mail_domain_dkim_dns
Read-onlyIdempotent

Retrieves the DKIM DNS TXT record configured in HestiaCP for a mail domain, helping you verify or copy the expected selector and public key.

Instructions

Read DKIM public DNS TXT records configured in HestiaCP for a specific mail domain via v-list-mail-domain-dkim-dns. Use when verifying or copying expected DKIM DNS keys; prefer hestia_mail_deliverability_audit (serverops) for live DNS SPF/DKIM/DMARC/DNSBL checks. Returns { ok, targetId, command, data (DKIM selector and TXT 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_dkim_dns"
  }
}

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 declare readOnly, idempotent, non-destructive and closed-world, so the safety burden is covered. The description adds genuinely useful behavior beyond that: it reports HestiaCP's stored/expected records rather than querying live DNS, and it discloses the return envelope shape. No auth or rate-limit context, but nothing material is missing for a pure read.

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 compact sentences: purpose, then usage/alternative, then return shape. Front-loaded with the verb and resource, and every sentence carries information an agent would otherwise have to guess.

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?

There is no output schema, and the description compensates by spelling out the return shape { ok, targetId, command, data (DKIM selector and TXT record) }. Combined with the stated when-to-use and the annotations covering the safety profile, nothing needed to call this three-parameter read correctly is absent.

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 user, domain and targetId parameters are already documented in the schema. The description only says 'for a specific mail domain' and implies targetId via the returned field, adding no format or scoping detail beyond the schema. Baseline 3 applies 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?

States a specific verb+resource: reads DKIM public DNS TXT records configured in HestiaCP for a specific mail domain, and even names the underlying command (v-list-mail-domain-dkim-dns). The scope ('configured in HestiaCP', not live DNS) distinguishes it from DNS-checking tools.

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?

Explicitly says when to use it (verifying or copying expected DKIM DNS keys) and names an alternative with the condition that selects it (hestia_mail_deliverability_audit for live SPF/DKIM/DMARC/DNSBL checks). The configured-vs-live distinction is exactly the routing decision an agent needs.

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