Skip to main content
Glama

dns__UpdateRecordSets

Updates an existing DNS record set by ID so you can change record values, TTL, weight, type, or description within a Huawei Cloud DNS zone.

Instructions

[DNS] 修改记录集。

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": {
      "name": "<name>",
      "recordset_id": "<recordset_id>",
      "type": "<type>",
      "zone_id": "<zone_id>"
    },
    "name": "dns__UpdateRecordSets"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNo解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
nameYes域名,后缀需以zone name结束且为FQDN(即以“.”号结束的完整主机名)。
typeYes记录集的类型。 取值范围:A、AAAA、MX、CNAME、TXT、NS、SRV、CAA。
weightNo解析记录的权重。 当weight不填时,表示该解析记录将保持原有设置的权重。 当weight=0,表示该解析记录为备用域名解析记录。 当weight>0,表示该解析记录为主用域名解析记录。 取值范围:0~100 默认值为空。
recordsNo解析记录的值。不同类型解析记录对应的值的规则不同。
zone_idYes域名ID。
descriptionNo可选配置,对域名的描述。 长度不超过255个字符。 如果为空,表示维持原值。 默认值为空。
recordset_idYes记录集ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.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 must carry the entire behavioral burden. "修改" implies a mutation, but nothing is said about required permissions, whether omitted fields are preserved or cleared, whether the change is reversible, or what identifier resolution (recordset_id plus zone_id) is required to succeed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but brevity here is under-specification rather than conciseness. The single fragment is front-loaded with a redundant tag and conveys nothing actionable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter mutation with no annotations and no output schema, the description is essentially empty. It leaves the agent dependent entirely on the schema and unable to assess side effects, required IDs, or partial-update semantics.

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 the schema itself defines all eight parameters including ttl, weight, records, and id constraints. The description adds no meaning beyond that, so the baseline 3 applies.

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

Purpose2/5

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

"[DNS] 修改记录集。" restates the tool name (UpdateRecordSets) as a phrase: modify record sets. It gives no distinguishing detail versus the many sibling record-set tools (UpdateRecordSet, BatchUpdateRecordSetWithLine, SetRecordSetsStatus), so an agent cannot tell which update variant to pick from the text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. It does not say whether this is a full replacement or a partial update, nor when to prefer it over dns__UpdateRecordSet or dns__BatchUpdateRecordSetWithLine.

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