Skip to main content
Glama

cloudflare_ddos_analytics

Query aggregated DDoS attack analytics for a Cloudflare zone. Specify time range and result limit to analyze attack traffic patterns and trends via GraphQL.

Instructions

Query DDoS attack analytics for a zone using Cloudflare GraphQL Analytics. Returns aggregated attack traffic data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zone_idYesZone ID (32-char hex) or zone name (e.g., 'example.com')
sinceNoISO 8601 datetime to query from (default: 24 hours ago). E.g., '2026-03-12T00:00:00Z'
limitNoMaximum number of result groups to return (default: 100, max: 10000)
Behavior3/5

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

No annotations are provided, so the description must carry the burden. It indicates a read-only query returning aggregated data, but lacks details about error handling, data freshness, pagination (though 'limit' parameter implies it), and what specific metrics are returned.

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?

Two sentences, no redundant words. The first sentence states the action and resource, the second clarifies the output. Efficient and front-loaded.

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?

No output schema, so description should explain return values. 'Aggregated attack traffic data' is vague; could specify common fields (e.g., attack count, top vectors). Lacks examples or notes on parameter combinations. Adequate but not complete.

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 the baseline is 3. The description does not add meaningful context beyond the schema; it only rephrases the ISO 8601 format for 'since' and does not explain how to obtain a zone_id.

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 verb 'Query' and the resource 'DDoS attack analytics for a zone', and mentions it uses GraphQL Analytics. It distinguishes from siblings like security_events by specifying DDoS, but does not explicitly differentiate.

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?

No guidance on when to use this tool vs. alternatives like cloudflare_security_events or rate_limit_status. The description only states what it does, not when it's appropriate.

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/itunified-io/mcp-cloudflare'

If you have feedback or need assistance with the MCP directory API, please join our Discord server