Skip to main content
Glama
doh-dns-security-records-mcp

doh-dns-security-records-mcp

Resolve DNS record over HTTPS (DoH)

resolve_dns_record
Read-onlyIdempotent

Resolve any DNS record type (A, AAAA, MX, TXT, CAA, NS, SOA, SRV, DNSSEC) for a domain via Google or Cloudflare DoH to verify configuration and troubleshoot resolution issues.

Instructions

Query Google Public DNS or Cloudflare DoH for any standard DNS record type (A, AAAA, CNAME, MX, TXT, NS, SOA, CAA, SRV, DS, DNSKEY, 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
dnssecNoRequest DNSSEC DO bit (default false).
domainYesDomain or hostname (e.g. "cloudflare.com").
resolverNoDoH resolver: "google" (default) or "cloudflare".
record_typeNoDNS record type (default "A"; e.g. "AAAA", "MX", "TXT", "CAA", "NS").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered. The description adds essentially no behavior beyond that: it does not mention rate limits, whether DNSSEC validation is performed versus just setting the DO bit, how NXDOMAIN/no-record results are reported, or what the response looks like.

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?

A single, front-loaded sentence that names the operation, providers, and scope with no filler. It is efficient, though its brevity leaves the gaps noted in usage and behavior unaddressed.

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 read-only query tool with a fully documented 4-parameter schema and complete annotations, the core need is covered. However, with no output schema, the description should indicate the shape of returned data (e.g., answer records as text) and error behavior; those omissions leave it merely adequate.

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% (domain, record_type, resolver enum, dnssec DO bit all documented inline), so the schema does the heavy lifting. The description only echoes the record-type list and provider names already present in the schema, adding no format or default nuances beyond it — baseline 3.

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 ('Query') and resource ('DNS record') and names the two DoH providers plus the supported record types, so the agent can tell it is a general-purpose DNS resolver. It does not explicitly differentiate itself from specialized siblings like lookup_mx_mail_servers or lookup_txt_verification_records, which is the only thing keeping it from a 5.

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: 'any standard DNS record type' suggests this is the generic lookup tool versus the specialized siblings. There is no explicit when-to-use, when-not-to-use, or statement about when to prefer lookup_mx_mail_servers/check_dnssec_status instead.

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