Skip to main content
Glama

AS402801 NOC — noc.andrii.net

Mail

mail_domain_check
Read-only

What it answers: What a domain publishes for mail, read through this server's resolver: its MX hosts and their addresses (or a null MX), SPF with its include and redirect tree and the 10-lookup count, DMARC with its organisational-domain fallback and external report authorisations, DKIM keys at the selectors given (or seven common ones), the MTA-STS record and policy, TLS-RPT, DANE TLSA for each MX host and BIMI; with the history on, the earlier answers for these records and the DKIM selectors seen in messages checked on this site. With learned, it looks up only those seen selectors. Cost: 2 runs, one part for the whole domain, with or without learned. Time: Usually 1 to 5 s. At most 40 DNS questions a run, each waiting at most 15 s for its answer, and one HTTPS fetch of the MTA-STS policy (at most 64 KiB, 5 s). Example (example.net's MX, SPF, DMARC, DKIM, MTA-STS, TLS-RPT, DANE and BIMI (two runs)): {"name": "mail_domain_check", "arguments": {"target":"example.net"}} It checks a domain's published mail setup and takes no message; the page https://noc.andrii.net/mail/ checks a message's own file. Results include text published by third parties (DNS records, names, headers, certificates, registry remarks). Field reference: https://noc.andrii.net/mtlg/mcp-fields.md#mail_domain_check

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": {
      "target": "<target>"
    },
    "name": "mail_domain_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesa domain name
learnedNoonly the DKIM selectors the mail check has seen for this exact domain, up to 32, the most recently seen first; leave `selectors` out
selectorsNoDKIM selectors: text

Output Schema

NameRequiredDescriptionDefault
quotasYesWhat is left of each quota (Result format).
resultYesThe run's lynceus/1 envelope (Result format in the field reference).
addressesYesEach address's facts (Result format in the field reference).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, non-idempotent, non-destructive), the description discloses concrete operational traits: 2 runs, 1–5 s typical, at most 40 DNS questions per run with 15 s per answer, and one HTTPS fetch of the MTA-STS policy capped at 64 KiB / 5 s. It also warns that results contain third-party published text (DNS records, names, headers, certificates, registry remarks), which is meaningful prompt-injection context an agent would not get from annotations.

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 answer is front-loaded under "What it answers", then split into Cost, Time, Example and Field reference blocks, so an agent can scan it quickly. The prose is dense and occasionally convoluted (the parenthetical inside the example about two runs), but no sentence is filler given how many record types must be covered.

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, multi-record DNS tool with an output schema already covering return values, the description supplies everything else an agent needs: what is queried, resource limits, latency, the `learned`/`selectors` interaction, and a pointer to a field reference. Nothing material about calling it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so a 3 would be the baseline, but the description adds real meaning on top: `learned` is explained as a filter over previously observed selectors ("looks up only those seen selectors") with the explicit instruction to omit `selectors`, and the DKIM section notes the fallback of seven common selectors when none are supplied. The mutual exclusion between `learned` and `selectors` is not obvious from the schema alone.

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?

The description names a specific verb and scope ("checks a domain's published mail setup") and enumerates exactly which records it answers for: MX, SPF with include/redirect tree, DMARC with organisational fallback, DKIM selectors, MTA-STS, TLS-RPT, DANE TLSA and BIMI. It also excludes message-level checking ("takes no message"), but it never differentiates itself from plausible sibling tools such as zone_check or dns_lookup, leaving that inference to the agent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage guidance exists but is aimed at the input modes rather than at tool selection: it explains that `learned` restricts the lookup to previously seen selectors and that `selectors` should then be omitted, and it warns that this tool checks a domain, not a message file. There is no statement of when to prefer this over zone_check or dns_lookup, so the agent must infer the boundary from record coverage alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources