Skip to main content
Glama

cloudflare_purge_cache_urls

Purge up to 30 specific URLs from one Cloudflare zone cache to remove stale content; URLs must belong to the zone or subdomain, and an administrator approves before execution.

Instructions

Purge up to 30 URLs from Cloudflare's cache in one zone (each URL must be on the zone or a subdomain of it). Proposal: an administrator approves it before it runs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "zone_id": "<zone_id>",
      "zone_name": "<zone_name>",
      "urls": "<urls>"
    },
    "name": "cloudflare_purge_cache_urls"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesFull URLs, e.g. https://www.example.com.au/styles.css (1 to 30).
zone_idYesThe zone ID (32 hex characters, from cloudflare_get_zone or cloudflare_list_zones).
zone_nameYesThe zone name (example.com.au). Checked against zone_id before anything is changed, so the approver sees which domain this is.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnly=false, openWorld=true, idempotent=false, destructive=false), so the bar is lower. The description still adds meaningful behavior beyond them: the 30-URL ceiling, the requirement that URLs belong to the zone, and critically that an administrator must approve the proposal before execution. It does not disclose return behavior or propagation timing, which keeps it from a 5.

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?

Two sentences with no filler, and the core scoping constraint is front-loaded. The trailing approval sentence is slightly awkward in phrasing ('Proposal: an administrator approves it') but carries essential information.

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 write tool with no output schema, the definition covers scope, eligibility, and the approval workflow, which is the important part. It is silent on what a successful call returns (an identifier? a status?) and on how the approval round-trip is surfaced to the caller, leaving a real gap for an agent wiring up the 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?

Schema coverage is 100%, so zone_id, zone_name, and urls are already documented with examples, baseline 3. The description contributes one genuine constraint not in the schema, the zone/subdomain membership requirement, but otherwise restates the 30-item limit already encoded in maxItems.

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 and resource ('Purge ... URLs from Cloudflare's cache') with a concrete scope: one zone, up to 30 URLs. The per-URL/one-zone framing implicitly separates it from cloudflare_purge_cache_everything, but the sibling is never named, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

Usage context is implied through the eligibility constraint ('each URL must be on the zone or a subdomain of it') and the approval gate, which tells the agent when the tool is applicable. There is no explicit when-not guidance or named alternative for a full-zone purge, leaving the routing decision to inference.

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