Skip to main content
Glama

Reverse Dns Lookup

reverse_dns_lookup

Resolve an IPv4 or IPv6 address to its PTR hostname and confirm it with a forward DNS lookup to verify reverse DNS records.

Instructions

Reverse DNS (PTR) lookup with forward confirmation

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 or IPv6 address
timeoutNoTimeout in seconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/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, and it does disclose one meaningful behavior: a forward confirmation step accompanies the PTR lookup. But it says nothing about failure modes (NXDOMAIN, timeouts), what the confirmation means for the result, 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?

A single front-loaded sentence with zero padding. It is efficient, though so terse that it verges on under-specification for a tool with no annotations.

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?

The tool is simple (2 params, full schema coverage, no output schema), but 'forward confirmation' is never unpacked — an agent cannot tell whether the result includes both PTR and A/AAAA records or what happens when confirmation fails. That leaves a real gap in an otherwise low-complexity case.

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 coverage is 100%, so 'ip' (IPv4 or IPv6) and 'timeout' (seconds, default 5) are already fully documented in the schema. The description adds no syntax, format, or timeout-interaction detail beyond that baseline.

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?

Names a specific verb and resource: reverse DNS (PTR) lookup. The added clause 'with forward confirmation' distinguishes it slightly from generic siblings like nslookup_query or dig_query, though no sibling is named explicitly.

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?

The description never says when to choose this over the many DNS siblings (nslookup_query, dig_query, host_lookup) or when it is unnecessary. No prerequisites, no exclusions, no alternative routing.

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