Skip to main content
Glama

dns_records

Read-only

Look up public DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) for a domain via Cloudflare's public resolver to verify DNS configuration.

Instructions

Look up public DNS records for a domain through Cloudflare's public resolver.

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

Input Schema

NameRequiredDescriptionDefault
nameYesDomain name
record_typeNoA, AAAA, MX, TXT, NS, CNAME, SOA or CAA (default A)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe, non-mutating read, and the description usefully adds that queries go through a public resolver (not the caller's internal DNS). It says nothing about rate limits, behavior for nonexistent domains/NXDOMAIN, or the shape of the returned records, and there is no output schema to cover that gap.

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 with zero filler; the core action and the resolution source are both in the first few words. Nothing in it is redundant with the name or 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?

For a two-parameter read-only lookup with full schema coverage and a readOnly annotation, the definition conveys action, scope and source, which is close to sufficient. The remaining shortfall is that with no output schema it never hints at return structure (record values, TTL, multiple-answer behavior) or error semantics.

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%, so both 'name' and 'record_type' are already documented, including the default of A and the accepted type list. The description adds no extra meaning such as wildcard handling, IDN/Punycode expectations, or how multiple records of the same type are returned, so baseline 3 applies.

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 states a specific verb ('Look up') and resource ('public DNS records') plus the data source ('Cloudflare's public resolver'), so an agent knows exactly what the tool returns. It does not contrast itself with any sibling, though the sibling list contains no other DNS-lookup tool, so differentiation is mostly moot.

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: the word 'public' signals that private/local zones and zone management are out of scope, but there is no explicit when-to-use or when-not-to-use statement. No named alternative or prerequisite is offered, leaving the agent to infer the boundary from a single adjective.

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