Skip to main content
Glama

Delete a DNS record

delete_dns_record
DestructiveIdempotent

Delete one DNS record (record_id from list_dns_records) from a domain on the account. Irreversible: needs confirm: true after the customer approves.

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>",
      "record_id": "<record_id>"
    },
    "name": "delete_dns_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesA domain on your account, e.g. mybrand.com
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.
record_idYes

Output Schema

NameRequiredDescriptionDefault
domainNo
deletedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=true, so the safety profile is largely pre-supplied. The description still earns credit for adding the irreversible warning and the human-approval gate, which the annotations do not encode.

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 front-loaded sentences: the action and identifier source first, the irreversibility and confirmation requirement second. Nothing is padded, though the parenthetical placement of the ID source slightly interrupts the sentence flow.

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?

An output schema exists and annotations carry the destructive/idempotent profile, so the description only needs to cover preconditions and it does: identifier source, approval requirement, and irreversibility. A note on failure behavior for a stale record_id would close the last gap.

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 67% and record_id has no schema description; the text fills that gap by stating it comes from list_dns_records. The domain parameter is only echoed ("from a domain on the account") and confirm semantics are repeated from the schema rather than extended.

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?

States a specific verb and resource ("Delete one DNS record") and scopes it to a domain on the account, then points at list_dns_records as the source of the identifier. It stops short of naming update_dns_record as the non-destructive alternative, so sibling differentiation is implied rather than explicit.

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?

Implies a clear workflow: obtain record_id from list_dns_records, get customer approval, then pass confirm: true. It does not state when NOT to delete or when to prefer update_dns_record, so it gives context but no exclusions.

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.