Skip to main content
Glama

dns__BatchUpdateRecordSetWithLine

Atomically update multiple DNS record sets in a zone, ensuring all requested changes apply together or none are made.

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": {
      "recordsets": "<recordsets>",
      "zone_id": "<zone_id>"
    },
    "name": "dns__BatchUpdateRecordSetWithLine"
  }
}

Input Schema

NameRequiredDescriptionDefault
zone_idYes域名ID。
recordsetsYes记录集列表。

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?

With no annotations supplied, the description carries the full disclosure burden and does contribute one genuinely important trait: all-or-nothing transaction behavior on the requested recordsets. It omits other mutation-relevant behavior, such as whether unspecified fields (ttl, weight, description) are preserved or reset, permission requirements, and any limits on batch size.

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 sentences, front-loaded with the [DNS] domain tag, verb, and resource, followed by the atomicity constraint. The second sentence partially restates 'atomic operation' in plain language, but the restatement is clarifying rather than wasteful.

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?

For a batch mutation tool with no annotations and no output schema, the definition covers the core semantic risk (partial application) but leaves preconditions, field-replacement behavior, and return expectations unexplained. It is adequate to call the tool safely, not sufficient to call it confidently in edge cases.

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 zone_id, id, ttl, weight, records, and description all documented in the schema itself, so the baseline of 3 applies. The description adds no meaning beyond the schema—it does not explain that recordsets is the per-record payload or how id resolution works.

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 modify record sets) and scopes it with atomic semantics, so an agent knows it mutates multiple existing recordsets in one call. It does not, however, distinguish itself from close siblings such as dns__UpdateRecordSets or dns__UpdateRecordSet, leaving the agent to guess which 'update' variant applies.

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?

Usage is only implied: the word 'batch' signals this is for multiple recordsets rather than one, and the atomicity note hints that it is not appropriate when partial success is acceptable. There is no explicit when-to-use statement, no prerequisite (e.g. recordsets must already exist), and no named alternative.

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