Skip to main content
Glama

dns__CreateCustomLine

Create a custom DNS resolution line with a unique name and IPv4 address segments to route queries by user-defined network ranges.

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": {
      "ip_segments": "<ip_segments>",
      "name": "<name>"
    },
    "name": "dns__CreateCustomLine"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes解析线路名称。 长度限制为1-80个字符,只允许包含中文、字母、数字、'-'、'_'、'.'字符。 租户内,解析线路名称是唯一的。
descriptionNo自定义线路的描述信息。长度不超过255个字符。 默认值为空。
ip_segmentsYesIP地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。 最多支持50个。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of explaining behavior. It implies a mutating create operation but does not say that it requires permission, that line names are unique within a tenant, whether the operation is idempotent, what happens if a name conflicts, or what the response contains. The only behavioral hints, namely uniqueness and IP-overlap constraints, are buried entirely in the schema rather than disclosed in the description.

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?

It has a single short sentence with zero redundancy and the action is stated up front, which is structurally clean. Its terseness is a problem of under-specification rather than of wasted words, so the conciseness itself is good but adds little value.

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?

This is a three-parameter mutating tool with no annotations and no output schema, so the description bears heavy responsibility for explaining behavior and usage context. A one-line description cannot cover prerequisites, mutation effects, uniqueness or conflict behavior, or follow-up operations, so it leaves significant gaps for an agent deciding whether and how to call it.

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 three parameters (name, description, ip_segments) already carry detailed documentation, including length limits, allowed characters, uniqueness constraints, and the IP range format. The description adds no additional parameter meaning beyond what the schema already provides, so the baseline score of 3 is appropriate.

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

Purpose3/5

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

The description gives a specific verb-plus-resource combination, '[DNS] 创建自定义线路' (create a custom DNS line), which distinguishes it from the sibling operations dns__UpdateCustomLine, dns__DeleteCustomLine, and dns__ListCustomLine. However, it never explains what a 'custom line' actually is or how it relates to line groups or record sets, so an agent unfamiliar with the DNS domain is left with only the surface-level meaning of the operation name.

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?

The description gives no guidance on when to use this operation instead of alternatives. It does not mention that line-group tools such as dns__CreateLineGroup exist, when a custom line should be used, what prerequisites are required, or what happens after a line is created; it also gives no guidance on using this operation together with dns__CreateRecordSetWithLine. It states only the operation itself, without any usage guidance.

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