Skip to main content
Glama

Agent Data Tools: Company, compliance and checks

DNS records lookup: A, AAAA, MX, TXT, CNAME, NS and more

dns_lookup
Read-only

Look up DNS records of a domain over DNS-over-HTTPS (Cloudflare 1.1.1.1): A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS, DNSKEY or HTTPS, with each answer's TTL, the response code (NOERROR, NXDOMAIN…) and whether DNSSEC validated. Use to check email (MX, SPF in TXT), verify a domain, or debug a DNS change; for whether the change has spread use dns_propagation. Example: name=example.com. Price $0.002/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDomain name (or a URL; its host is used). With no input at all this looks up example.com, the default.
typeNoRecord type: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS (default A)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"Domain name (or a URL; its host is used)"New value: +"Domain name (or a URL; its host is used). With no input at all this looks up example.com, the default."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover readOnly/destructive/openWorld, but the description adds cost behavior the annotations cannot convey: '$0.002/call via x402 USDC or a card key (/credits), first 10 free; failed calls free' and the warning that 'each call is charged, so repeats are not free' — consistent with idempotentHint=false. Without an output schema it also usefully discloses return content (per-answer TTL, response code like NOERROR/NXDOMAIN, DNSSEC validation status). Slight redundancy in restating 'changes nothing' is the only deduction.

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-loads capability, then record types, then use cases vs. the sibling, then pricing — a sensible priority order with no filler. It runs long as a single paragraph and partly repeats the readOnly annotation, costing it a point.

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 a two-parameter lookup with no output schema, the description covers what is queried, what comes back (TTL, response code, DNSSEC status), when to use it, and the cost model. Nothing an agent needs before calling is missing.

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 parameters (name, type) are already fully documented including defaults and the URL-accepted behavior. The description only adds 'Example: name=example.com', which is marginal beyond what the schema states; baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ('Look up DNS records of a domain') and enumerates the full record-type surface it covers (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, DS, DNSKEY, HTTPS). It also explicitly distinguishes itself from the sibling dns_propagation, so an agent can pick between them without opening either schema.

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

Usage Guidelines5/5

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

Gives three concrete use cases ('check email (MX, SPF in TXT), verify a domain, or debug a DNS change') and an explicit exclusion plus alternative routing: 'for whether the change has spread use dns_propagation.' This is exactly the when/when-not/alternative structure.

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