Skip to main content
Glama

Traffic through Cloudflare

cf_analytics
Read-onlyIdempotent

Traffic through Cloudflare for a zone (proxied traffic only): requests, cached share, visitors, threats, bandwidth and status codes per day for up to 30 days, top countries, requests per hour for the last 24 hours, and a sample of the firewall events of the last 24 hours (what was blocked or challenged, by action, source, address, path and country). The place to look during a bot attack or a traffic alert.

Input Schema

NameRequiredDescriptionDefault
daysNo1 to 30, default 7.
zoneNoThe zone (domain) at Cloudflare, or any host inside it. Not needed when the user has one zone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the description's added value is data-boundary disclosure: proxied traffic only, a 30-day ceiling, fixed 24-hour windows for hourly/top-country/firewall data, and that firewall events are only a 'sample'. It does not mention auth/token requirements or whether any fields can be empty.

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 resource, zone scope and the 'proxied traffic only' constraint, then the output inventory, then a short usage cue. The long enumerated list is information-dense rather than padded, and with no output schema that detail earns its place, though the single run-on sentence is heavier than necessary.

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?

With no output schema, the description carries the return-value burden and does so comprehensively (metrics, time windows, top countries, hourly, firewall-event sample). Combined with annotations and full schema coverage, the only real gap is operational context such as permissions and whether the firewall sample is truncated.

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% and both parameters (days 1-30 default 7, zone optional for single-zone users) are fully documented in the schema. The description's 'per day for up to 30 days' and 'last 24 hours' windows loosely mirror the days parameter but add no syntax or format detail beyond it, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource and scope: 'Traffic through Cloudflare for a zone (proxied traffic only)', followed by an explicit inventory of the metrics returned. That scope cleanly separates it from the other cf_* siblings (DNS, firewall rules, cache, settings, zones), which are configuration tools rather than read-only analytics.

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 place to look during a bot attack or a traffic alert' gives a concrete triggering context, and 'proxied traffic only' implicitly scopes out non-proxied/GA-sourced data. It stops short of naming an alternative (e.g. ga4_* or cf_firewall_list for rule configuration), so no explicit when-not-to-use guidance.

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.

Resources