Skip to main content
Glama
crunchtools

mcp-cloudflare-crunchtools

by crunchtools

list_waf_rules_tool

Retrieve all WAF custom rules for a Cloudflare zone by providing either its zone ID or domain name.

Instructions

List all WAF custom rules for a zone.

Provide either zone_id or zone_name, not both.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zone_idNoZone ID (32-character hex string)
zone_nameNoZone name (domain like example.com)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. The description mentions the mutual exclusivity of parameters, which is a behavioral constraint, but it does not disclose that this is a read-only operation, list behavior, or potential edge cases (e.g., what happens if neither is provided). This leaves gaps in transparency.

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 two sentences long, concise, and front-loaded with the main purpose. Every sentence earns its place—the first states the action, the second provides a critical usage instruction. No fluff 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?

Given the tool's relative simplicity (2 params, no nested objects, and output schema exists), the description is mostly complete. The mutual exclusion rule is covered, and the output schema likely documents return values. However, it misses a note on whether this returns a list or pagination, which could be inferred from the output schema. Overall, adequate for a list tool without annotations.

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?

The schema covers 100% of parameters with descriptions, so the baseline is 3. The description adds value by stating the mutual exclusivity rule (provide either zone_id or zone_name), which is not in the schema. This is a meaningful addition that enhances parameter semantics.

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?

The description clearly states it lists all WAF custom rules for a zone, distinguishing it from sibling tools like create_waf_rule_tool and delete_waf_rule_tool. However, it doesn't explicitly contrast with the similar list_response_header_rules_tool or list_request_header_rules_tool, but the resource 'WAF custom rules' is specific enough.

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?

The description explicitly instructs to provide either zone_id or zone_name, not both, which is crucial for correct invocation. However, it does not explain when to use this tool versus other list tools or mention prerequisites like zone existence. This provides clear invocation constraints but lacks broader usage context.

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

Install Server

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/crunchtools/mcp-cloudflare'

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