Skip to main content
Glama

get_account_insight_counts

Get aggregated Security Center insight counts for a Cloudflare account by dimension (class, severity, or type).

Instructions

Get aggregated Security Center insight counts for a Cloudflare account by dimension (class, severity, or type).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dimensionYesrequired,The dimension to group by: class, severity, or type
account_idYesrequired,The ID of the Cloudflare account

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose meaningful behavior — the result is aggregated counts (not raw insights), grouped by a chosen dimension — which separates it from list_account_security_insights. It says nothing about time windowing, pagination, or permissions for what is presumably a read-only aggregation.

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?

A single front-loaded sentence with no filler; verb, resource, scope, and parameter caveat are all delivered immediately.

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 two-parameter aggregation tool with no output schema and no annotations, the definition is adequate but thin: it never explains what a count result looks like, whether the aggregation is time-bounded, or how it relates to the dedicated by-class/severity/type siblings. Nothing needed to call it is strictly missing, but the response shape and scope are unaddressed.

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%, so both account_id and dimension are already documented in the schema. The description only repeats the three allowed dimension values, adding no syntax or format detail beyond the schema. Baseline 3 applies.

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+resource: aggregated Security Center insight counts for a Cloudflare account, scoped by dimension. It does not, however, differentiate itself from close siblings such as get_attack_surface_issue_counts_by_class/severity/type or get_insight_counts, leaving the agent to infer why the dimension-parameterized variant exists.

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?

There is no when-to-use or when-not-to-use guidance and no named alternative. The parenthetical listing of class/severity/type implicitly signals that this tool can replace the three per-dimension siblings, but that is left for the agent to infer rather than stated.

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

Deploy Server

Other Tools