Skip to main content
Glama

Reverse DNS lookup

reverse_dns
Read-onlyIdempotent

Finds the PTR (reverse DNS) name of an IP address and checks that the name resolves back to the same address (forward-confirmed reverse DNS), which mail servers look for.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ip": "<ip>"
    },
    "name": "reverse_dns"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesA public IPv4 or IPv6 address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description still adds real value beyond them by disclosing that two lookups occur (PTR plus forward confirmation), which tells the agent the call is heavier than a single record fetch and that a mismatch result is possible. It does not say what happens when no PTR exists or for non-public addresses.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the primary action, then the secondary confirmation check and its relevance. Nothing is redundant or padding.

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?

For a one-parameter, no-output-schema tool this covers what the agent needs: what is looked up, that a second confirming lookup occurs, and the practical motivation. The only gap is the no-PTR / failure outcome, which matters for interpreting an empty result.

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 at 100% schema description coverage ('A public IPv4 or IPv6 address'), so the schema already carries the semantics. The description adds nothing about format, private-range handling, or how the address maps to the returned name, so baseline 3 is appropriate.

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: it finds the PTR name of an IP address and additionally performs a forward-confirmation check. That is far more precise than a generic 'DNS lookup', though it never names the sibling (dns_lookup, ip_lookup) it should be chosen over, so differentiation is left to inference.

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 context is implied rather than stated: 'which mail servers look for' signals this is relevant for mail/deliverability diagnostics, but there is no explicit when-to-use or when-not-to-use instruction and no pointer to alternatives such as dns_lookup for other record types.

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.

Resources