Skip to main content
Glama

get_ptr_record

Read-only

Retrieve the current PTR record (reverse DNS) for an IP address by providing a server ID and IP. Use it to verify reverse DNS mappings.

Instructions

Current PTR record (reverse DNS) for an IP address (ip/get_ptr).

Input Schema

NameRequiredDescriptionDefault
idYesServer ID
ipYesIP address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.3
    • changedInput schema / properties / id / description
      Previous value: -"ID сервера"New value: +"Server ID"
    • changedInput schema / properties / ip / description
      Previous value: -"IP-адрес"New value: +"IP address"
  2. First observedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds only that the value returned is the 'current' reverse-DNS record, with no note on whether a record may be absent or how the lookup fails.

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 sentence with zero padding, front-loading the resource and its reverse-DNS nature. It is arguably too terse to be maximally useful, but nothing is wasted.

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 the description should ideally hint at the return shape (e.g., a hostname string) or a not-found case; it only says 'Current PTR record'. For a simple two-parameter read covered by annotations, this is adequate but leaves a small gap.

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 description coverage is 100% (both 'id' = Server ID and 'ip' = IP address are documented in the schema), so the baseline is 3. The description adds no format or syntax detail beyond the schema.

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: reads the 'Current PTR record (reverse DNS)' for an IP, and the '(ip/get_ptr)' note pins the underlying endpoint. It does not explicitly distinguish itself from the sibling update_ptr_record, which would be the obvious confusion point, so it falls short of a 5.

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 says what the tool returns but never states when to use it versus alternatives such as update_ptr_record or get_ip_info, nor any prerequisites. An agent must infer from the name that this is read-only retrieval.

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

Deploy Server

Other Tools