Skip to main content
Glama

Analytics get realtime

analytics_get_realtime
Read-only

GA4 realtime users. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analytics_get_realtime"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
limitNo
metricsNo
user_idNo
client_idNo
dimensionsNo
user_emailNo
property_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond the schema — that client_id selects the brand and falls back to the active one, and that extra is a catch-all passthrough — but says nothing about scope, freshness window of 'realtime', or what happens when invalid metrics/dimensions are supplied.

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?

Two short sentences with no padding, which is good, but the first is a noun fragment rather than a statement of purpose and the second bundles an unrelated concern. It is terse at the cost of clarity rather than because every word earns its place.

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?

With 8 optional parameters, zero schema descriptions, and only 2 of them addressed, the definition is far too thin for the tool's surface area. The presence of an output schema removes the need to describe return values, but nothing compensates for the unlabeled input parameters.

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

Parameters2/5

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

Schema description coverage is 0% across 8 parameters, so the description must carry the full burden and it does not. It explains only client_id (brand selector, defaults to active) and the catch-all extra; limit, metrics, dimensions, property_id, user_id, and user_email are entirely undefined anywhere in the definition.

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 fragment "GA4 realtime users" identifies the resource (realtime GA4 user data) but is not a verb+resource statement and gives no hint of what is actually returned. It does not distinguish this from the many other GA4-flavored siblings in the catalog (e.g. analytics_get_realtime_dashboard, analytics_get_ga4_metrics), so an agent cannot confidently choose between them from the text alone.

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 and no mention of when not to use it or what to use instead. The only conditional hint is that client_id defaults to the active brand, which is a default behavior rather than a selection rule for the tool itself.

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.