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

google-doh-dns-inspector-mcp

Resolve DNS record via Google DoH

resolve_dns_record
Read-onlyIdempotent

Resolve standard DNS records through Google Public DNS-over-HTTPS to inspect or audit domain configuration without API keys or sign-up.

Instructions

Query Google Public DNS-over-HTTPS (dns.google/resolve) for any standard DNS record type (A, AAAA, CNAME, MX, TXT, NS, SOA, CAA, DS, DNSKEY, SRV, HTTPS).

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

Input Schema

NameRequiredDescriptionDefault
dnssecNoInclude DNSSEC DO bit (default false).
domainYesDomain or hostname (e.g. "stripe.com").
record_typeNoDNS record type (default "A"; e.g. "MX", "TXT", "CAA", "NS").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world behavior, so the bar is lower. The description adds real value by naming the third-party resolver (Google DoH), which tells the agent results reflect Google's resolution/cache rather than authoritative servers, but it says nothing about error cases, NXDOMAIN handling, or latency/rate characteristics.

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 naming the endpoint first, then the capability. Nothing is redundant or padded.

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?

For a simple three-parameter read tool with full annotation and schema coverage, the description is largely sufficient. The notable gap is the return shape: there is no output schema, and the description never indicates that the DoH response is JSON with Status/Answer fields, so the agent must discover the payload structure empirically.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description goes further by enumerating the complete supported type set (including DS, DNSKEY, SRV, HTTPS) while the schema only offers examples, which tells the agent which values are valid instead of inviting trial and error.

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?

Specific verb 'Query' plus resource 'Google Public DNS-over-HTTPS (dns.google/resolve)' and the full set of supported record types. It is clear what the tool does, but it never references the sibling audit/inspect tools, so differentiation from them is left to the agent.

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?

Phrasing like 'any standard DNS record type' implies general-purpose raw lookups as opposed to the targeted audit tools, but no when-to-use/when-not-to-use guidance or named alternative is given. Usage is only inferable from the framing, not stated.

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