Skip to main content
Glama

delete_dns_domain

Destructive

Permanently removes a DNS domain by ID, including its zone and all subdomains. Requires pdns/edit permission and confirm=true.

Instructions

Delete a domain by ID: DNS zone, the domain itself, and all its subdomains (pdns/delete_domain). DESTRUCTIVE. Requires pdns/edit permission.

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true to run the operation.
domain_idYesDomain ID from list_dns_domains
server_idYesServer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.3
    • changedInput schema / properties / domain_id / description
      Previous value: -"ID домена из list_dns_domains"New value: +"Domain ID from list_dns_domains"
    • changedInput schema / properties / server_id / description
      Previous value: -"ID сервера"New value: +"Server ID"
  2. First observedv1.0.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is covered. The description adds real value beyond that: it discloses the exact blast radius (zone + domain + subdomains) and the pdns/edit authorization requirement, neither of which appears in annotations or schema.

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, front-loaded with the action and scope, then the destructive warning and permission requirement. Every clause earns its place, with no 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 destructive mutation with no output schema, the description covers what an agent needs: scope of deletion, the destructive flag, and the required permission. Nothing material is left unstated.

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 coverage is 100%, with domain_id, server_id, and confirm each documented in the schema. The description only adds 'by ID', which the schema already conveys. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb (Delete), resource (a domain), and precisely enumerates blast radius: the DNS zone, the domain itself, and all subdomains. This distinguishes it from siblings like delete_dns_subdomain and delete_dns_zone without needing to open schemas.

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?

Makes the destructive nature explicit and names the required permission (pdns/edit), which is genuine precondition guidance. It does not explicitly state when to choose this over delete_dns_subdomain or delete_dns_zone, though the enumerated scope implies the distinction.

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