Skip to main content
Glama

dns__DeleteRecordSet

Deletes a DNS record set using its zone ID and record set ID; for record sets with smart resolution, use the new-version record set management delete interface.

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_id": "<recordset_id>",
      "zone_id": "<zone_id>"
    },
    "name": "dns__DeleteRecordSet"
  }
}

Input Schema

NameRequiredDescriptionDefault
zone_idYes域名ID。
recordset_idYes记录集ID。

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?

No annotations are supplied, so the description carries the full behavioral burden. It discloses one important constraint — the smart-resolution exclusion — and "删除" implies a destructive mutation, but it says nothing about irreversibility, whether all lines of a multi-line record set are removed, dependent-record effects, or required permissions.

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 with no filler: the operation first, the exception second. Slightly terse in a way that leaves the redirect under-specified, but nothing is wasted.

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 destructive, two-parameter tool with no annotations and no output schema, the definition covers the identity of the operation and one routing caveat. It is missing the safety context an agent needs before deleting — irreversibility, confirmation expectations, and permission requirements — so it is only minimally complete.

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?

Both parameters (zone_id, recordset_id) are fully documented in the schema at 100% coverage, including path location and 32-character length bounds. The description adds no meaning beyond that, which is the expected baseline when the schema does the work.

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 opens with a specific verb+resource, "[DNS] 删除记录集" (delete record set), so the operation is unmistakable. It does not differentiate itself from the many delete siblings (DeleteRecordSets, BatchDeleteRecordSetWithLine, etc.), but it does carve out one case where it must not be used.

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

Usage Guidelines4/5

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

It gives an explicit exclusion with a redirect: record sets that have smart-resolution (智能解析) entries must be deleted through the record set management (new version) module instead. This is genuine when-not-to-use guidance, though it names a module/interface rather than a specific sibling tool, leaving the agent to map that routing itself.

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