Skip to main content
Glama

dns__CreateRecordSetWithBatchLines

Create DNS record sets across multiple resolution lines in one atomic batch for public domains; if any parameter fails validation, no records are created.

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": {
      "lines": "<lines>",
      "name": "<name>",
      "type": "<type>",
      "zone_id": "<zone_id>"
    },
    "name": "dns__CreateRecordSetWithBatchLines"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes域名,后缀需以zone name结束且为FQDN(即以“.”号结束的完整主机名)。
typeYes记录集的类型。 取值范围:A,AAAA,MX,CNAME,TXT,NS,SRV,CAA。
linesYes解析线路域名参数。最多支持50个。
zone_idYes域名ID。
descriptionNo可选配置,对域名的描述。 长度不超过255个字符。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses atomic all-or-nothing failure (one invalid parameter fails the whole batch) and the public-domain-only restriction, but says nothing about permissions, duplicate/conflict handling, or what a successful response contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with no filler: purpose first, then atomicity, then the domain-type restriction. Every sentence carries information an agent needs.

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

Completeness4/5

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

For a mutation tool with no annotations and no output schema, the description covers the two highest-risk facts (atomic failure and public-domain scope), and the parameters are fully documented in the schema. The remaining gap is post-success behavior and permission requirements, which is minor but non-trivial.

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 parameter meaning is already fully documented in the schema. The description adds no parameter-specific detail (e.g., the 50-line cap or weight rules) beyond what the schema states, so the baseline 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?

The description states a specific verb and resource (batch create record sets by line) and adds the batch/line mode that distinguishes it from a single-record-set create. It does not explicitly contrast with a sibling tool by name, so the differentiation is implied rather than stated.

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?

It gives one real applicability constraint: only public (公网) domains are supported. There is no guidance on when to prefer this over single-record creation or batch-update, and no prerequisites are named, so usage is only partially scoped.

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