Skip to main content
Glama
Google Ads MCP

Google Ads MCP

by gabogabucho

Get Realtime Users

get_realtime_users

Retrieve real-time active user counts from Google Analytics 4 to verify new campaign traffic and monitor live activity.

Instructions

Get real-time active user count from Google Analytics 4.

Useful for verifying that a newly activated campaign is generating traffic, or monitoring live user activity.

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": "get_realtime_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
dimensionsNoOptional breakdown dimensions (default: ["country"])
property_idYesGA4 numeric property ID

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It signals that results are live/near-instant and scoped to currently active users, but says nothing about the realtime lookback window, GA4 realtime quota behavior, or that these figures can differ from finalized standard reports — all material for a metrics tool.

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?

Two short sentences, front-loaded with the core purpose before the motivating use cases. No filler or redundancy; the second sentence justifies itself by anchoring when to reach for it.

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?

The tool is simple (2 params, one required, output schema present), so return values and parameter details are well covered elsewhere. The remaining gap is behavioral: the meaning of 'real-time' (window, freshness, quota) is never pinned down, which for a live-metrics endpoint is the key thing an agent needs.

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%, with both property_id and dimensions documented inline, including the default of ["country"]. The description adds no parameter guidance beyond that, so the schema does all the work and baseline 3 applies.

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 ('Get real-time active user count') plus the source system (Google Analytics 4), which clearly separates it from report-oriented siblings like run_ga4_report or get_ga4_events. It stops short of explicitly naming a sibling, but 'real-time' is a distinctive scope marker.

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?

Gives two concrete usage contexts: verifying a newly activated campaign is generating traffic and monitoring live user activity. That is clear when-to-use context, though it offers no exclusions or pointer to the historical alternative (e.g., run_ga4_report) when the agent needs non-realtime data.

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