Skip to main content
Glama

MailDoctor

Check email deliverability

check_domain
Read-onlyIdempotent

Diagnose a domain's email setup: SPF (incl. the 10 DNS-lookup limit), DKIM keys, DMARC policy, MX and mail provider, inbound spam-filter gateway, MTA-STS/TLS-RPT, and Spamhaus/SpamCop/Barracuda blocklists. Returns a grade A–F, a status per check, and the exact DNS TXT records to fix each problem, worst first. Use it when someone asks why their email goes to spam, whether SPF/DKIM/DMARC is set up correctly, or how to fix email DNS.

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": "check_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain or email address, e.g. example.com or me@example.com
dkim_selectorNoOptional custom DKIM selector if the domain uses a non-standard one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and open-world, so safety is covered; the description adds real value by disclosing the return shape (A–F grade, per-check status, exact DNS TXT records to fix each problem, ordered worst first). It does not mention caveats an agent might care about, such as behavior on nonexistent/unregistered domains or that external blocklist queries may be slow or rate-limited.

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?

Two sentences, front-loaded with the diagnostic scope, then the return contract, then the use cases. The long enumeration is dense but each clause names a distinct check, so nothing is filler.

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?

With no output schema, the description correctly takes on the burden of explaining what comes back (grade, per-check status, fix records, ordering), which is the key gap it needed to close. Remaining gaps are minor: no guidance on invalid domains, whether the check is expensive/slow, or how to act on the returned fix records via get_dns_fixes.

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% and both parameters are documented there, so the baseline is 3. The description adds no meaning beyond the schema — notably it never mentions dkim_selector or when a non-standard selector would need to be supplied, which is the one parameter whose usage is genuinely non-obvious.

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?

Specific verb ("Diagnose") plus resource ("a domain's email setup") followed by an explicit enumeration of the checks performed: SPF with the 10-lookup limit, DKIM, DMARC, MX/provider, spam gateway, MTA-STS/TLS-RPT, and three named blocklists. An agent can tell exactly what this tool does and what it does not (no mailbox-level or sending-volume diagnostics).

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

Usage Guidelines4/5

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

Gives three concrete triggering situations (mail going to spam, verifying SPF/DKIM/DMARC correctness, fixing email DNS), which is strong when-to-use guidance. It stops short of naming the sibling get_dns_fixes as the follow-up/alternative for remediation, so the boundary between diagnosing and fixing is left implicit.

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