Skip to main content
Glama

dns__UpdatePtr

Update the reverse DNS (PTR) record for a Huawei Cloud elastic public IP by setting domain names, TTL, and an optional description.

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": {
      "ptr_id": "<ptr_id>",
      "ptrdnames": "<ptrdnames>"
    },
    "name": "dns__UpdatePtr"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNo反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。取值范围:1~2147483647
ptr_idYes反向解析ID。
ptrdnamesYes反向解析记录对应的域名列表,最大个数不超过10个。
descriptionNo对反向解析记录的描述。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only says 'modify'. It does not disclose that changes are mutations, whether they are reversible, what happens to fields not supplied, or whether propagation delay is expected (the schema hints at TTL caching but the description does not corroborate it).

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 a single short sentence with no wasted words and the resource is front-loaded, but it is under-specified rather than concise: one sentence is too thin for a 4-parameter mutation tool with no annotations.

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 update operation with zero annotation coverage and no output schema, the description should explain impact and side effects. It instead supplies only a one-line purpose, leaving the agent without enough context to call it safely or confidently.

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 every parameter (ttl, ptr_id, ptrdnames, description) has its own documented constraints, so the schema already does the semantic work. The description adds nothing about parameter meaning or interplay, which is acceptable at full coverage but not value-adding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb+resource pair ('修改' / modify + '反向解析记录' / PTR record) scoped to elastic public IPs, so the general purpose is inferable. However, it does not distinguish this tool from the near-identical sibling dns__UpdatePtrRecord, nor from CreatePtr/DeletePtr/ShowPtr, leaving the agent unsure which PTR mutation to pick.

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 use this tool versus alternatives (notably dns__UpdatePtrRecord), and no prerequisites, permissions, or preconditions are mentioned. The agent must infer everything from the name and the required parameters.

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