Skip to main content
Glama
flin-ga4-mcp

flin-ga4-mcp

by flin-agency

get_events

Read-onlyIdempotent

Retrieve GA4 event counts, users, and key events by event name for a date range, sorted by event count descending, to analyze event performance.

Instructions

Event counts, users and key events by eventName, sorted by eventCount descending.

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
accountNo
end_dateYes
start_dateYes
property_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the ordering guarantee (eventCount descending), which is genuinely useful behavioral context, but says nothing about pagination behavior via limit/offset or what the result rows actually contain.

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; the metric list and sort order come first. It is efficient, though the brevity is partly a symptom of under-specification rather than discipline.

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?

An output schema exists, so return values need not be explained, but for a six-parameter GA4 query tool the description omits date formats, the account/property_id distinction and pagination semantics. An agent could call it, but would likely pass malformed dates or unspecified property context.

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 six parameters, so the description carries the full burden and largely fails. It never mentions the start_date/end_date format (ISO? relative?), the meaning of account vs property_id, or that limit/offset paginate the sorted result list.

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 names a specific resource (GA4 events) and states exactly what is returned: event counts, users and key events keyed by eventName, ordered by eventCount descending. That is concrete enough to distinguish it from siblings like get_summary or get_top_pages, though it never names those alternatives explicitly.

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 guidance on when to choose this over run_report, get_summary or get_top_pages, and no stated prerequisites such as needing a GA4 property id or a valid date range. The agent must infer all routing decisions from the sibling names alone.

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