Skip to main content
Glama

DNS lookup

dns_lookup
Read-only

Resolve DNS records for a domain, identify its DNS host and email provider from NS and MX records, and check whether the name resolves. Costs $0.001 per call.

Instructions

Resolve DNS records for a domain (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA; A, AAAA, MX, NS and TXT by default), identify its DNS host and email provider from its NS and MX records, and say whether the name resolves at all. Costs $0.001 per call.

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
typesNoRecord types to fetch. Defaults to A, AAAA, MX, NS, TXT.
domainYesDomain name, e.g. stripe.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries the rest of the burden and does add real context: the per-call cost ($0.001), the default record set applied when types is omitted, and the extra derived verdicts (host/email provider, whether the name resolves at all). It stops short of describing failure behavior for non-resolving domains or whether results are cached/live.

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?

A single dense sentence that front-loads the core action, with record types, defaults, derived outputs, and cost in descending importance. It is slightly run-on, but every clause (including the pricing) carries information an agent would want before calling.

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 tool with no output schema, the description covers the inputs' defaults and sketches the return surface (records plus host/email provider and resolvability). The exact shape of record values and error cases for unresolvable or invalid domains are not described, which is a minor remaining gap.

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 100%, so both parameters are already documented, including the enum and the default set. The description repeats the same default-type information and adds no format or semantics beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ("Resolve DNS records for a domain") and enumerates the supported record types, the default set, and the derived outputs (DNS host, email provider, resolvability). An agent can easily distinguish this from siblings like domain_whois or ip_lookup without opening the schema.

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 rather than stated: an agent infers this is the tool for DNS record questions, but there is no explicit when-to-use guidance, no mention of when to prefer domain_whois or ip_lookup, and no prerequisites or limitations (e.g. lookup latency, unsupported TLDs).

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