Skip to main content
Glama
mcp-google-analytics

mcp-google-analytics

Realtime report

ga_realtime_report
Read-only

Retrieve active users, events, and pages from the last 30 minutes for a Google Analytics 4 property to monitor live site activity.

Instructions

Active users, events and pages from the last 30 minutes.

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": {
      "propertyId": "<propertyId>"
    },
    "name": "ga_realtime_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
propertyIdYesGA4 property ID, e.g. 123456789.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's main added value is the 30-minute recency window, which is genuinely useful behavioral context. It says nothing about GA4 realtime sampling/cardinality limits, latency, or what the response contains, which are the traits an agent would still want.

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

Conciseness4/5

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

One short sentence with zero filler and the key scoping fact (30 minutes) front-loaded. It is efficient, though the terseness borders on under-specification rather than optimal density.

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?

For a one-parameter read-only tool this covers the essentials, and annotations carry the safety profile. With no output schema, though, the description should at least sketch what comes back (metric set, dimensions, row limits), and it 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?

There is a single parameter with 100% schema description coverage, so the schema already explains propertyId with an example. The description adds no meaning beyond that, which is the expected baseline for a fully documented single-param schema.

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 (active users, events, pages) and the time window, so an agent can infer it returns a realtime snapshot. But it is a noun phrase with no verb, and it does nothing to distinguish itself from siblings like ga_basic_report or ga_run_report, which likely also return user/event/page metrics.

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 'last 30 minutes' window implicitly signals when this tool is appropriate (live/recent data) versus a historical report. However, there is no explicit when-to-use or when-not-to-use guidance and no named alternative for standard reporting, leaving the agent to infer the choice from sibling names alone.

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