Skip to main content
Glama
crunchtools

mcp-cloudflare-crunchtools

by crunchtools

get_zone_analytics_tool

Retrieve Cloudflare zone traffic analytics: total requests, unique visitors, bandwidth, cache ratio, and status code breakdown for a date range. Provide zone ID or name.

Instructions

Get zone traffic analytics summary.

Returns total requests, unique visitors, bandwidth, cache ratio, and status code breakdown for the given date range.

Provide either zone_id or zone_name, not both.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoStart date ISO format (default: 30 days ago)
untilNoEnd date ISO format (default: today)
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?

With no annotations provided, the description must carry the full burden, and it does a decent job by disclosing the exact output metrics and the date-range scope. However, it omits behavioral details such as timezone handling, data latency, permission requirements, or idempotency guarantees. It does not contradict any annotations, but it also doesn't go beyond the obvious for a read-only analytics endpoint, so it meets the baseline without excelling.

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 three short sentences, each earning its place: the first sentence defines the tool's purpose, the second lists the returned metrics, and the third gives the key parameter constraint. No wasted words, perfect front-loading of purpose. Exemplary conciseness.

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 that an output schema exists (covering return value details), this description is complete for a summary tool. It covers the input date range, the selection method, and the aggregate metrics returned. However, it could be slightly more complete by mentioning timezone assumptions or whether historical data is delayed, but these are minor given the output schema and the tool's straightforward nature.

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?

While schema coverage is 100% (all four parameters documented), the description adds critical semantic value by stating 'Provide either zone_id or zone_name, not both,' which is a constraint not derivable from the schema alone. This adds meaningful guidance beyond the parameter descriptions, meriting an above-baseline score.

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 the tool returns a 'zone traffic analytics summary' with specific metrics (requests, unique visitors, bandwidth, cache ratio, status codes). It uses a specific verb ('Get') and resource ('zone traffic analytics'), making the purpose unmistakable. However, it does not explicitly differentiate itself from sibling analytics tools like get_traffic_by_country_tool or get_top_pages_tool, though the name and return fields largely compensate.

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?

The description provides no guidance on when to choose this tool over alternatives such as get_traffic_by_country_tool or get_top_pages_tool. It does not mention use cases, exclusions, or prerequisites. The only 'guidance' is the mutual-exclusivity constraint for zone_id/zone_name, which is a parameter rule rather than usage direction. No explicit when-to-use or when-not-to-use context is given.

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