Skip to main content
Glama

DNS Lookup

dns_lookup
Read-only

Look up a domain's DNS records: A, AAAA, MX, NS, TXT, CNAME, SOA and CAA. A record type the resolver could not answer is listed under unavailable.

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
domainYesDomain name, such as example.com

Output Schema

NameRequiredDescriptionDefault
domainYes
creditsYes
recordsYesIt holds one member for each record type. [] means the domain has no record of that type. null means the question failed, and unavailable says why. soa is also null when the domain has no SOA record. Then unavailable has no soa member.
summaryYes
servicesYesThe services a TXT record names. evidence is the word the service asks its customers to publish. A listed service is not proof that the domain uses it.
unavailableYesIt names each record type whose question failed, with its reason code. It is {} when every question was answered. The code says why the DNS question failed. It is nxdomain, server_error, truncated, malformed_answer, timeout or not_public_name.
non_public_addressesYesThe A and AAAA addresses that are not globally reachable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and network reach are covered. The description adds genuine value beyond them by disclosing that unresolvable record types are reported under an 'unavailable' key rather than causing failure, which tells the agent to expect partial results and not treat them as errors.

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 tight sentences with zero filler: the capability and record types come first, and the fallback behavior follows. Every clause earns its place and nothing is repeated from the schema or annotations.

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?

An output schema exists, so return values need not be explained, and a single-parameter read-only tool needs little more. The only missing element is any note on resolver behavior such as timeouts or rate limits, which is minor for this complexity level.

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?

There is a single required parameter with 100% schema description coverage, including an example domain, so the schema carries the full burden. The description adds no further parameter meaning (no format rules or edge cases beyond what the schema states), making the baseline 3 appropriate.

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 opens with a specific verb and resource ('Look up a domain's DNS records') and enumerates the exact record types returned, so an agent knows precisely what data comes back. It does not explicitly differentiate itself from siblings like dns_takeover_check, but the record-type enumeration makes the scope unambiguous on its own.

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 only implied — the tool is for obtaining DNS records for a domain, which is self-evident from the purpose statement. There is no explicit when-to-use guidance or pointer to alternatives such as dns_takeover_check for takeover analysis, leaving the agent to infer routing.

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.