Skip to main content
Glama
crunchtools

mcp-cloudflare-crunchtools

by crunchtools

delete_page_rule_tool

Delete a Cloudflare page rule using its zone ID and rule ID, and return confirmation of the deletion.

Instructions

Delete a page rule.

Args: zone_id: Zone ID (32-character hex string) rule_id: Page rule ID (32-character hex string)

Returns: Deletion confirmation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_idYes
zone_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / rule_id / description
      Removed value: -"Page rule ID (32-character hex string)"
    • removedInput schema / properties / zone_id / description
      Removed value: -"Zone ID (32-character hex string)"
  2. First observedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure for a destructive mutation. It says nothing about irreversibility, required permissions/API token scopes, idempotency, or error behavior when the rule_id is unknown. 'Deletion confirmation' is the only behavioral hint and it is thin.

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?

Front-loaded with the operation in the first sentence, then parameter formats and return value. The Args/Returns scaffolding is boilerplate, but nothing is padded and it reads quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is low-complexity (2 required params, no nesting) and an output schema exists, so return values need not be explained. The missing safety and permission context for an irreversible delete keeps it from being fully complete.

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 description coverage is 0%, so the description must compensate, and it does partially by documenting both params and their 32-character hex format. It adds no meaning about how ids are obtained (e.g., from list_page_rules_tool) or whether zone_id and rule_id must belong to the same account.

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 (Delete) and resource (page rule), which cleanly separates it from create_page_rule_tool, update_page_rule_tool, and list_page_rules_tool. It does not, however, explicitly reference any sibling or scoping condition, so it sits at clear-but-undifferentiated.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus updating or listing page rules, no prerequisite checks, and no note that the rule must already exist. An agent must infer everything from the name alone.

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