Skip to main content
Glama

dns__BatchDeleteRecordSetWithLine

Batch deletes DNS record sets under a specified domain, treating missing records as successfully deleted to simplify cleanup.

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": {
      "recordset_ids": "<recordset_ids>",
      "zone_id": "<zone_id>"
    },
    "name": "dns__BatchDeleteRecordSetWithLine"
  }
}

Input Schema

NameRequiredDescriptionDefault
zone_idYes域名ID。
recordset_idsYes记录集ID列表。最多支持100个。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 disclosure burden. It does add one genuinely useful behavioral fact that structured fields do not cover: deleting a nonexistent resource is treated as a success, making the call idempotent. It omits other important traits for a destructive batch operation, however, such as whether deletion is irreversible, how partial failures across the ID list are reported, or what permissions are required.

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 is a single short sentence with the resource scope front-loaded and the idempotency caveat attached afterwards. Nothing is wasted, though the extreme brevity leaves the sentence doing very little work overall.

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 definition relies entirely on this one sentence. For a destructive, batched mutation, that leaves gaps: no return-value or partial-failure semantics, no confirmation of irreversibility, and no routing advice among the several similarly named delete tools. The idempotency note is the one piece of substantive completeness it does provide.

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 zone_id and recordset_ids are already documented in the schema, including the 32-character zone ID format and the 100-item cap. The description adds no further meaning about parameter semantics, 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?

The description states a specific verb and resource: batch-deleting record sets under a domain (域名下的记录集). That is clear enough to distinguish it from unrelated siblings such as dns__ListRecordSetsWithLine or dns__CreateCustomLine, but it never distinguishes it from the closely named alternatives dns__BatchDeleteRecordSets, dns__DeleteRecordSets, or the single-item dns__DeleteRecordSet.

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?

There is no statement of when to use this batched variant versus the singular DeleteRecordSet or the other plural delete tools, and no prerequisites (e.g., that the zone must exist or that the caller needs write permission) are given. Usage can only be inferred from the name.

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