Skip to main content
Glama

update_ptr_record

Idempotent

Edit a PTR record by IP address to change the reverse DNS hostname associated with that IP.

Instructions

Edit a PTR Record by ip address [PUT /v1/dns/ptrs/{ipAddress}] Edit attributes for a specific PTR Record

Input Schema

NameRequiredDescriptionDefault
bodyYesJSON request body
ipAddressYesIp Address
x-trace-idNoIdentifier to trace group of requests.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds only the HTTP verb/path; it does not say whether PUT replaces the whole record or only the ptr field, what happens when the IP has no existing PTR record, or whether auth/permissions beyond the API key are required.

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

Conciseness3/5

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

It is short and front-loaded, but the two sentences are near-duplicates ('Edit a PTR Record by ip address' / 'Edit attributes for a specific PTR Record'), and the bracketed endpoint largely repeats the annotation title. The second sentence adds almost no information.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A mutation tool with a nested request body, no output schema, and only annotation-level behavior disclosure needs more: it never explains the effect of the update, error behavior for unknown IPs, or what a successful response contains. What exists is adequate to identify the tool but thin for calling it correctly.

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% and each parameter (ipAddress, body.ptr, x-trace-id) carries its own description, so the schema does the heavy lifting. The description's 'by ip address' reinforces the addressing parameter but adds no format detail (IPv4 vs IPv6) or note on the nested body requirement.

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 (edit) and resource (PTR Record) plus the addressing key (ip address) and the underlying endpoint PUT /v1/dns/ptrs/{ipAddress}. An agent can distinguish it from create_ptr_record, retrieve_ptr_record, and delete_ptr_record by the verb alone, though the description never names those siblings explicitly.

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?

There is no statement of when to use this versus create_ptr_record (which presumably also handles a PTR for an IP) or the delete/retrieve variants, and no precondition such as 'the PTR record must already exist.' Usage is only inferable from the word 'Edit.'

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