Skip to main content
Glama

dns_lookup

Look up DNS records for a domain to retrieve A, AAAA, MX, TXT, NS, SOA, CNAME, SRV, and CAA data, helping identify IPs, mail servers, nameservers, and DNS configuration.

Instructions

Look up DNS records for a domain. Returns A, AAAA, MX, TXT, NS, SOA, CNAME, SRV, CAA records. Use this when you need to find IP addresses, mail servers, nameservers, or any DNS configuration for a domain.

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
domainYesThe domain name to look up (e.g., 'example.com')
record_typesNoSpecific record types to query. Defaults to all common types.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the return surface (the set of record types) and the default-to-all behavior, but says nothing about failure modes (NXDOMAIN, no records of a type), rate limits, or whether a record type absent from results is omitted or empty — meaningful gaps for a network lookup tool.

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?

Two sentences, zero filler: the purpose and return set come first, the usage condition second. Nothing is repeated or wasted.

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 fully documented schema, the description covers purpose, output surface, and selection criteria, which is close to sufficient. The absence of any failure-mode or result-shape note is the only remaining gap, and with no output schema the record-type enumeration largely compensates.

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%, with both 'domain' and 'record_types' documented including the default behavior and the enum set, so the schema already does the heavy lifting. The description adds no syntax, format, or filtering nuance beyond what the schema states, 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 ('Look up DNS records for a domain') and enumerates the record families returned, so the agent knows exactly what the tool produces. It stops short of explicitly distinguishing itself from siblings like reverse_dns or whois_lookup, which are adjacent lookup tools an agent could confuse it with.

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

Usage Guidelines4/5

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

'Use this when you need to find IP addresses, mail servers, nameservers, or any DNS configuration' gives clear positive selection criteria. There are no exclusions or named alternatives (e.g., use reverse_dns when you have an IP and want a name), so the routing between adjacent lookup tools is left to inference.

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