Skip to main content
Glama

scan.mx Email Diagnostics

Full email deliverability check

check_domain
Read-only

Run the full email and DNS deliverability check for a domain: MX, SPF, DKIM, DMARC, DNS health, provider detection, and blacklists. Returns a letter grade (A+ to F, where specific weaknesses cap the grade), a 0 to 100 score, and every individual check with its RFC reference. Set include_smtp to also run a live SMTP probe of the mail servers: the probe is non-blocking, so when smtp_status is "pending" or "running" call this tool again (poll_after_seconds hints how long to wait) until smtp_status is "complete" and the SMTP checks appear in checks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesThe domain to check, e.g. example.com. No scheme or path.
include_smtpNoAlso run a live SMTP connectivity probe of the MX hosts. Non-blocking: poll by re-calling until smtp_status is complete.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
gradeNo
scoreNo
checksNo
domainYes
providerNo
sectionsNo
selectorNo
permalinkNo
smtp_noteNo
created_atNo
expires_atNo
updated_atNo
smtp_statusNo
poll_after_secondsNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description's job is lighter. The description adds value by explaining the non-blocking SMTP probe behavior (states smtp_status values like 'pending', 'running', 'complete'), the capping logic for the letter grade, and that results appear in checks. No contradiction with 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 description is a single paragraph of moderate length, packed with utility. Every sentence contributes essential details (scope, output format, polling behavior). It is front-loaded with the core purpose. Could be slightly more structured (e.g., bullet points for checks), but no redundant or irrelevant content.

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?

Given only 2 parameters, full schema coverage, an output schema (which explains return values), and read-only/open-world annotations, the description is complete: it covers what the tool does, what the output contains, how to handle the SMTP probe, and differentiates from siblings. Missing prerequisites (e.g., DNS access) are implied by the nature of the check.

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 description coverage is 100%, providing a baseline of 3. The description adds meaning beyond the schema by explaining the purpose of include_smtp (live probe, non-blocking, polling behavior) and the implications of the poll loop, which the schema's 'Non-blocking' note only hints at.

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?

The description opens with a specific verb ('Run') and enumerates the resources checked (MX, SPF, DKIM, DMARC, DNS health, provider detection, blacklists). It clearly distinguishes from the sibling tools like check_mx or check_spf by naming this a comprehensive 'full email and DNS deliverability check' that aggregates all those checks.

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?

The description provides clear context for when to use this tool—for a full deliverability check—and gives specific guidance on polling via the include_smtp parameter ('call this tool again...poll_after_seconds hints how long to wait'). While it doesn't explicitly exclude any siblings (e.g., 'use check_dkim if you only need DKIM'), the sibling differentiation is implicit in the comprehensive vs. single-check names.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool targets a distinct deliverability concern: blacklist status, DKIM, DMARC, full domain scan, MX, and SPF. There is no overlap in functionality; even check_domain's comprehensive check is clearly differentiated from the individual checks.

Naming Consistency5/5

All tools follow a consistent check_[resource] naming pattern (e.g., check_blacklist, check_dkim, check_dmarc). This pattern is uniform and predictable, making it easy for an agent to infer tool purposes.

Tool Count5/5

Six tools is an ideal scope for an email diagnostics server. Each tool covers a core aspect of deliverability (MX, SPF, DKIM, DMARC, blacklists, and a full scan), with no redundancy. The count feels complete and focused.

Completeness4/5

The tool set covers the major email deliverability checks (MX, SPF, DKIM, DMARC, blacklists, and a full domain scan with optional SMTP probe). A minor gap might be the lack of a dedicated tool for SPF or DKIM record modification, but for a diagnostic-only server, the coverage is robust and actionable.

Resources