Skip to main content
Glama

dns__CreatePtr

Creates reverse DNS (PTR) records for Huawei Cloud elastic public IPs, mapping IP addresses to domain names to support reverse resolution.

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

Input Schema

NameRequiredDescriptionDefault
ttlNo反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。取值范围:1~2147483647
tagsNo资源标签。
publicipNoEIP对象。
ptrdnamesYes反向解析记录对应的域名列表,最大个数不超过10个。
descriptionNo对反向解析记录的描述。
enterprise_project_idNo反向解析关联的企业项目ID,长度不超过36个字符。默认值为0。

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 supplied, so the description carries the full burden of behavioral disclosure, yet it only states that a record is created. It does not mention required permissions, whether duplicate PTR records are rejected, how EIP association is validated, or what the create response contains.

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?

The description is a single front-loaded sentence with no wasted wording. It is appropriately concise, though its brevity contributes to the missing behavioral context.

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?

This is a six-parameter creation tool with nested objects and no output schema, so the description should do more to explain the required EIP relationship and the required ptrdnames list. It relies almost entirely on the input schema and leaves the agent without operational context.

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?

The input schema has 100% description coverage for all six parameters, including TTL, tags, EIP object fields, PTR domain list, description, and enterprise project ID. The tool description adds no parameter meaning beyond what the schema already documents, so the baseline of 3 is appropriate.

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 and resource: creating a reverse resolution record for an elastic public IP. It is clear what the tool does, but it does not explicitly differentiate this from sibling tools such as dns__CreateEipRecordSet or dns__UpdatePtr.

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, nor any prerequisites such as needing an existing EIP or PTR zone. Usage is only implied by the tool name and the brief purpose statement.

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