Skip to main content
Glama

Metrinel

Run GA4 realtime report

ga4_run_realtime_report
Read-only

Report activity on a GA4 property during the last 30 minutes. Only the realtime subset of dimensions and metrics is supported.

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>",
      "metrics": "<metrics>"
    },
    "name": "ga4_run_realtime_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
metricsYesRealtime metrics, e.g. activeUsers, eventCount.
dimensionsNoRealtime dimensions, e.g. country, unifiedScreenName, eventName.
property_idYesGA4 property id, numeric (e.g. 123456789). See ga4_list_properties.
dimension_filterNoGA4 Data API FilterExpression as JSON, e.g. {"filter": {"fieldName": "country", "stringFilter": {"value": "Spain"}}} or {"andGroup": {"expressions": [...]}}.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context the annotations don't: results are bounded to a 30-minute window and only the realtime subset of dimensions/metrics is accepted, which tells the agent that historical or non-realtime fields will fail. It still omits error behavior for invalid fields and any quota considerations.

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?

Two sentences, zero waste, with the time-window scope front-loaded before the field restriction. Nothing could be removed without losing information.

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

Completeness3/5

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

An output schema exists and the safety profile is captured by annotations, so return values and permissions need not be explained. However, a tool whose correctness hinges on using only realtime dimensions and metrics should point the agent at ga4_list_dimensions_and_metrics or otherwise explain how to obtain a valid field list, which this description does not.

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 80%, so the baseline is 3. The only parameter-relevant information added is the restriction that metrics and dimensions must come from the realtime subset, which does meaningfully constrain the two required/optional field arrays beyond the schema examples. No added detail on limit or filter expression semantics.

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?

States a specific verb and resource (report activity on a GA4 property) plus a precise scope: the last 30 minutes. The realtime framing implicitly separates it from the sibling ga4_run_report, but the description never names that sibling as the historical alternative, so differentiation is left partly to inference.

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

Usage Guidelines3/5

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

The 30-minute window implies when this tool applies (live monitoring rather than historical analysis), but there is no explicit when-to-use versus ga4_run_report, no mention of prerequisites or of ga4_list_dimensions_and_metrics for discovering valid realtime fields. Usage is implied rather than stated.

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