Skip to main content
Glama

Cloudflare IP Ranges Network MCP

Export Cloudflare firewall allowlist

export_cloudflare_firewall_allowlist
Read-onlyIdempotent

Generate ready-to-paste Nginx, Apache, Caddy, plain text, or JSON trusted proxy allowlist rules from live Cloudflare CIDRs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_cloudflare_firewall_allowlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOutput config format (default "nginx_set_real_ip").
ip_versionNoIP version filter: "ipv4", "ipv6", or "all" (default).
include_jdcloudNoInclude JD Cloud CIDRs in output (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds that CIDRs are fetched live (so results reflect current Cloudflare ranges) and that output is directly pasteable, but says nothing about output size, per-format shape, or failure behavior if the live fetch fails.

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?

A single tight sentence with the action front-loaded and no filler. It is efficient, though the format list makes it slightly dense at the expense of behavioral detail.

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 three-optional-parameter read-only exporter this covers the essentials, and no output schema exists so return values need not be described. However, it omits whether one call returns all requested formats, how large the output is, and how the include_jdcloud option changes the result - all things the description could reasonably add.

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% and both enum parameters carry their own descriptions and defaults, so the schema does the heavy lifting. The description restates the available formats in prose but adds no syntax, formatting or interaction detail beyond the enum values already supplied.

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 gives a specific verb (Generate), a specific artifact (trusted proxy allowlist rules) and a specific source (live Cloudflare CIDRs), and enumerates the emitting formats. It separates itself from the check/summary/list/lookup siblings by producing paste-ready config rather than inspection results, though it never explicitly states that contrast.

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 is only implied: an agent can infer you call this when you need Nginx/Apache/Caddy/JSON allowlist snippets. There is no statement of prerequisites, no mention that it hits the network for live data, and no explicit 'use X instead when you only want to inspect ranges' routing to the siblings.

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.