Skip to main content
Glama

Email auth DNS audit (SPF, DMARC, DKIM, MTA-STS)

email_auth_audit
Read-onlyIdempotent

Email authentication DNS audit for a domain or email address: SPF with recursive 10-lookup count and all qualifier, DMARC policy, pct and report addresses, DKIM selector probe, MTA-STS with policy file, TLS-RPT, BIMI and MX. Useful for deliverability checks, Google/Yahoo bulk-sender readiness and spoofing risk. Returns grade A-F, score, spoofable flag, parsed records and plain-language issues. Errors: 400 invalid domain, 404 NXDOMAIN. PAID: $0.001 USDC per call on Base via x402 (MCP transport: retry with params._meta["x402/payment"]). Same tool over plain HTTP: GET /v1/dns/email-auth.

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

Input Schema

NameRequiredDescriptionDefault
domainYesdomain or email address, e.g. paypal.com
selectorsNooptional comma-separated DKIM selectors to probe (max 12); default probes 12 common ones

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent and openWorld, but the description adds substantially more: the recursive 10-lookup SPF counting behavior, the 400/404 error semantics for invalid domain and NXDOMAIN, and a clear payment requirement ($0.001 USDC on Base via x402) with the specific retry mechanism through params._meta["x402/payment"]. A plain-HTTP equivalent endpoint is also disclosed, which materially affects how an agent plans the call.

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?

Purpose is front-loaded and nearly every clause carries new information (checks performed, return fields, error codes, payment, alternate endpoint). The record enumeration is slightly run-on and the phrase "all qualifier" is awkward, costing a point of polish rather than substance.

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?

With no output schema, the description carries the return-value burden and does so: grade A-F, score, spoofable flag, parsed records, and plain-language issues. Combined with the error codes and the paid-call mechanics, an agent has everything needed to invoke it and interpret the result.

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%, so both parameters are already documented, and the description does not restate or enrich them. The only realized behavior described — probing 12 common DKIM selectors by default — is already stated in the selectors schema, and the max-12 cap is also in the schema, so the description adds essentially nothing here.

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 names a specific resource (email authentication DNS records) and enumerates exactly what is inspected: SPF with recursive lookup count, DMARC policy/pct/report addresses, DKIM selector probe, MTA-STS policy file, TLS-RPT, BIMI and MX. No sibling tool in the supplied list overlaps this DNS-audit scope, so an agent can route here without opening the schema.

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?

It gives concrete use contexts — deliverability checks, Google/Yahoo bulk-sender readiness, spoofing risk — which is enough for an agent to recognize the intent. It stops short of explicit when-not-to-use guidance or naming an alternative, which keeps it below a 5.

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