Skip to main content
Glama
mcp-google-analytics

mcp-google-analytics

Dashboard snapshot

ga_dashboard_snapshot
Read-only

Fetches GA4 dashboard KPIs in one call, including period overview, trend, sources, top pages, and realtime activity.

Instructions

KPIs for a dashboard view in one call: period overview, trend, sources, top pages and realtime 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": {
      "propertyId": "<propertyId>"
    },
    "name": "ga_dashboard_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateNoYYYY-MM-DD, or relative: today, yesterday, NdaysAgo.today
startDateNoYYYY-MM-DD, or relative: today, yesterday, NdaysAgo.28daysAgo
propertyIdYesGA4 property ID, e.g. 123456789.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes this is a safe read operation, so the description's burden is lower. It adds useful context that five distinct datasets are fetched together (implying a heavier, multi-section call than a single report), but discloses nothing about latency, quota cost, or whether sections can be empty or partial for a property with no realtime traffic.

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?

A single front-loaded sentence with no filler, and the enumeration of sections is the most useful content placed immediately after the purpose statement. Slightly compressed by the colon-list style, but nothing is wasted.

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

Completeness4/5

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

With no output schema, the description wisely enumerates the returned sections so the agent knows what data comes back, and the three parameters are fully covered by the schema. What remains unstated, such as whether the sections are nested objects or how realtime differs from the period overview, is minor for a snapshot-style read tool.

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 startDate, endDate, and propertyId each documented including relative date formats, so the schema does the heavy lifting. The description says nothing about how the date range affects the snapshot sections, which would have been a genuine value-add beyond the schema.

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?

The description uses a specific verb-and-resource framing ('KPIs for a dashboard view') and enumerates the five sections returned: period overview, trend, sources, top pages, and realtime activity. That is clear enough to distinguish it as a composite convenience tool, though it never names ga_basic_report or ga_realtime_report as the granular alternatives, so sibling differentiation is only implied by 'in one call.'

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 phrase 'in one call' hints that this is the aggregated option chosen over making several granular report calls, but no explicit when-to-use or when-not-to-use condition is stated. There are no prerequisites, no mention that it requires prior auth, and no guidance on preferring single-metric report tools for narrow queries.

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