Skip to main content
Glama
dhawalshah

google-analytics-mcp

Get Events

get_events

Retrieve event metrics from Google Analytics 4 for a specific date range. Optionally group results by dimensions to uncover event performance.

Instructions

Get event metrics for a specific date range from Google Analytics 4.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateYesEnd date in YYYY-MM-DD format
dimensionsNoList of dimensions to group by (optional, defaults to ["eventName"])
start_dateYesStart date in YYYY-MM-DD format
property_idYesGoogle Analytics 4 property ID (numeric, e.g., "123456789")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies a read operation but does not disclose what qualifies as an event metric, how dates are processed, whether filtering is applied, or any limits. Minimal behavioral disclosure.

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?

Single sentence, front-loaded with the action and resource, no filler. It is appropriately brief but misses an opportunity to add clarifying context without becoming bloated.

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?

Output schema exists, so return format is covered. Given the tool's position among nine siblings and the optional dimensions parameter that controls grouping, a bit more context (e.g., that metrics are aggregated over the range) would help. Current description is minimal but not wholly inadequate.

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%, so the baseline is 3. The description's reference to a 'date range' echoes the start_date/end_date parameters but adds no new meaning beyond the schema. No additional value.

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 ('Get') and resource ('event metrics') with a date-range scope and source (GA4). 'Event metrics' clearly differentiates it from siblings like get_page_views and get_active_users, though it does not explicitly name alternatives.

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?

No guidance on when to use this tool vs the many sibling metric tools. There is no mention of alternatives, prerequisites, or exclusions – the agent must infer from the name alone.

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