Skip to main content
Glama

Simple Analytics MCP by usefulapi

Get top pages, referrers, countries or devices

simpleanalytics_get_breakdown
Read-only

Top values of one dimension for one website and date range, each with pageviews and visitors: pages, countries, referrers, UTM sources/mediums/campaigns/contents/terms, browsers, operating systems or device types. Optional filters as in simpleanalytics_get_stats. Stats API: GET /.json?fields=.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoEnd date (inclusive): YYYY-MM-DD, today, yesterday or today-1d. Default: today.
pageNoOnly this page path, e.g. /pricing. A trailing * matches a prefix (/blog/*).
limitNoMaximum number of values (default 20, max 1000).
pagesNoOnly these page paths, comma separated (/contact,/product/*).
startNoStart date: YYYY-MM-DD, today, yesterday or today-30d. Default: 1 month ago.
countryNoOnly this country, 2-letter code (NL).
os_nameNoOnly this OS name (iOS).
hostnameYesWebsite hostname as shown in Simple Analytics, e.g. example.com (from simpleanalytics_list_websites).
metadataNoExact metadata filters as {key: value}; all must match.
referrerNoOnly this referrer (normalized, e.g. google.com).
timezoneNoIANA time zone, e.g. Europe/Amsterdam. Default: the website setting.
utm_termNoOnly this UTM term.
dimensionYesWhat to break the traffic down by.
utm_mediumNoOnly this UTM medium.
utm_sourceNoOnly this UTM source.
device_typeNoOnly this device type.
utm_contentNoOnly this UTM content.
browser_nameNoOnly this browser name (Chrome).
utm_campaignNoOnly this UTM campaign.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.