Skip to main content
Glama

Delete DNS Records

delete_dns_records
DestructiveIdempotent

Delete only DNS records matching both name and type from a domain. Verify first because permanent removal can break dependent services.

Instructions

Delete specific DNS records from a domain by name and type. Only records matching both the name AND type will be removed. Other records are not affected. WARNING: This permanently removes DNS records, which can break services relying on them. Always confirm with the user before calling this tool and use list_dns_records first to verify which records will be deleted.

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": {
      "domain": "<domain>",
      "records": "<records>"
    },
    "name": "delete_dns_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain name
recordsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.3.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, but the description adds substantive context: only records matching both name and type are removed, other records are unaffected, and deletion can break dependent services. It does not cover permission requirements, partial-failure behavior, or what happens when no records match, which keeps it below a 5.

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 tight sentences: scope first, matching semantics second, destructive warning and prerequisite last. Every sentence carries information an agent needs before invoking a destructive operation, with no filler.

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 destructive two-parameter deletion tool with no output schema, the description covers scope, safety warning, user confirmation, and a verification prerequisite. It leaves out expected return behavior and handling of non-matching or missing records, which are minor but real gaps.

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 50%, and the description compensates meaningfully by explaining that the name and type fields must both match for deletion, which is more than the schema states. It adds no detail about the domain parameter or the accepted record-type values, so it is not fully compensating.

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?

The description opens with a specific verb and resource ('Delete specific DNS records from a domain') and immediately narrows the scope to records matching both name AND type. This is distinguishable from sibling create_* and list_dns_records tools without opening any schema.

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 explicitly routes the agent to list_dns_records first for verification and instructs confirmation with the user before calling. The matching condition (name AND type) also clarifies when this tool will versus will not affect a record.

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