Skip to main content
Glama

Measure.events Analytics

Breakdown

get_breakdown
Read-only

Top values of one dimension: path, referrer, source, channel, country, device, browser, os, utm_source, utm_medium, utm_campaign or agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd date, YYYY-MM-DD (UTC, inclusive).
dimYes
fromNoStart date, YYYY-MM-DD (UTC, inclusive).
limitNo
periodNoTime period. Ignored when from and to are given.
trafficNoWhich traffic to count (default all).
site_keyYesThe site's tracking ID (site_key), from list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered, but the description adds no behavioral context at all. It does not say what is counted, how results are ordered, what the default limit is, or that period is ignored when from/to are supplied (that only appears in the schema).

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?

One front-loaded sentence with no filler, which is appropriate for a simple read tool. The enumerated dimension list is slightly redundant with the schema enum but does aid quick scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With seven parameters, no output schema, and no return-shape documentation, the description needs to explain what a 'breakdown' row contains and how it is sorted. It omits the metric being aggregated, ordering, and default limit behavior, leaving an agent unable to predict results.

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 71%, so most parameters (to, from, period, traffic, site_key) already carry their own descriptions. The only thing the description contributes is the dim value list, which merely restates the enum, and it leaves 'limit' unexplained. This meets the baseline but adds no meaning beyond structured data.

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

Purpose3/5

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

It says it returns 'top values of one dimension' and enumerates the dimensions, which gives a rough sense of an aggregation call. But it never names what is being ranked (visits? pageviews? unique visitors?) and does not distinguish it from analytics-flavored siblings like get_site_analytics or get_site_summary.

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 statement of when to pick this over get_site_analytics, get_site_summary, or get_agent_report, and no prerequisites or exclusions are given. The agent must infer the use case entirely from the name and enum list.

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