Skip to main content
Glama

DMARC/SPF checker + is this email spoofed

Check a domain's email spoofing protection

check_dmarc
Read-onlyIdempotent

Email spoofing protection check: live DNS check of a domain's DMARC and SPF records. Says whether others can send email pretending to be the domain (spoofing/phishing exposure), the DMARC policy (none/quarantine/reject), whether reports are collected, and what to fix. Also returns the raw TXT records at the domain and at _dmarc, and the MX hosts. Free, no login. Example: {"domain":"example.com"}.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "example.com"
    },
    "name": "check_dmarc"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain to check, e.g. 'example.com' (a URL or email domain also works).

Output Schema

NameRequiredDescriptionDefault
okNo
spfNo
dmarcNo
errorNo
domainNo
policyNo
mx_hostsNoMX hosts, lowest priority first.
problemsNo
checked_atNo
dmarc_nameNo
txt_recordsNoAll TXT records at the domain apex (SPF, site verifications).
suggested_spfNo
suggested_dmarcNo
dmarc_txt_recordsNoAll TXT records at _dmarc.<domain>.
suggested_dmarc_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnly/openWorld/idempotent), the description adds real behavior: this performs a live DNS lookup, requires no authentication or cost, and covers both the apex domain and the _dmarc subdomain. It does not discuss failure modes (e.g. NXDOMAIN, timeouts) or lookup cost/latency, so it stops short of full disclosure.

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 core capability and outcome are front-loaded in the first sentence, and the trailing detail on records/MX is useful context. The closing 'Example: {"domain":"example.com"}' duplicates the schema's own examples and is the one piece of waste.

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 enumerate return fields, and it correctly stays at the level of what the check determines. Annotations cover the safety profile and the single parameter is fully documented, leaving little an agent needs that 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 coverage is 100% and the schema already documents 'domain' including that a URL or email domain is accepted. The description only repeats an example object, adding no syntax or normalization detail beyond the schema, so the baseline 3 applies.

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 and resource — a live DNS check of a domain's DMARC and SPF records — and names the concrete outcome (whether others can spoof the domain). This is clearly distinguishable from every listed sibling (send, inbox, post, stats, check_email_headers), none of which is an email-authentication posture check.

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?

The scenario is implied well (checking spoofing/phishing exposure), and 'Free, no login' tells the agent there is no prerequisite. However, the closest sibling, check_email_headers, is never mentioned or differentiated, so the agent must infer which of the two to call for an email-auth question.

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