Skip to main content
Glama

QuerySail: Google Analytics

Run a Google Analytics realtime report

run_realtime_report
Read-onlyIdempotent

Use this when the user asks what is happening on their site or app right now: active users in the last 30 minutes, optionally by country, city, device, platform, page or screen ('unifiedScreenName') or event name. Default metric activeUsers; eventCount, screenPageViews and keyEvents are also available. Standard properties cover the last 30 minutes, GA4 360 properties 60. Realtime figures are preliminary and never cached. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filtersNoAll filters are combined with AND. A filter on a requested metric is numeric (equals, notEquals, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual with a number value); any other field is a dimension filter with a string operator.
metricsNoRealtime metric API names. Default activeUsers.
order_byNo
row_limitNoRows to return. Default 20, maximum 100.
dimensionsNoRealtime dimension API names, e.g. 'country', 'city', 'deviceCategory', 'platform', 'unifiedScreenName', 'eventName', 'minutesAgo'.
minutes_agoNoHow many minutes back to cover, up to now. Default 29 (the last 30 minutes).
property_idYesExact property ID from list_properties, e.g. 'properties/123456789'.
connection_idNoOptional: force a specific Google connection when the property is visible to several.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsNo
unitsNo
totalsNo
requestNo
coverageNo
propertyNo
freshnessNo
requestIdNo

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.