Skip to main content
Glama
google-doh-dns-inspector-mcp

google-doh-dns-inspector-mcp

Audit SPF, DMARC, and DKIM via Google DoH

audit_email_auth_dns
Read-onlyIdempotent

Audit a domain's email authentication DNS by checking SPF, DMARC, and optional DKIM selector records via Google Public DoH to identify missing or misconfigured policies.

Instructions

Inspect a domain for SPF (v=spf1), DMARC (_dmarc TXT policy, pct, rua), and optional DKIM selector records using Google Public DoH.

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

Input Schema

NameRequiredDescriptionDefault
domainYesRoot domain to audit (e.g. "stripe.com").
dkim_selectorNoOptional DKIM selector (e.g. "google", "selector1").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare the tool as read-only, idempotent, open-world, and non-destructive. The description adds useful context that queries go through Google Public DoH and names specific DMARC fields inspected, but it does not disclose rate limits, failure behavior, or return shape.

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?

The description is a single, front-loaded sentence with no unnecessary wording. It is appropriately sized for a two-parameter read-only audit tool.

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?

For a low-complexity read-only audit, the description covers the record types, the external resolver, and the optional DKIM selector, while annotations and schema carry the safety and parameter details. The main remaining gap is that no output or failure shape is described.

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 defines the required domain and optional DKIM selector with examples. The description repeats the optional DKIM selector concept but adds no additional parameter semantics beyond what the schema provides.

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 gives a specific verb and resource: inspect a domain for SPF, DMARC, and optional DKIM selector records. It clearly identifies the DNS record types involved, though it does not explicitly contrast itself with sibling tools such as the MX or CAA/TLS auditors.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description states what the tool does but does not say when to use it, when not to use it, or which sibling tools are alternatives. Usage is only implicitly inferable from the purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.