Skip to main content
Glama

Remove a Cloudflare firewall rule

cf_firewall_remove
Destructive

Remove one custom firewall rule or rate limit from a Cloudflare zone, by rule_id from cf_firewall_list. cf_undo adds it again.

Input Schema

NameRequiredDescriptionDefault
zoneNoThe zone (domain) at Cloudflare, or any host inside it. Not needed when the user has one zone.
rule_idYes

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 readOnlyHint=false, so the danger profile is covered. The description adds genuinely useful context beyond them: the removal is reversible via cf_undo, which is not derivable from the annotations.

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?

Two short sentences with zero padding; the destructive action and its identifier source are front-loaded, and the recovery hint is a compact second sentence.

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, output-schema-less tool whose annotations carry the safety profile, the description supplies the essentials: target, id source, and reversal path. It is slightly thin on the optional zone parameter, but the schema covers that.

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 50% — zone is documented in the schema, rule_id is not. The description compensates for rule_id by specifying its origin (cf_firewall_list), but adds nothing about the zone parameter, so it lands at the baseline for partial coverage.

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) plus the resource (custom firewall rule or rate limit) and its scope (Cloudflare zone), and the mechanism (by rule_id). This cleanly separates it from siblings cf_firewall_add and cf_firewall_list.

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?

It tells the agent where rule_id comes from (cf_firewall_list) and names the recovery alternative (cf_undo), which is clear routing guidance. It stops short of explicit when-not-to-use conditions, but the context is unambiguous.

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