Skip to main content
Glama

DNS Doctor - Email & DMARC

Check DMARC Readiness

get_readiness
Read-onlyIdempotent

Use this when a signed-in operator asks whether a monitored domain is ready for the next DMARC step. Read the DMARC enforcement-readiness verdict for ONE domain the caller's account monitors, computed from its aggregate (RUA) report window. Needs a connected DNS Doctor account or an API token. Returns whether the domain is ready to step its policy up, the blockers that say why it is not, the window the verdict rests on, and next_record — the validated record for the next step, generated by the engine and null while blocked. THAT NULL IS AN ANSWER: relay the blockers and never compose a stronger record to fill the gap. Present a returned record verbatim; a human must approve it before it is published. Use this before proposing enforcement — a scan can show a domain's current policy, but only this evidence window can say whether tightening it would start rejecting real mail. When record_withheld is true, the step is ready but the record is not included in the result: relay that and withheld_reason, and never compose a record. When hosted is present, the domain is on Automatic DMARC: DNS Doctor serves its record and steps are applied from the dashboard, so a ready step comes with record_withheld true and withheld_reason hosted; relay hosted.note (and hosted.next_step_at, when a step is scheduled) and never compose a 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": {
      "domain": "<domain>"
    },
    "name": "get_readiness"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesOne of the token account's VERIFIED monitored domains, e.g. example.com. Any other name — another account's, or one nobody monitors — is refused as not found; ownership is never disclosed.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare it read-only and idempotent, but the description goes well beyond by disclosing auth requirements (connected account or API token), the null/blocked semantics of next_record, the record_withheld path with withheld_reason, the hosted/Automatic DMARC branch, and a human-approval requirement before publishing. It also forbids a specific failure mode (composing a filler record), which is exactly the kind of guidance annotations cannot carry.

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?

Front-loaded with the when-to-use condition, and every branch (null, withheld, hosted) is called out. It is dense and repeats "never compose a record" three times, which is defensible per-branch but inflates length; bullet-style structure would be easier to scan.

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 single-parameter read tool with a full schema, complete annotations, and an output schema, nothing an agent needs is missing. The description still clarifies the one genuinely ambiguous return case — next_record being null while blocked — so the agent can interpret the output correctly.

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 coverage is 100% and the domain parameter already documents the verified-monitored-domain restriction and the not-found behavior, so the schema does the heavy lifting. The description reinforces "ONE domain" but adds no new syntax, format, or constraint beyond the schema.

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?

"Read the DMARC enforcement-readiness verdict for ONE domain the caller's account monitors" is a specific verb plus resource plus scope. It is clearly distinguished from scan-based siblings by the follow-up that a scan shows current policy while only the evidence window says whether tightening would reject real mail.

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?

States the triggering situation (a signed-in operator asking whether a monitored domain is ready for the next DMARC step) and an explicit timing rule: use this before proposing enforcement. It also names the contrasting capability (a scan) and the condition that selects this tool over it.

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.