Skip to main content
Glama

Genesis tools

SPF Check & DMARC/DKIM Lookup (live DNS)

spf_dmarc_dkim_check
Read-only

Live DNS email-authentication check for any domain: parses the SPF record (mechanisms ip4/ip6/include/a/mx/all, plus the count of DNS lookups against the RFC 7208 limit of 10), reads the DMARC policy (p, sp, pct, rua), and tests whether the DKIM selector resolves. Returns a plain verdict on spoofing and deliverability risk, computed from public DNS at call time - facts a buyer's own LLM cannot know without doing the lookups. Input: {"domain": "example.com", "selector": "default"} (selector optional). Example input: {"domain": "example.com"}. Uses one call of your free daily calls or prepaid key; x402 clients pay $0.001 per call in USDC. Only successful calls count.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "spf_dmarc_dkim_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the description does not need to restate safety. It usefully adds behavior annotations don't cover: results are computed live at call time, DNS lookup counting is measured against the RFC 7208 limit of 10, and billing behavior is spelled out (one free daily call or prepaid key, $0.001 per call for x402, only successful calls count). It stops short of describing failure behavior for domains with no SPF or DMARC record.

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 is front-loaded in the first sentence, with inputs, examples, and pricing following in a logical order. Some phrasing, such as 'facts a buyer's own LLM cannot know', is promotional and could be trimmed without losing information.

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 no output schema, the description does describe the return value as a plain verdict on spoofing and deliverability risk, and it covers inputs, example usage, and cost. Gaps remain around edge cases (missing records, multiple DKIM selectors, invalid domains) and the schema/description mismatch on the 'selector' argument.

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 0% and the single 'domain' property has no description, so the description carries the burden and partially meets it with an example input. However, it introduces a 'selector' argument that is absent from the input schema, and it never states the expected domain format (bare domain, no scheme or path), leaving an agent to infer accepted input shape.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names specific verbs and resources: parse the SPF record, read the DMARC policy (p, sp, pct, rua), and test whether the DKIM selector resolves for a given domain. That is far more precise than a tautology. It does not, however, distinguish itself from the sibling email_verification tool, which an agent could plausibly confuse it with for deliverability checks.

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 implied by 'for any domain' and by noting the check is computed from public DNS at call time, but there is no explicit when-to-use or when-not-to-use guidance, and no mention of the closest alternative (email_verification). An agent can infer the context but must guess at the boundary.

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