Skip to main content
Glama

Check email DNS

check_email_dns
Read-onlyIdempotent

Use this when the user wants an email DNS check, a DMARC checker, an SPF record checker, a DKIM checker, or an MX lookup for a domain. Reads the live public DNS records through DNS-over-HTTPS and returns MX hosts, the SPF record with its DNS-lookup count against the limit of 10, the DMARC policy, reporting and alignment, DKIM keys for the selectors you give, and a pass/warn/fail findings list with a fix and a CSV report. Do not use for internal DNS server visibility, full deliverability tests, or reading or sending mail.

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain to check, without http or a path, e.g. example.com.
dkim_selectorsNoUp to 5 DKIM selector names to test, e.g. ["mail", "selector1"]. Ask the mail provider or check the DKIM signature header if the selector is unknown.

Output Schema

NameRequiredDescriptionDefault
mxYes
spfYes
dkimYes
dmarcYes
domainYes
limitsYes
sourceYes
sourcesYes
summaryYes
findingsYes
downloadsYes
checked_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real substance on top: live public DNS via DoH, the specific outputs produced (MX hosts, SPF lookup count vs. the limit of 10, DMARC policy/reporting/alignment, DKIM keys, pass/warn/fail findings with fix and CSV report). External-dependency and scope facts are disclosed rather than left to inference.

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?

Three sentences, front-loaded with the trigger conditions and with zero filler. The first sentence is a long synonym enumeration, which is dense but earns its place for routing; slightly heavy on commas.

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?

Though an output schema exists, the description still usefully summarizes the returned findings, and it covers the external-DNS dependency, the SPF limit, and the exclusions. Nothing an agent needs to invoke it correctly is missing.

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 both parameters are already documented in the schema, establishing a baseline of 3. The description adds only marginal meaning, noting that DKIM results depend on 'the selectors you give' but offering no extra syntax, defaults, or failure guidance 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?

States a specific verb+resource ('email DNS check') and enumerates the concrete artifacts it covers (DMARC, SPF, DKIM, MX) plus the mechanism (DNS-over-HTTPS). An agent can immediately tell this apart from the sibling lookup_dns_records.

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?

Opens with an explicit trigger list ('Use this when the user wants...') mapped to user vocabulary, then gives hard exclusions ('Do not use for internal DNS server visibility, full deliverability tests, or reading or sending mail'). Both the when and the when-not are stated.

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