Skip to main content
Glama
netdiag-server
by ZANYANBU

dns_lookup

Resolve a hostname to IP addresses using the system DNS or a specified DNS server to verify name resolution and diagnose DNS failures.

Instructions

Resolve a name to IP addresses with the system's DNS, or with a given DNS server such as 1.1.1.1.

Args: name: Host name to look up, e.g. youtube.com. server: Optional DNS server IP to ask instead of the system's own.

Input Schema

NameRequiredDescriptionDefault
nameYes
serverNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 discloses the resolution mechanism (system DNS vs. explicit server), which is useful, but says nothing about failure modes (NXDOMAIN, timeouts), whether the query is read-only/safe, or what the response contains.

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?

One front-loaded sentence plus a compact Args block; no filler. The Args section is slightly redundant in style but earns its place given the empty schema descriptions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema and no annotations, and the description never says what comes back (list of A/AAAA records? ordering? address family?). For a lookup tool this is a real gap, though the call mechanics are otherwise clear.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the docstring Args block does real work: it defines 'name' as a host name with an example and 'server' as an optional DNS server IP used instead of the system's own. Both parameters are covered, though the accepted format of 'server' (port? hostname?) is not stated.

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: resolve a host name to IP addresses, with the system resolver or an explicit server. That is clearly distinct from ping/traceroute/port_check siblings, although the description never names or contrasts them.

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?

The phrase 'or with a given DNS server such as 1.1.1.1' implies when the optional server argument is worth supplying, but there is no explicit when-to-use/when-not guidance or comparison against siblings like ping or http_check that also trigger resolution.

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