Skip to main content
Glama

list_ip_access_rules

List IP access rules for a Cloudflare zone, filtering by IP, mode, or pagination to see which addresses are blocked, challenged, or allowed.

Instructions

List IP access rules for a Cloudflare zone. Returns rules that block, challenge, or allow specific IPs, CIDRs, ASNs, or countries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipNoFilter by specific IP address
modeNoFilter by mode: block, challenge, whitelist, js_challenge
pageNoPage number of paginated results (default: 1)
zone_idYesrequired,The ID of the zone
per_pageNoNumber of rules per page (default: 20, max: 1000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

There are no annotations, so the description must carry the behavioral disclosure burden. It communicates a read-only listing operation and describes the output in terms of rule actions and match targets, but it does not mention pagination behavior, ordering, authentication requirements, or whether the list is exhaustive. These are meaningful gaps for a tool with no annotation support.

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 short sentences with no filler. The core action and scope are front-loaded, and the second sentence adds useful detail about the rule actions and match types without repeating schema content.

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?

For a simple list operation with full parameter documentation, the description is minimally adequate: it names the required scope (zone) and the nature of the returned rules. However, with no output schema or annotations, it does not explain pagination semantics, how filters combine, or how this tool differs from closely related sibling tools, leaving the agent to infer those details.

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 100%, so every parameter already has a description in the input schema. The tool description adds no parameter-level detail beyond what the schema provides; it only contextualizes what the rules match, which is already implied by the schema's filter descriptions.

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 states a specific verb ('List'), a specific resource ('IP access rules for a Cloudflare zone'), and clarifies what the rules do ('block, challenge, or allow specific IPs, CIDRs, ASNs, or countries'). It is clear and unambiguous, though it does not explicitly contrast itself with sibling tools such as list_firewall_rules or get_firewall_rule.

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 tool versus alternatives like list_firewall_rules, get_rate_limit, or get_ruleset. The description only says what the tool does, not under what circumstances an agent should select it or when it should not be used.

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