Skip to main content
Glama

scan.mx Email Diagnostics

Check SPF

check_spf
Read-only

Check the domain SPF policy: presence, syntax, the all qualifier, and the 10-lookup limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesThe domain to check, e.g. example.com. No scheme or path.

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/5.0
Behavior4/5

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

Annotations already indicate read-only and open-world hints. The description adds behavioral specifics by naming the four checks performed (presence, syntax, all qualifier, 10-lookup limit), which is useful context beyond the annotations.

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?

Single sentence with no redundancy. Front-loads the main action and lists specific checks efficiently. Every word earns its place.

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 an output schema present, the description need not detail return values. It covers the core functionality (SPF policy checks) but could mention behavior on invalid domains or vague outcomes.

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% with a clear parameter description. The tool description does not add additional parameter-level meaning beyond what the schema already provides, so baseline 3 is appropriate.

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 clearly states it checks the domain SPF policy, listing specific aspects (presence, syntax, all qualifier, 10-lookup limit). This distinguishes it from sibling tools like check_dkim or check_dmarc which target different 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 Guidelines3/5

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

No explicit guidance on when to use this tool versus alternatives. The usage is implied by the tool name and description but lacks clear directives like 'use this when checking SPF validity' or mention of alternatives.

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