Skip to main content
Glama

Get public IP rDNS

get_public_ip_rdns
Read-onlyIdempotent

Retrieve the reverse DNS (PTR) record for an owned non-primary public IP, including additional addresses, floating bindings, VPN gateways, load balancers, or assignments.

Instructions

Read the reverse DNS (PTR) of an owned public address that is not a server's own primary address: an additional address, a floating binding, a VPN's or a public load balancer's address (target). Free. hostname is the requested name (null requests removal), applied_hostname the last name the DNS server confirmed, state unset, pending, applied or failed with reason_code, revision the value to send as expected_revision, applied_at the last confirmed write (not resolver cache expiry). Requires explicit networking:read for reads or networking:manage for changes; full/read defaults do not grant networking. The backend enforces ownership, feature availability and service 2FA locks.

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": {
      "resource_id": "<resource_id>",
      "target": "<target>"
    },
    "name": "get_public_ip_rdns"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesWhat resource_id names: address = an owned additional public address (list_network_public_addresses), binding = a floating public binding, vpn = a VPN gateway (its public address), load_balancer = a public load balancer (its address), assignment = a current public IP assignment ID that an answer named. A server's own primary address uses get_rdns / change_rdns instead.
resource_idYesExact lowercase UUID returned by an owned networking resource

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.3.21

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, but the description still adds substantial behavior: it is 'Free', needs explicit networking:read or networking:manage ('full/read defaults do not grant networking'), and the backend enforces ownership, feature availability and 2FA locks. It also explains what each returned field means (hostname null = removal request, state values, revision as expected_revision, applied_at excluding resolver cache), which no annotation covers.

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-loaded with the purpose and scope before enumerating field semantics, and every clause carries information (cost, permission, enforcement, return fields). It is dense and slightly run-on, packing many facts into one long sentence, which costs some scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 defining the returned fields and their states, and it covers auth requirements and backend enforcement for a read tool with only two required params. An agent has everything needed to decide and call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds selection meaning by spelling out the non-primary-address constraint that determines which target/resource_id pair to supply. It does not add format or syntax detail beyond the schema, keeping it a step above baseline rather than a full 5.

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 and resource ('Read the reverse DNS (PTR)') plus an explicit scope boundary: an owned public address that is NOT a server's own primary address. The enumerated target kinds (additional address, floating binding, VPN, load balancer) let an agent separate this from get_rdns/change_rdns without opening either schema.

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?

Makes clear when this applies (non-primary owned public addresses) and implicitly excludes the primary-address case, which the target parameter's own description routes to get_rdns/change_rdns. It also states the required permission scopes, which is real selection guidance. It stops short of naming the sibling tools directly in the description text, so it is not a full when/when-not/alternative statement.

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