Skip to main content
Glama

Delete Dns Record

delete_dns_record

Delete a DNS record from a Cloudflare zone using the zone ID and record ID. Requires CF_ALLOW_DESTRUCTIVE=true to complete the removal.

Instructions

Delete a DNS record. Requires CF_ALLOW_DESTRUCTIVE=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zone_idYesCloudflare zone ID
record_idYesDNS record ID to delete

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4/5.0
Behavior4/5

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

There are no annotations, so the description carries the behavioral disclosure burden. It explicitly reveals that the operation is gated behind CF_ALLOW_DESTRUCTIVE=true, signaling both the destructive nature and the likely failure mode if the flag is unset. It does not detail irreversibility effects, but the tool is a straightforward delete.

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?

The description is only two sentences, with the action stated first and the critical safety prerequisite stated immediately after. There is no filler or redundancy.

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 simple two-parameter deletion tool with an output schema present, the description covers the essential action and the important guardrail flag. It could mention recovery or side effects, but the flag plus clear verb makes it sufficiently complete for an agent to call it correctly.

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 for parameters is 100%, and the schema already provides clear descriptions for zone_id and record_id. The description adds no additional parameter-specific semantics, so the baseline score of 3 is appropriate.

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 states a clear verb and resource: 'Delete a DNS record.' This directly distinguishes it from sibling tools like create_dns_record, update_dns_record, and list_dns_records.

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

Usage Guidelines3/5

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

It provides a clear prerequisite: 'Requires CF_ALLOW_DESTRUCTIVE=true,' which is useful operational guidance. However, it does not explicitly explain when to choose this over alternatives or mention any exclusion conditions beyond the environment flag.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/apexradius/mcp-cloudflare-dns'

If you have feedback or need assistance with the MCP directory API, please join our Discord server