Skip to main content
Glama

Get Breakdown by Dimension

get_breakdown
Read-only

Generic breakdown by any dimension. Use this for dimensions that don't have a dedicated endpoint (e.g. entry_page, browser_version, os_version, utm_source, utm_medium, utm_term, utm_content, ref, source, all_params).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endAtNoISO 8601 end date (e.g. "2026-01-31")
limitNoMax results (1-1000, default: 100)
domainNoWebsite domain to query. Required when using a workspace token unless websiteId is provided.
offsetNoPagination offset (default: 0)
startAtNoISO 8601 start date (e.g. "2026-01-01")
timezoneNoIANA timezone (e.g. "America/New_York"). Falls back to site default.
dimensionYesDimension to break down by: device, page, entry_page, exit_link, hostname, referrer, channel, campaign, goal, country, region, city, browser, browser_version, os, os_version, utm_source, utm_medium, utm_campaign, utm_term, utm_content, ref, source, all_params
filter_osNoFilter by operating system
websiteIdNoWebsite ID to query. Required when using a workspace token unless domain is provided.
filter_refNoFilter by ref URL parameter
filter_viaNoFilter by via URL parameter
filter_cityNoFilter by city
filter_goalNoFilter by goal name
filter_pageNoFilter by page path
filter_deviceNoFilter by device type: desktop, mobile, tablet
filter_regionNoFilter by region
filter_sourceNoFilter by source URL parameter
filter_browserNoFilter by browser name
filter_channelNoFilter by marketing channel
filter_countryNoFilter by country
filter_hostnameNoFilter by hostname
filter_referrerNoFilter by referrer domain
filter_utm_termNoFilter by UTM term
filter_entry_pageNoFilter by entry/landing page
filter_utm_mediumNoFilter by UTM medium
filter_utm_sourceNoFilter by UTM source
filter_utm_contentNoFilter by UTM content
filter_utm_campaignNoFilter by UTM campaign

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoValues of the requested dimension with visitor counts.

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds the generic 'any dimension' behavior, but does not disclose additional operational details beyond what annotations and the schema already provide. It does not contradict the annotations.

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 one focused sentence that front-loads the core purpose and immediately provides usage guidance with relevant examples. No filler or redundant repetition of schema information.

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

Completeness5/5

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

Given the rich input schema, full schema description coverage, output schema presence, and safety annotations, this description provides everything needed for an agent to select and invoke the tool correctly. The only missing nuance would be behavioral details like default date ranges, but those are not critical for routing and invocation.

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 the schema already explains all 28 parameters. The description adds examples of valid dimensions, which is useful for choosing the dimension, but it does not meaningfully extend the parameter documentation. Baseline of 3 is appropriate given the high schema coverage.

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

Purpose5/5

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

The description states a specific verb and resource: 'Generic breakdown by any dimension.' It also differentiates from sibling tools by framing itself as the fallback for dimensions without a dedicated endpoint, with concrete examples like entry_page and utm_source.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says when to use this tool: 'Use this for dimensions that don't have a dedicated endpoint.' It also gives examples, which makes the routing decision clear against siblings such as get_browsers, get_campaigns, and get_countries.

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.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool serves a distinct purpose: get_* tools cover different analytics dimensions (browsers, cities, countries, etc.) with clear scopes, while issue management and tracking tools are clearly separated. Even get_breakdown is explicitly scoped to dimensions without dedicated endpoints, avoiding overlap.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with snake_case (delete_goals, get_overview, track_goal, update_issue_status). Verbs are specific and predictable (get, delete, track, list, update), and there are no naming style mixes.

Tool Count2/5

At 27 tools, the set exceeds the 25-tool threshold considered 'too many.' While the domain is broad (analytics, tracking, issues), many get_* tools could be consolidated into get_breakdown with filter parameters, making the count feel inflated rather than necessarily well-scoped.

Completeness4/5

The tool surface covers the full analytics lifecycle: overview, time series, breakdowns, real-time data, visitor profiles, goal/payment tracking and deletion, plus AI issue listing/detail/status updates. Minor gaps exist (e.g., no update for goals/payments, no explicit list of defined goals), but these are non-critical and don't impair typical workflows.

Resources