Skip to main content
Glama

Dns Dns Lookup

dns_dns_lookup
Read-onlyIdempotent

Look up a specific DNS record type for a domain. Specify record type (e.g., 'A', 'MX', 'TXT', 'CNAME'). Returns records with TTLs and data values.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "example.com"
    },
    "name": "dns_dns_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoDNS record type to query (e.g., "A", "AAAA", "MX", "NS", "TXT", "CNAME", "SOA"). Defaults to "A".
domainYesDomain name to look up (e.g., "example.com", "mail.google.com")

Output Schema

NameRequiredDescriptionDefault
typeYesDNS record type that was queried
domainYesDomain name that was queried
statusYesDNS status code name (NOERROR, NXDOMAIN, etc.)
recordsYesArray of DNS records found
record_countYesNumber of records returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered without the description. The description adds only that records come back with TTLs and data values, which is thin and partly redundant with the existing output schema.

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?

Three short sentences, front-loaded with the purpose and free of padding. The final return-value sentence is the weakest since an output schema exists, but overall it is tight.

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?

With a documented schema, an output schema, and rich annotations, the description needs only to state what the tool does and its scope, which it does. Only the missing routing guidance toward the all-records and reverse-lookup siblings keeps it from a 5.

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%: the schema documents both 'type' (with the full example list and the 'A' default) and 'domain'. The description's parenthetical record-type examples merely restate what the schema already says, so it adds no new meaning. 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?

The description opens with a specific verb and resource ('Look up a specific DNS record type for a domain'), which is clearly distinct from a bulk or reverse lookup. It stops short of naming the sibling it contrasts with, so an agent must infer that dns_lookup_all exists for the all-records case.

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: you use this when you know which single record type you want. There is no explicit statement about when to prefer dns_lookup_all or dns_reverse_dns, and no prerequisites or edge cases (nonexistent domains, NXDOMAIN) are mentioned.

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.