Skip to main content
Glama

Dig one record

dig
Read-onlyIdempotent

Dig one name and type at one resolver on the board (the resolvers isitdns monitors), or at Cloudflare, Google, Quad9 and AdGuard side by side (resolver all): records, flags, rcode, EDE, latency. Asked over DoH from the isitdns edge. from moves the question to that region's probe as Do53 over UDP, and follow: true adds the CNAME chain as separate reads with DNSSEC off. A resolver given as an address must be on the board.

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": {
      "name": "<name>"
    },
    "name": "dig"
  }
}

Input Schema

NameRequiredDescriptionDefault
cdNoAsk the resolver not to validate
ecsNoEDNS Client Subnet, e.g. 192.0.2.0/24
fromNoAsk over Do53/UDP from the probe in this region (no other transport)
nameYesThe name, e.g. _dmarc.example.com. Send as name or domain; a URL is read as its host.
nsidNoRequest NSID (RFC 5001)
typeNoRecord type, e.g. A, MX, TXT, DS, HTTPS, or TYPE<n>A
norecNoClear RD, like dig +norec
dnssecNoSet the DO bit and read AD
familyNoAddress family for Do53 dials; a DoH request does not choose itv4
followNoAlso walk the CNAME chain from this name, hop by hop, to its addresses
resolverNoA board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, dns4eu-protective), its address or host name (8.8.8.8, dns.google), or all for cloudflare, google, quad9, adguard side by side. nextdns publishes no DoH: ask it with from.cloudflare

Output Schema

