Skip to main content
Glama

Delete DNS record

dns_delete_record
Destructive

Delete one DNS record from a domain's zone. It cannot be undone: note the record from dns_list_records first if it may need to come back. Take recordId from a dns_list_records call made just before (it is a position and shifts after changes). Resolvers can keep answering with the record up to its TTL. To change a value instead, use dns_edit_record. Requires confirm: true.

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": {
      "id": "<id>",
      "recordId": "<recordId>",
      "confirm": "<confirm>"
    },
    "name": "dns_delete_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe domain ID
confirmYesMust be true to confirm this destructive operation
recordIdYesrecordId from a dns_list_records call made just before this one

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Beyond destructiveHint=true, the description discloses irreversibility, advises capturing the record before deletion for restoration, explains that recordId is a positional index that shifts after changes, and warns that resolvers may keep answering until the TTL expires. That is real behavioral context an agent cannot get from the annotations.

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?

Four compact sentences, each carrying a distinct fact: action, irreversibility/backup advice, recordId freshness constraint, TTL caveat, plus the edit alternative and confirm requirement. Front-loaded with the core action and zero filler.

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

Completeness5/5

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

For a 3-parameter destructive tool with no output schema, everything needed to call it safely is present: prerequisites, the confirm gate, the alternative tool, and the post-deletion caveat about stale resolver answers.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds meaning beyond the schema: recordId is a position that shifts after changes, explaining why it must be fetched immediately beforehand. The confirm requirement is restated from the schema description, which is mildly redundant.

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

Purpose5/5

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

"Delete one DNS record from a domain's zone" gives a specific verb, resource, and scope (single record, within a zone). It is immediately distinguishable from dns_edit_record and dns_list_records, which are named explicitly.

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

Usage Guidelines5/5

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

It states the prerequisite sequence (call dns_list_records just before to obtain recordId), the required confirm flag, and the alternative to use when the intent is to change a value rather than remove it. When-to-use and when-not-to-use are both covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.