Skip to main content
Glama

SearchCon

GA4 realtime

ga4_realtime
Read-only

Use this to confirm tracking works: GA4 events, pages and visitors from the last 30 minutes, e.g. right after the user deploys a new tag or event.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "property_id": "<property_id>"
    },
    "name": "ga4_realtime"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 50.
metricsNoRealtime metric names. Default ['eventCount']. Others: activeUsers, keyEvents, screenPageViews.
minutesNoLook back this many minutes. Default 30 (the maximum on standard GA4 properties).
dimensionsNoRealtime dimension names. Default ['eventName']. Others: unifiedScreenName (page title), country, city, deviceCategory, platform, minutesAgo.
event_nameNoOnly this event, e.g. 'sign_up' (exact name).
property_idYesNumeric GA4 property id from list_ga4_properties (e.g. '123456789').

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this is a read-only, non-destructive, closed-world operation, so safety is covered. The description adds the realtime verification context and the 30-minute window, but does not disclose additional behavioral traits like data freshness limitations or rate limits. With annotations carrying the safety profile, this is an adequate but not rich behavioral addition.

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 a single, front-loaded sentence that leads with the use case and follows with the data scope. Every phrase earns its place, and there is no unnecessary wording.

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

Completeness4/5

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

The description covers the tool's purpose, time window, and primary use case, while the schema covers all parameter details and an output schema exists for return values. Annotations cover the safety profile, so the only minor gap is explicit sibling differentiation or alternatives for historical analysis.

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 input schema already documents all parameters thoroughly, including defaults and valid values. The description does not add any parameter-specific meaning beyond what the schema provides. Baseline 3 is appropriate when the schema does the heavy lifting.

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

Purpose4/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: retrieving GA4 events, pages, and visitors from the last 30 minutes, with the clear use case of confirming tracking works. It implicitly distinguishes itself from the historical ga4_report by emphasizing realtime data, but does not explicitly name that sibling.

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

Usage Guidelines4/5

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

It provides a clear when-to-use scenario: right after deploying a new tag or event to verify tracking. There is no explicit when-not-to-use guidance or named alternative for historical reporting, but the context is sufficient for an agent to choose this over a general report.

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