Skip to main content
Glama

services_networks_edit_ptr

Destructive

Set or change the reverse DNS domain for an IPv4 address in a service's network by providing the service ID, external ID, and domain.

Instructions

Edit PTR record POST /services/{serviceId}/networks/ipv4/{externalId}/edit-ptr

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": {
      "serviceId": "<serviceId>",
      "externalId": "<externalId>",
      "body": "<body>"
    },
    "name": "services_networks_edit_ptr"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
serviceIdYes
externalIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds nothing further – no mention that the existing PTR is overwritten, whether propagation is immediate, or what permissions are required for a mutation with no output schema.

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?

The purpose is front-loaded in a single short phrase, which is good, but the raw "POST /..." line is largely redundant with the tool name and schema. It is terse without being informative rather than terse and dense.

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?

For a destructive, non-idempotent mutation with a nested body object, no output schema, and zero parameter description coverage, the description should explain identifiers and side effects. It leaves the agent to infer what externalId is and what overwriting a PTR entails.

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

Parameters2/5

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

Schema description coverage is 0% across three required parameters, and the description only echoes the path template placeholders {serviceId} and {externalId} without explaining their meaning. The nested body.domain field is the only parameter the schema documents, and the description adds no format, validation, or length guidance beyond it.

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 ("Edit PTR record") and reinforces it with the exact endpoint path, so the agent knows this mutates a reverse-DNS entry for an IPv4 address. It does not distinguish itself from related siblings such as domains_edit_record or services_networks_change_ipv4, 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?

No guidance on when to use this tool, what preconditions must hold (e.g. a service must already own the IP), or which sibling handles adjacent reverse-DNS tasks. The endpoint line implies scope but gives no usage decision support.

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