Skip to main content
Glama

Ga4 realtime

ga4.realtime
Read-onlyIdempotent

Retrieve realtime Google Analytics 4 report data by property, dimensions, and metrics to monitor current traffic and activity.

Instructions

GA4 Data API realtime report (runRealtimeReport).

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>",
      "dimensions": "<dimensions>",
      "metrics": "<metrics>"
    },
    "name": "ga4.realtime"
  }
}

Input Schema

NameRequiredDescriptionDefault
metricsYes
dimensionsYes
property_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. Beyond that the description only echoes the API method name — it does not mention realtime-specific behavior such as the lookback window, restricted dimension/metric compatibility, or quota/rate considerations, which are the details that actually matter here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no filler, which is structurally sound, but its brevity is under-specification rather than efficiency given a 3-parameter tool in a dense sibling set.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but with three required undocumented parameters and an adjacent ga4.report sibling, the definition leaves too much for the agent to infer. A sentence on realtime scope and dimension/metric conventions would make it complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for three required parameters (property_id, dimensions, metrics), and the description provides no compensating information about formats (e.g. 'properties/1234', 'eventName' style dimension names) or valid combinations. The agent must infer all parameter meaning from the raw field names.

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

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (a GA4 realtime report) and cites the underlying API method runRealtimeReport, so the agent can tell this is reporting, not admin or mutation. However it never explicitly contrasts itself with the sibling ga4.report, so the crucial realtime vs. historical distinction is left implicit.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing says to pick this for last-30-minutes data and ga4.report for historical ranges, and no prerequisites (property access, valid dimension/metric pairings) are mentioned. The agent must infer usage from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools