Skip to main content
Glama

Reverse Dns

reverse_dns
Read-onlyIdempotent

"What hostname is [IP]" / "reverse DNS for [address]" / "PTR record lookup" — reverse DNS (PTR) lookup via HackerTarget, mapping an IP address back to the hostname its owner published. Use to identify the operator behind an address in a log line. Returns nothing when no PTR record is set, which is common for cloud IPs.

Input Schema

NameRequiredDescriptionDefault
targetYesIPv4 or IPv6 address, e.g. "8.8.8.8".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "target": "8.8.8.8"
      +  }
      +]
    • addedInput schema / properties / target / description
      Added value: +"IPv4 or IPv6 address, e.g. \"8.8.8.8\"."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the read-only, idempotent, open-world safety profile. The description adds real behavioral context beyond them: the lookup runs via HackerTarget and returns nothing when no PTR record is set, which is common for cloud IPs – a useful non-obvious failure mode.

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?

Front-loads the intent phrasings before the technical explanation, so the agent hits the trigger words first. The three quoted search phrases are mildly redundant given the clear sentence that follows, but the whole thing stays 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 no output schema, the description compensates by explaining the return behavior (empty result when no PTR record exists). For a one-parameter lookup tool this is essentially complete; only the explicit alternative-tool routing is missing.

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 a single parameter with 100% schema coverage, and the schema already documents it as an IPv4/IPv6 address. The description only reinforces 'maps an IP address back' without adding format or syntax detail, so the schema carries the load.

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+resource (reverse DNS/PTR lookup) and names the effect precisely: mapping an IP back to the hostname its owner published. It also includes user-intent phrasings and the provider, distinguishing it clearly from forward-DNS siblings like dns_lookup and from reverse_ip.

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

Usage Guidelines4/5

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

Gives a concrete scenario: 'Use to identify the operator behind an address in a log line.' That's clear context for when to reach for it, but it never names the alternative tools (dns_lookup, reverse_ip, whois) or states when this is the wrong choice.

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.