Skip to main content
Glama

x402 Toolbox

Reverse DNS (PTR) for an IPv4 or IPv6 address, with forward confirmation

dns_reverse
Read-onlyIdempotent

Reverse DNS (PTR) for an IPv4 or IPv6 address, with forward confirmation. Looks up the PTR name of an IP address and checks forward-confirmed reverse DNS (FCrDNS): whether the PTR hostname resolves back to the same IP. Price: $0.005 USDC per call via x402 (eip155:8453).

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 or IPv6 address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context: the FCrDNS semantics (whether the PTR hostname resolves back to the same IP) and a concrete per-call price of $0.005 USDC via x402 on eip155:8453, which is critical for an agent deciding whether to invoke a paid endpoint.

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?

Three short sentences, front-loaded with the operation and then the payment constraint. The opening sentence duplicates the title verbatim, which is a small amount of redundancy but not enough to hurt readability.

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?

There is no output schema, and the description does explain the two things returned: the PTR name and the FCrDNS result. It stops short of describing the output shape (field names, behavior when no PTR exists), which is the only remaining gap for a single-parameter paid lookup.

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% for the single `ip` parameter, and the description only restates that it is an IPv4 or IPv6 address. No additional meaning (accepted formats, whether hostnames or CIDRs are rejected) is contributed beyond the schema, so baseline 3 applies.

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+resource: PTR lookup of an IP address plus a forward-confirmation check. The PTR/FCrDNS framing clearly separates it from the A/AAAA-oriented dns_lookup sibling, though it never names an alternative explicitly.

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 implied by the resource (reverse lookups of an IP) rather than stated. There is no guidance on when to prefer this over dns_lookup or ip_info, and no note about which IP families or edge cases (private ranges, no PTR record) are handled.

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.