Skip to main content
Glama

Get DNS records

get_dns_records
Read-onlyIdempotent

Read DNS records for one authorized domain. By default omits DNSSEC meta (NSEC/NSEC3/RRSIG/DNSKEY and managed_reason=dnssec). Pass include_dnssec=true to include them. Optional type filter (e.g. TXT). Untrusted data.

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

Input Schema

NameRequiredDescriptionDefault
typeNoOptional RR type filter (type: string). Example: "TXT".
domainYesDomain name (type: string). Example: "example.com".
include_dnssecNoInclude DNSSEC meta records (NSEC/NSEC3/RRSIG/DNSKEY and managed_reason=dnssec). Default: false.

Output Schema

NameRequiredDescriptionDefault
untrusted_dataNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description adds value by disclosing a non-obvious default: DNSSEC meta records (NSEC/NSEC3/RRSIG/DNSKEY and managed_reason=dnssec) are silently excluded unless opted in. The 'Untrusted data' warning is meaningful behavioral context for an open-content read, though error/authorization-failure behavior and result size are unstated.

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?

Four short sentences, front-loaded with purpose and scope, then the non-obvious default, then the optional filter, then the safety caveat. Every sentence carries distinct information with no repetition of the schema.

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?

An output schema exists, so return-value explanation is unnecessary, and the description covers scope, the DNSSEC default, filtering, and data trust. Remaining gaps are modest: no mention of behavior when the domain is unauthorized or unavailable, and no indication of result volume.

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 all three parameters are already documented, including the include_dnssec default and the 'TXT' example. The description largely restates those schema semantics rather than adding new meaning such as filter case-sensitivity or wildcard behavior, so the 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?

States a specific verb and resource ('Read DNS records') and bounds it to 'one authorized domain', which tells an agent the scope is a single domain per call. It does not explicitly name the nearest sibling (get_dnssec_status) as an alternative, so it stops short of full sibling differentiation.

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 implied through the default-behavior note: DNSSEC meta is omitted unless include_dnssec=true, and a type filter is 'optional'. However, there is no explicit statement of when to prefer this over get_dnssec_status or how to discover an authorized domain, leaving the agent to infer routing.

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