Skip to main content
Glama

Clear rDNS

clear_rdns
Destructive

Clear a customer PTR override for an assigned IP to restore the automatic VPSnet reverse DNS entry or remove PTR when no automatic hostname exists.

Instructions

Clear a customer PTR override for an address returned by get_rdns. The automatic VPSnet PTR is restored, or PTR is removed when no automatic hostname exists. OAuth requires services:manage; API keys require full access. This route is not idempotency-keyed.

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": {
      "orderNo": "<orderNo>",
      "ip": "<ip>"
    },
    "name": "clear_rdns"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesAssigned IPv4 or IPv6 address returned by get_rdns
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=false, but the description goes further: it states the concrete outcome (automatic VPSnet PTR is restored, otherwise the PTR is removed), the exact auth scopes ('OAuth requires services:manage; API keys require full access'), and that the route is not idempotency-keyed. That is precisely the destructive-effect and authorization context an agent needs.

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?

Four short sentences, front-loaded with the action and effect, then auth, then the idempotency caveat. Nothing is redundant filler; the idempotency-key note is distinct from the annotation's idempotentHint and earns its place.

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?

For a two-parameter destructive mutation with no output schema, the description covers what changes, the fallback behavior, required privileges, and the idempotency caveat. An agent can invoke it correctly and predict the result class without additional information.

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% and both parameters are fully documented there, so the baseline is 3. The description only restates where the IP comes from ('returned by get_rdns'), which the schema already says, and adds no format or constraint detail for orderNo.

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?

The description opens with a specific verb+resource ('Clear a customer PTR override') and scopes it to 'an address returned by get_rdns', which cleanly separates it from sibling change_rdns (which sets an override) and get_rdns (which reads one). An agent knows exactly what this tool does without opening the 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?

It supplies the practical precondition (the address must be one returned by get_rdns) and implies the counterpart operation, but never explicitly says 'use change_rdns to set an override instead' or states exclusion conditions. The context is clear; explicit alternative routing is absent.

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