Skip to main content
Glama

Lookup Kit

dns_lookup

Read-only

DNS lookup, DNS records (A, MX, TXT, NS, CNAME) for any domain. Look up DNS records for a domain: A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV or all the common ones at once (type=ALL). Uses Cloudflare's public 1.1.1.1 resolver over HTTPS. Returns each record with its TTL. Price: $0.002 per call (x402, USDC on Base).

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

Input Schema

NameRequiredDescriptionDefault
typeNoALL
domainYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description goes further by naming the upstream resolver (Cloudflare 1.1.1.1 over HTTPS), stating that each record comes back with its TTL, and disclosing the $0.002 per-call x402/USDC cost. That pricing detail is material for an agent deciding whether to call. It stops short of describing failure behavior for nonexistent domains or invalid record types.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first two sentences restate the same idea, with the record-type list duplicated in near-identical form ('A, MX, TXT, NS, CNAME' then 'A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV'), which wastes space before the useful resolver and pricing facts arrive. Front-loading is otherwise fine and the sentence order is logical.

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 simple two-parameter read tool with no output schema, the description covers the essentials: what is queried, the full type vocabulary, the data source, the return shape (records with TTL), and cost. Only edge-case behavior for invalid types or missing domains is unaddressed, which is a minor gap given the tool's simplicity.

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 description coverage is 0% and the schema has no enum, so the description carries the burden — and it does, listing A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV and ALL as legal type values, plus documenting the ALL default behavior. The domain parameter is left to the schema, which is acceptable since it is self-evident.

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: look up DNS records for a domain, with the record types enumerated. It's clear what the tool does, though it never distinguishes itself from adjacent siblings like check_domain or email_security, so an agent must infer 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 Guidelines3/5

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

Usage is implied by 'for any domain' and by the explicit hint that type=ALL fetches all common records at once, which tells the agent how to do a broad fetch. There is no when-to-use versus when-not guidance and no named alternative among the many domain-related siblings.

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