Skip to main content
Glama
samarthanalytics-sj

Samarth GTM MCP Server

Official

ga4_run_realtime_report

Run a real-time GA4 report of events from the last 30 minutes to verify tag firing during live QA. Read-only, no data modified.

Instructions

Run a read-only GA4 Data API Realtime report (events in roughly the last 30 minutes). Useful to confirm a tag is firing right now during live QA. Read-only — never writes. Requires the analytics.readonly scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
propertyYesGA4 property ID, e.g. "123456789" or "properties/123456789".
dimensionsNoDimension names, e.g. ["eventName","date"]. Max 9. Omit for a metric-only report.
metricsYesMetric names, e.g. ["eventCount","totalUsers"]. At least 1, max 10.
limitNoMax rows to return (default 100).
Behavior4/5

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

With no annotations, the description carries full burden. It discloses read-only nature ('never writes'), time window (roughly last 30 minutes), and required scope (analytics.readonly). No rate limits or error behaviors but sufficient for a read-only report.

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?

Three sentences that are front-loaded with purpose, no filler. Every sentence adds value: purpose, use case, and read-only/scope info.

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

Completeness5/5

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

Given the tool's simplicity (realtime report), the description covers purpose, behavior, use case, and scope. No output schema exists, but the return is standard rows; no further details needed.

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 coverage is 100% with descriptions for all parameters. The description does not add extra meaning beyond the schema, so baseline of 3 is appropriate. No contradictions or gaps.

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

Purpose5/5

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

The description clearly states it runs a read-only GA4 Data API Realtime report for events in the last 30 minutes, distinct from the sibling 'ga4_run_report' which handles historical data. The use case for live QA is explicit.

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?

It explicitly tells when to use the tool (confirming a tag firing during live QA) and states it is read-only. Although it doesn't explicitly mention when not to use, the context implies alternatives like ga4_run_report for non-realtime needs.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/samarthanalytics-sj/samarth-analytics-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server