Skip to main content
Glama

dns__UpdateCustomLine

Updates a DNS custom line's name, description, or IPv4 address segments by line ID, so you can adjust resolver routing without recreating the line.

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": {
      "line_id": "<line_id>"
    },
    "name": "dns__UpdateCustomLine"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo解析线路名称。
line_idYes自定义线路ID。
descriptionNo自定义线路的描述信息。长度不超过255个字符。
ip_segmentsNoP地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations exist, so the description must carry the full behavioral burden, and it does not. It never says whether this is a full replace or a partial update, what happens to fields left out (e.g. ip_segments), whether permissions are required, whether changes are reversible, or that ip_segments must be non-overlapping IPv4 ranges.

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 a single clause with no wasted words, but this is brevity through under-specification rather than conciseness. Front-loading the DNS prefix while omitting all operational detail wastes the only sentence available.

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 mutation tool with four parameters, no annotations, and no output schema, the description is far too thin. An agent cannot tell from it what the update replaces, what is returned, or how to recover from failures.

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 every one of the four parameters documented in the schema, including patterns and ip_segments constraints, so the baseline is 3. The description adds no meaning beyond the schema — it doesn't clarify partial-update semantics for optional fields like name, description, or ip_segments.

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?

The description "[DNS] 更新自定义线路" merely restates the tool name UpdateCustomLine in Chinese. It does contain a verb (更新/update) and a resource (自定义线路/custom line), but it adds no scope or differentiating detail compared with siblings such as dns__UpdateRecordSet or dns__UpdatePrivateZone.

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?

No when-to-use guidance is provided — nothing about when to update versus delete or list custom lines, or when to use line groups instead. The sibling set is large and the description offers no routing signal at all.

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