Skip to main content
Glama

dns__CreateRecordSetWithLine

Creates a DNS record set in a Huawei Cloud zone and lets you assign a resolution line, TTL, record values, tags, and alias targets. Use it to add or configure domain DNS records.

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

Input Schema

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

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 carries the full burden, yet it discloses nothing about mutation behavior: no conflict/duplicate handling, no permissions or auth requirements, no idempotency, no indication of what gets created or returned. Only the bare fact that this is a create operation is conveyed.

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 single sentence contains no wasted words, but this is under-specification rather than concision. Nothing is front-loaded because there is nothing to front-load.

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 11-parameter mutation tool with nested objects, no annotations, and no output schema, a five-word description is wholly inadequate. An agent cannot determine expected effects, failure modes, or how this differs from the other create variants.

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%, with all 11 parameters — including the nested tags and alias_target objects — documented in the schema itself. The description adds no meaning beyond that, so the baseline of 3 for fully covered schemas 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?

"创建记录集" restates the tool name (CreateRecordSet) with no additional specificity — no mention of what a record set contains, what line-scoping means here, or how it differs from the sibling create tools. The only added information is the "[DNS]" domain tag. It is effectively a tautology.

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 differentiation from the three other create-style siblings (CreateRecordSet, CreateRecordSetWithBatchLines, CreateEipRecordSet). An agent has no basis in the description for choosing among them.

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