Skip to main content
Glama

resolve_dns

Resolve a hostname to IP addresses and flag private ones to identify internal endpoints.

Instructions

Resolve a hostname to its IP address(es) and flag whether any are private.

Args: hostname: The hostname to resolve.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostnameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 behavioral burden. It usefully discloses the return shape (IP addresses plus a private-address flag), but says nothing about network access requirements, timeouts, or what happens on unresolvable hostnames, which are the traits an agent would most want for a DNS tool.

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 core sentence is front-loaded and wastes no words. The trailing 'Args:' block repeats the parameter name and type verbatim from the schema, adding length without value.

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, so it is good that the description explains the return values (addresses + private flag). However, for a network-dependent tool with zero annotations, the absence of any failure/timeout/error-handling context leaves a real gap.

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

Parameters2/5

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

Schema description coverage is 0% and the single parameter's 'documentation' is merely a restatement of its name ('hostname: The hostname to resolve'). No format hints (FQDN vs. bare name), no IPv6/IPv4 expectations, no examples, so the description fails to compensate for the schema gap.

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 (resolve) and resource (hostname/IP addresses) plus an extra output behavior (flagging private addresses). No sibling in the list performs DNS resolution, so no differentiation is needed, and an agent can immediately tell what this does.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus near-neighbors like check_connectivity, fetch_url, or validate_url, nor any stated prerequisites or expected failure modes. The 'flag private addresses' detail hints at an SSRF/security-screening use case but never states it, so usage 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.