Skip to main content
Glama

Check SPF, DMARC, and DKIM email authentication

check_spf_dmarc_email_auth
Read-onlyIdempotent

Audit a domain for SPF (v=spf1), DMARC (_dmarc TXT policy, pct, rua), and optional DKIM selector records to evaluate spoofing protection.

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

Input Schema

NameRequiredDescriptionDefault
domainYesRoot domain to audit (e.g. "stripe.com", "cloudflare.com").
resolverNoDoH resolver (default "google").
dkim_selectorNoOptional DKIM selector (e.g. "google", "selector1", "s1").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds that it inspects specific record syntax (v=spf1, pct, rua) and that DKIM lookup is optional, but says nothing about behavior when records are absent, partial failures, rate limits, or resolver choice effects.

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?

A single front-loaded sentence that packs the audited record types and the goal (evaluating spoofing protection) with no filler. Parenthetical detail is targeted at the exact record fields checked rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description should convey what an audit returns – findings, pass/fail verdicts, raw records – and it does not. Combined with the silent handling of missing or malformed records, the definition leaves real gaps for a multi-record audit tool.

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%, with per-parameter examples and the resolver enum documented inline, so the baseline is 3. The description only restates that the DKIM selector is optional; it adds no syntax or interpretation 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?

Specific verb ('Audit') plus a precisely scoped resource: a domain's SPF, DMARC (_dmarc TXT policy, pct, rua) and optional DKIM selector records. The email-authentication framing clearly separates it from siblings such as check_dnssec_status, lookup_mx_mail_servers, and resolve_dns_record without having to name them.

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?

Usage is only implied – an agent can infer this is the tool for spoofing-protection assessment, and the word 'optional' signals when to supply dkim_selector. There is no explicit when-to-use/when-not-to-use guidance and no routing away from the sibling lookup tools for overlapping DNS queries.

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.