NameRequiredDescriptionDefault
apiYesThe /api GET that asks it again, as a new reading
queryNoThe question as asked: name, type, flags, transport
followNofollow: the CNAME hops, how the chain ends, its reads
resultsNoOne row per resolver: id, response (rcode, flags, records, EDE), latencyMs, at, vantage, or error
askAgainNoThe isitdns.net page that asks it again, when one does
notAskedNoNot asked: name, kind, reason, ref
receiptsNoOne per DNS read: what, of whom, from where, when, rcode, flags, EDE, ms, answer
agreementNoresolver all: rows grouped by answer, and the ones with none

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / notAsked
      Added value: +{
      +  "description": "Not asked: name, kind, reason, ref",
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"The name, e.g. _dmarc.example.com. Also as \"domain\"; a URL is read as its host."New value: +"The name, e.g. _dmarc.example.com. Send as name or domain; a URL is read as its host."
  3. Changed1 schema field changed
    • changedInput schema / properties / resolver / description
      Previous value: -"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, dns4eu-protective), its address or host name (8.8.8.8, dns.google), or all for cloudflare, google, quad9, adguard side by side."New value: +"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, dns4eu-protective), its address or host name (8.8.8.8, dns.google), or all for cloudflare, google, quad9, adguard side by side. nextdns publishes no DoH: ask it with from."
  4. Changed1 schema field changed
    • changedInput schema / properties / resolver / description
      Previous value: -"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, mullvad-base, dns4eu-protective), its address or host name (8.8.8.8, dns.google), or all for cloudflare, google, quad9, adguard side by side."New value: +"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, dns4eu-protective), its address or host name (8.8.8.8, dns.google), or all for cloudflare, google, quad9, adguard side by side."
  5. Changed3 schema fields changed
    • changedInput schema / properties / family / description
      Previous value: -"Address family to dial"New value: +"Address family for Do53 dials; a DoH request does not choose it"
    • changedInput schema / properties / from / description
      Previous value: -"Ask from the probe in this region"New value: +"Ask over Do53/UDP from the probe in this region (no other transport)"
    • changedInput schema / properties / resolver / description
      Previous value: -"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, mullvad-base, dns4eu-protective), an alias such as 8.8.8.8, or all for cloudflare, google, quad9, adguard side by side."New value: +"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, mullvad-base, dns4eu-protective), its address or host name (8.8.8.8, dns.google), or all for cloudflare, google, quad9, adguard side by side."
  6. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "agreement": {
      +      "description": "resolver all: rows grouped by answer, and the ones with none",
      +      "type": "object"
      +    },
      +    "api": {
      +      "description": "The /api GET that asks it again, as a new reading",
      +      "type": "string"
      +    },
      +    "askAgain": {
      +      "description": "The isitdns.net page that asks it again, when one does",
      +      "type": "string"
      +    },
      +    "follow": {
      +      "description": "follow: the CNAME hops, how the chain ends, its reads",
      +      "type": "object"
      +    },
      +    "query": {
      +      "description": "The question as asked: name, type, flags, transport",
      +      "type": "object"
      +    },
      +    "receipts": {
      +      "description": "One per DNS read: what, of whom, from where, when, rcode, flags, EDE, ms, answer",
      +      "type": "array"
      +    },
      +    "results": {
      +      "description": "One row per resolver: id, response (rcode, flags, records, EDE), latencyMs, at, vantage, or error",
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "api"
      +  ],
      +  "type": "object"
      +}
  7. Changed1 schema field changed
    • addedInput schema / properties / follow
      Added value: +{
      +  "default": false,
      +  "description": "Also walk the CNAME chain from this name, hop by hop, to its addresses",
      +  "type": "boolean"
      +}
  8. Changed1 schema field changed
    • changedInput schema / properties / resolver / description
      Previous value: -"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, mullvad-base, dns4eu-protective), an alias such as 8.8.8.8, or all for the tier-1 operators side by side."New value: +"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, mullvad-base, dns4eu-protective), an alias such as 8.8.8.8, or all for cloudflare, google, quad9, adguard side by side."
  9. Changed6 schema fields changed
    • changedInput schema / properties / cd / description
      Previous value: -"Checking disabled: ask the resolver not to validate"New value: +"Ask the resolver not to validate"
    • changedInput schema / properties / ecs / description
      Previous value: -"EDNS Client Subnet in CIDR form, e.g. 192.0.2.0/24"New value: +"EDNS Client Subnet, e.g. 192.0.2.0/24"
    • changedInput schema / properties / family / description
      Previous value: -"Which address family to dial the resolver on"New value: +"Address family to dial"
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "Ask from the probe in this region",
      +  "enum": [
      +    "north-america",
      +    "europe"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / name / description
      Previous value: -"The name to ask for, e.g. example.com or _dmarc.example.com. Also accepted as \"domain\"; a URL is reduced to its host."New value: +"The name, e.g. _dmarc.example.com. Also as \"domain\"; a URL is read as its host."
    • changedInput schema / properties / type / description
      Previous value: -"Record type: A, AAAA, MX, TXT, NS, SOA, CNAME, DS, DNSKEY, CAA, SRV, HTTPS, SVCB, PTR, or TYPE<n>"New value: +"Record type, e.g. A, MX, TXT, DS, HTTPS, or TYPE<n>"
  10. Changed1 schema field changed
    • changedInput schema / properties / resolver / description
      Previous value: -"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, mullvad-base, dns4eu-protective), a registry alias such as 8.8.8.8 or dns.google, or \"all\" for the tier-1 operators side by side (cloudflare, google, quad9, adguard). An address that is not on the board is refused here with the HTTP URL that can dial it."New value: +"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, mullvad-base, dns4eu-protective), an alias such as 8.8.8.8, or all for the tier-1 operators side by side."
  11. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"The name to ask for, e.g. example.com or _dmarc.example.com"New value: +"The name to ask for, e.g. example.com or _dmarc.example.com. Also accepted as \"domain\"; a URL is reduced to its host."
  12. Changed1 schema field changed
    • changedInput schema / properties / resolver / description
      Previous value: -"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, mullvad-base, dns4eu-protective), a registry alias such as 8.8.8.8 or dns.google, or \"all\" for every public resolver side by side. An address that is not on the board is refused here with the HTTP URL that can dial it."New value: +"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, mullvad-base, dns4eu-protective), a registry alias such as 8.8.8.8 or dns.google, or \"all\" for the tier-1 operators side by side (cloudflare, google, quad9, adguard). An address that is not on the board is refused here with the HTTP URL that can dial it."
  13. Changed3 schema fields changed
    • changedInput schema / properties / norec / description
      Previous value: -"Clear RD, like dig +norec, when asking an authoritative server directly"New value: +"Clear RD, like dig +norec"
    • changedInput schema / properties / resolver / description
      Previous value: -"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, mullvad-base, dns4eu-protective), a registry alias such as 8.8.8.8 or dns.google, \"all\" for every public resolver side by side, or any public IP address"New value: +"A board resolver id (cloudflare, google, quad9, opendns, adguard, cleanbrowsing, controld, quad9-unfiltered, adguard-family, cleanbrowsing-family, adguard-unfiltered, opendns-familyshield, nextdns, cloudflare-malware, cloudflare-family, mullvad-base, dns4eu-protective), a registry alias such as 8.8.8.8 or dns.google, or \"all\" for every public resolver side by side. An address that is not on the board is refused here with the HTTP URL that can dial it."
    • removedInput schema / properties / transport
      Removed value: -{
      -  "default": "doh",
      -  "description": "DoH (RFC 8484 wire format), DoT on 853, Do53 over TCP, or Do53 over UDP. udp53 is the transport the Cloudflare edge cannot run, so it is measured from our own probe off Cloudflare (each result says which seat measured it in vantage) and it carries RD and DNSSEC only: +cd, ECS and NSID are refused rather than dropped.",
      -  "enum": [
      -    "doh",
      -    "dot",
      -    "tcp53",
      -    "udp53"
      -  ],
      -  "type": "string"
      -}
  14. Changed2 schema fields changed
    • changedInput schema / properties / transport / description
      Previous value: -"DoH (RFC 8484 wire format), DoT on 853, or Do53 over TCP"New value: +"DoH (RFC 8484 wire format), DoT on 853, Do53 over TCP, or Do53 over UDP. udp53 is the transport the Cloudflare edge cannot run, so it is measured from our own probe off Cloudflare (each result says which seat measured it in vantage) and it carries RD and DNSSEC only: +cd, ECS and NSID are refused rather than dropped."
    • changedInput schema / properties / transport / enum
      Previous value: -[
      -  "doh",
      -  "dot",
      -  "tcp53"
      -]New value: +[
      +  "doh",
      +  "dot",
      +  "tcp53",
      +  "udp53"
      +]
  15. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare it a safe, idempotent, open-world read; the description adds real behavioral context beyond that: queries go over DoH from the isitdns edge, 'from' switches transport to Do53/UDP at a regional probe, follow:true issues additional per-hop reads with DNSSEC disabled, and off-board resolver addresses are rejected. These are non-obvious operational traits an agent would otherwise get wrong.

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?

Front-loaded with the core action, then transport, then per-flag behavior, then the resolver constraint — a sensible ordering. It is dense and slightly awkward in places ('the resolvers isitdns monitors', the mid-sentence transport aside), but every clause carries information.

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

Completeness5/5

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

For an 11-parameter tool with an output schema and full schema coverage, the description covers the parts that actually cause misinvocation: resolver selection modes, transport switch via 'from', CNAME chain semantics, and the DoH gap for nextdns. Return values are covered by the output schema, so nothing material is missing.

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 still adds meaning the schema lacks, notably what 'follow' actually causes (separate CNAME reads with DNSSEC off), that 'from' changes transport rather than just region, and the board-membership restriction on resolver addresses. Lesser parameters (cd, ecs, nsid, norec, family, type) are left entirely to the schema.

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?

States a concrete verb and resource ('Dig one name and type at one resolver'), names the supported resolver modes, and enumerates the returned data (records, flags, rcode, EDE, latency). An agent can tell this is a single-record DNS query tool, though no sibling (trace, dnssec_chain, check_domain) is named to sharpen the boundary.

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

Usage Guidelines4/5

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

Gives conditional guidance: use resolver 'all' for side-by-side comparison, use 'from' when a regional Do53/UDP probe is wanted, use follow:true to walk the CNAME chain, and use 'from' for nextdns since it publishes no DoH. It also states a hard constraint ('a resolver given as an address must be on the board'). What's missing is explicit routing away from sibling tools.

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