Skip to main content
Glama

dns__UpdateLineGroups

Updates a DNS line group by modifying its name, description, and associated lines to adjust query routing; use only in supported regions or request access via a ticket.

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": {
      "linegroup_id": "<linegroup_id>",
      "lines": "<lines>",
      "name": "<name>"
    },
    "name": "dns__UpdateLineGroups"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes线路分组名称。
linesYes线路列表。
descriptionNo线路分组的描述信息。长度不超过255个字符。默认值为空。
linegroup_idYes线路分组ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the regional availability limitation and ticket-based activation, but says nothing about mutation semantics: whether the lines list is fully replaced or merged, whether the operation is reversible, or what happens on name conflict. For a write tool with zero annotation coverage, that is a meaningful gap.

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?

Two short, front-loaded sentences: purpose first, then the availability caveat. No redundant wording, though the bracketed "[DNS]" prefix is noise and no structure separates the operational caveat from the core purpose.

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

Completeness3/5

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

With no annotations and no output schema, the description must carry behavioral weight; it covers purpose and the activation prerequisite but omits update semantics (replace vs merge) and response expectations. Adequate to call correctly, incomplete for understanding consequences.

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 all four parameters (name, lines, description, linegroup_id) are already documented with patterns and limits in the schema. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

"更新线路分组" states a specific verb (update) and resource (line group), which distinguishes it from CreateLineGroup/DeleteLineGroup/ShowLineGroup/ListLineGroups siblings by name alone. It stops short of explicitly naming those alternatives or stating what aspect of the group is updated, but an agent can identify the operation without ambiguity.

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

Usage Guidelines3/5

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

The description adds a real usage precondition — the API is not live in some regions and requires a support ticket to enable — which is valuable gating information. However, it gives no guidance on when to choose this over siblings like UpdateCustomLine, nor any note about prerequisites such as the group existing or required permissions.

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