Skip to main content
Glama
crunchtools

mcp-cloudflare-crunchtools

by crunchtools

get_security_events_tool

Retrieve Cloudflare security and firewall events grouped by action, country, and source to analyze threats and traffic patterns over a specified time range.

Instructions

Get security/firewall events grouped by action and source.

Provide either zone_id or zone_name, not both.

Args: zone_id: Zone ID (32-character hex string) zone_name: Zone name (domain like example.com) since: Start date ISO format (default: 30 days ago) until: End date ISO format (default: today) limit: Number of results (default: 20)

Returns: Security events with action, country, source, and count

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
sinceNo
untilNo
zone_idNo
zone_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / limit / description
      Removed value: -"Number of results (default: 20)"
    • removedInput schema / properties / since / description
      Removed value: -"Start date ISO format (default: 30 days ago)"
    • removedInput schema / properties / until / description
      Removed value: -"End date ISO format (default: today)"
    • removedInput schema / properties / zone_id / description
      Removed value: -"Zone ID (32-character hex string)"
    • removedInput schema / properties / zone_name / description
      Removed value: -"Zone name (domain like example.com)"
  2. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses defaults (30 days ago, today, limit 20) and the grouping behavior, which is helpful, but says nothing about whether the call is read-only, permission requirements, or rate limits. Adequate but with clear gaps for a no-annotation tool.

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 purpose sentence, then a compact constraint, then Args and Returns blocks. Every line is relevant; the Args listing slightly restates schema field names but adds type/default meaning. Well organized.

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?

For a 5-param, zero-annotation read tool, the definition covers purpose, exclusivity constraint, parameter meaning, defaults, and return shape. The Returns section is partly redundant given the output schema exists, but nothing critical is missing for correct invocation.

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?

Schema description coverage is 0%, so the description must compensate, and it largely does: it documents all five parameters with type hints (32-char hex zone ID, domain-style zone name, ISO dates) and defaults. Enum/format nuances (e.g., accepted ISO variants) are not covered, but the semantics added are substantial.

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 (Get) and resource (security/firewall events) plus the aggregation dimension (grouped by action and source). This distinguishes it from analytics siblings like get_zone_analytics_tool and get_traffic_by_country_tool, though it doesn't explicitly name them.

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?

Provides one clear constraint — 'Provide either zone_id or zone_name, not both' — which is genuinely useful invocation guidance. However, it gives no guidance on when to choose this tool over sibling analytics/reporting tools, so usage context is only partially covered.

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