Skip to main content
Glama

dns__RestorePtrRecord

Restores an elastic public IP's reverse DNS (PTR) record to its default value, resetting custom reverse lookup settings for a specified EIP.

Instructions

[DNS] 将弹性公网IP的反向解析记录恢复为默认值。

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": {
      "floatingip_id": "<floatingip_id>",
      "ptrdname": "<ptrdname>",
      "region": "<region>"
    },
    "name": "dns__RestorePtrRecord"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionYes域名所属的区域。
ptrdnameYes反向解析记录对应的域名。 此处值为null。
floatingip_idYes弹性公网IP(EIP)的ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not say what 'default' means concretely (record removed vs. reset to a system-generated value), whether the operation is reversible, what permissions are needed, or what the response contains — all critical for a mutation-like reset.

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?

It is a single front-loaded sentence with no filler, and the resource is stated before the action's effect. It is efficient, though its brevity borders on under-specification rather than pure conciseness.

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 three-parameter mutating reset with no annotations and no output schema, the definition leaves too much unknown: the post-condition of the record, reversibility, and the unusual null-valued ptrdname parameter. The schema covers parameter names, but the description does not fill the behavioral 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%, so the schema already documents region, ptrdname, and floatingip_id; baseline 3 applies. The description adds no meaning beyond the schema and notably does not clarify the odd requirement that ptrdname be passed as an object holding null.

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?

The description states a specific verb ('恢复为默认值' / restore to default) and a specific resource ('弹性公网IP的反向解析记录' / the EIP's PTR record). An agent can tell this is a reset operation rather than a create/update/delete. It does not name or distinguish itself from near-siblings such as UpdatePtrRecord or DeletePtr.

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 guidance on when to choose this over UpdatePtrRecord or DeletePtr, and no prerequisites (e.g. record must already exist) are mentioned. The only implied usage cue comes from the word 'restore to default,' which the agent must interpret on its own.

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