Skip to main content
Glama

dns_lookup

Resolve A, AAAA, MX, and TXT records for a target domain and return TTLs and values in a structured Markdown table for DNS configuration review.

Instructions

Performs DNS resolution for A, AAAA, MX, and TXT records on a target domain name.

Args: domain: Target domain name (e.g. 'example.com')

Returns: Structured Markdown table containing DNS record types, TTLs, and values.

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
domainYesTarget domain name (e.g. 'example.com')

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does useful work by naming the queried record types and the return shape (Markdown table with TTLs and values), but it says nothing about the resolver used, timeout/error behavior for NXDOMAIN, or rate limits — the operational traits an agent would want before calling.

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?

The opening sentence is front-loaded and does the real work. The Google-style Args/Returns block is somewhat redundant given the schema already defines 'domain' and an output schema exists, but it is short and not misleading.

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 single-parameter read tool with an output schema, this covers purpose, the input, and the general return shape. The only meaningful omission is failure behavior for invalid or non-resolving domains, which is minor given the tool's simplicity.

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 one parameter and schema coverage is 100%, so the schema already documents 'domain' with the same 'example.com' example the description repeats. The description adds no meaning beyond the schema, which is the expected baseline for a fully documented single parameter.

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 ('DNS resolution') and resource (A, AAAA, MX, TXT records on a domain), which immediately distinguishes it from the sibling inspectors (whois, HTTP headers, SSL certs) that examine different artifacts. The record-type enumeration narrows scope precisely enough that an agent knows exactly what it will get.

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: an agent can infer it should call this when it needs DNS records for a domain, but there is no explicit statement of when to prefer this over whois_lookup or the other sibling inspectors, nor any prerequisites or exclusions. Adequate but with a clear routing gap.

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