Skip to main content
Glama

dns__CreateRecordSet

Creates a DNS record set in a specified Huawei Cloud DNS zone, defining the record name, type, values, and optional TTL to configure domain name resolution.

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>",
      "records": "<records>",
      "type": "<type>",
      "zone_id": "<zone_id>"
    },
    "name": "dns__CreateRecordSet"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNo解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
nameYes域名,后缀需以zone name结束且为FQDN(即以“.”号结束的完整主机名)。
tagsNo资源标签。
typeYes记录集的类型。
statusNo解析记录的状态。
recordsYes解析记录的值。不同类型解析记录对应的值的规则不同。
zone_idYes域名ID。
descriptionNo可选配置,对域名的描述。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/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, yet it discloses nothing about permissions needed, conflict/failure behavior on duplicate names, whether the record becomes active immediately, or what is returned. A single verb-noun phrase is insufficient for a mutation tool.

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?

The text is short but not concise in any useful sense: it is under-specified, and the "[DNS]" prefix consumes a third of the content without adding information.

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?

An 8-parameter (4 required) creation mutation with no annotations and no output schema demands far more context than one sentence. An agent cannot tell from this description what successful creation implies or how errors surface.

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 ttl, name, type, records, tags, status, zone_id, and description in detail. The description adds no parameter meaning beyond that, which meets the baseline of 3.

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?

"创建记录集" only restates the tool name (CreateRecordSet) with no additional scope, target resource, or outcome. It does not distinguish this tool from close siblings such as dns__CreateRecordSetWithLine or dns__CreateRecordSetWithBatchLines.

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 (e.g., zone must exist), and no mention of when a sibling such as the WithLine or BatchLines variant would be preferred.

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