MCP

MCP tool reference

Every read-only tool on the MCP server, with its arguments, and the periods, dimensions, filters and attribution models they accept.

Every tool is read-only, and answers with the same numbers as the dashboard and the read API. Tools about a website take its id or domain (additional domains work too). Those marked Needs people:read have visitors' personal data.

ToolArgumentsReturns
list_websitesnoneYour websites, with ids, domains, timezones and currencies.
get_websites_summaryperiodEvery website with what its Home card shows: the period's figures, who's online, uptime and site score.
get_overviewwebsite, period, from, to, filters, modelVisitors, bounce rate, session time, revenue and conversion rate against the previous period, and who's online.
get_timeseriesthe same, plus interval (hour, day, week, month)Those metrics per interval.
get_breakdownwebsite, dimension (required), period, from, to, limit (1–100, default 10), sort (visitors or revenue), search, filters, modelThe top rows of a dimension.
get_livewebsiteUp to 50 visitors online now and the 25 latest events.
list_goalswebsite, period, from, to, filtersGoal completions, conversion rates and revenue.
get_breakdown_comparedwebsite, period, from, to, filters, model, dim, limit, sort, search, previousTop values of a dimension: channel, referrer, campaign, page, country, device and more. With `previous` set to 1, the period before too, to compare.
get_pageswebsite, period, from, to, filters, model, by, sort, dir, search, offset, limitEvery page viewed, with its numbers and trend.
get_insightswebsite, period, from, toWhich sources, pages and other segments convert better or worse than the website as a whole, for the period.
get_peak_hourswebsite, metric, range, filters, modelThe website's data as one week, hour by hour, in its time zone, for visits, goals, sales or revenue. All time unless `range` says less.
get_crawlerswebsite, period, from, to, categoryAI assistants, search engines and training crawlers requesting the website's pages (category answers, indexing or training), and automated browsers: headless browsers from cloud servers, left out of visitor stats, by network owner, location and landing page (category automated; every answer has an automated section).
get_search_consolewebsite, period, from, toGoogle searches that brought people to the website, for a connected website, as last synced.
get_goal_detailswebsite, period, from, to, filters, goal, viewEach goal's completions over time. Each goal's top traffic sources and pages. The values sent with a goal. Personal because a goal's values are whatever your website sends, emails included. Needs people:read.
list_funnelswebsiteThe website's saved funnels.
get_journeyswebsite, period, from, to, filters, steps, start, goalsThe routes visitors take through the website.
get_performancewebsite, period, from, to, filters, model, deviceReal visitors' Core Web Vitals and the latest daily site audit with its history.
get_audit_findingswebsiteThe latest site audit's scores and what needs fixing, worst first: what it found, what's expected, the first step, and a prompt to paste into an AI coding tool.
get_uptimewebsite, rangeWhether the website is up: its status, last check, last 24 hours, uptime over 7 to 365 days, response times, latest incidents, and domain and SSL expiry.
get_uptime_incidentswebsite, beforeOutages with their causes, newest first, a page at a time.
get_heatmapwebsite, period, from, to, path, device, viewWhere people click and how far they scroll on a page. The pages with heatmap data.
get_recordings_summarywebsite, period, from, toHow many sessions were recorded in the period, and how many of each problem tag (rage clicks, errors, slow pages and so on). Nobody is identified.
get_retentionwebsite, every, cohort, return, mode, filtersOf the people who first came in a period, how many came back. Totals only.
list_visitorswebsite, period, from, to, filters, type, search, limit, offset, activity, timeVisitors in the period, with their names and emails where known. Needs people:read.
get_visitorwebsite, idOne visitor's journey: every visit, page, goal and payment. Needs people:read.
list_customerswebsite, period, from, to, limitThe people who paid in the period. Needs people:read.
get_lifetime_valuewebsite, period, from, to, filters, dim, byLifetime value by source and by customer. Needs people:read.
list_paymentswebsite, period, from, to, model, limitIndividual payments with who made them. Needs people:read.
list_goal_completionswebsite, period, from, to, filters, goal, search, limit, offsetWho completed a goal, and when. Needs people:read.
get_chart_markerswebsite, period, from, toWhat's marked on the chart: notes, chats and commits by time. Needs people:read.
list_chatswebsiteLive chat conversations. Needs people:read.
get_chatwebsite, idOne visitor's messages. Needs people:read.
search_chatswebsite, qMessages containing the words in `q`. Needs people:read.
list_recordingswebsite, period, from, to, sort, order, tag, group, value, skip, before, country, device, min, path, visitorRecorded sessions in the period, with their pages and tags. Needs people:read.
get_recordingwebsite, idOne recording's details. Needs people:read.
get_noteswebsite, period, from, toNotes the team made on the chart.
list_segmentswebsiteThe team's saved filters.
get_funnelwebsite, funnel_id (a saved funnel's id or name) or steps (2–8), period, from, to, filtersEach step's visitors, drop-off and time; without a funnel, the saved funnels.

Periods

now (last 30 minutes), today, yesterday, 24h, 7d, 30d (default), 90d, 3m, 6m, 12m, wtd, lastweek (the whole week before, Monday to Sunday), mtd, lastmonth, ytd, lastyear, all, or custom with from and to as YYYY-MM-DD.

Dimensions

channel, source, referrer, campaign, utm_source, utm_medium, utm_campaign, utm_term, utm_content, page, entry_page, exit_page, hostname, outbound, country, region, city, browser, os, device.

Filters

A list of [dimension, operator, value], up to 10. Operators: is, is_not, contains, not_contains. Besides the dimensions above: goal and visitor_type (new or returning for cookie traffic, single session or repeat sessions for cookieless traffic).

A visitor_type breakdown adds visitor_split: whether the types can be told (available), which tracking the traffic used (cookie, cookieless, mixed, none or unknown), subtotals for each, and unclassified revenue and goals. filter_options lists the visitor_type values the date range can answer. When the types can't be told, the rows are empty and the totals stay.

A visitor_type filter the date range can't answer answers 400 rather than an empty result (on MCP, error -32602 with the same fields as data): code is visitor_filter_unavailable, reason is incompatible_tracking or split_unavailable, with the filter, the range's tracking and its valid_values, and the range it was checked against, which on Retention and Peak hours is the report's own period. A type that can be answered and matches nobody is a normal result with zeros. is_not stays inside the type's tracking: not new is returning, and not single session is repeat sessions.

[["channel", "is", "Organic Search"], ["country", "is_not", "US"], ["goal", "is", "signup"]]

Attribution model

model: first or last touch, for revenue. Defaults to the website's setting.

AI agent or LLM? Read this page as Markdown