Skip to main content
Glama

Remove a Cloudflare DNS record

cf_dns_remove
Destructive

Remove one DNS record of a Cloudflare zone, by record_id from cf_dns_list (or name plus type when they match one record). Records that were there before AskYourStack need the connection's "change anything" mode. cf_undo creates it again.

Input Schema

NameRequiredDescriptionDefault
nameNoThe record's name: shop, www, @ for the zone itself, or the full host.
typeNoA, AAAA, CNAME, MX, TXT, SRV, CAA, NS, PTR.
zoneNoThe zone (domain) at Cloudflare, or any host inside it. Not needed when the user has one zone.
record_idNoFor change and remove: the id from list (or name plus type when they match one record).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered structurally. The description goes beyond that by naming the permission mode needed for pre-existing records and pointing at cf_undo as the reversal path — real behavioral value. It stops short of describing what happens when name+type match zero or multiple records.

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 short sentences, no filler: target and identification method first, then the permission caveat, then the undo remedy. Everything is front-loaded and each sentence carries unique information.

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?

With no output schema, the description still covers identification, permission prerequisite and reversibility — enough for an agent to invoke it correctly. Minor gaps remain around ambiguous-match behavior and whether confirmation is expected before a destructive call.

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?

All four parameters have full schema descriptions (100% coverage), including the same name-plus-type fallback and id-source notes the description repeats. The description adds only a slight emphasis on preferring record_id from cf_dns_list, so the schema is doing 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 (Remove) and resource (one DNS record of a Cloudflare zone) with an exact scoping mechanism (record_id from cf_dns_list, or name plus type). This cleanly separates it from cf_dns_add and cf_dns_change without the agent 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?

Gives a concrete prerequisite (records pre-dating AskYourStack require the connection's "change anything" mode) and a recovery route (cf_undo recreates it). It does not explicitly say when to prefer cf_dns_change over this tool, but the destructive verb makes the split clear enough.

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.

Resources