Skip to main content
Glama

Dns Lookup

dns_lookup
Read-only

DNS records of a domain (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR) over DNS-over-HTTPS (1.1.1.1), with DNSSEC validation status. Costs USD 0.001 per call, paid with x402 (USDC on Base); calls that fail are not charged.

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
typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered; the description adds genuinely new context beyond that — DNS-over-HTTPS via 1.1.1.1, DNSSEC validation status in the result, and a per-call price of USD 0.001 with x402/USDC payment where failures are not charged. That cost-and-billing disclosure is high-value for an agent deciding whether to call. It does not address why idempotentHint is false despite lookups appearing deterministic, nor any rate limiting.

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?

Two dense sentences with the capability front-loaded and billing last, no filler. The record-type list is partly duplicated by the enum in the schema, which is mild waste but useful for skimming.

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 read-only lookup with no output schema, the description covers source, coverage, DNSSEC status and cost, which is what an agent needs to call it responsibly. What is missing is return shape (flat record list vs per-type grouping) and the behavior when 'type' is unspecified.

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 coverage is 50%: 'name' is documented, while the 'type' enum has no schema description. The prose record-type list loosely corroborates the enum, but it does not explain what the parameter controls versus the returned set, nor what happens when 'type' is omitted — a real gap for an optional filter parameter.

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 names the resource (DNS records of a domain) and enumerates every supported record type, so an agent can tell this apart from domain_whois or read_url without opening the schema. It lacks an explicit leading verb phrase like 'Look up', relying on the fragment 'DNS records of a domain', but the intent is unambiguous.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing says to prefer this over domain_whois for registration data or over read_url for fetching content, and no prerequisites or exclusions are stated. The agent must infer applicability purely from the resource name and record-type list.

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