Skip to main content
Glama
get-mcp-ads

Google Analytics 4 by Get MCP Ads

ga4 get event parameters

ga4_get_event_parameters
Read-onlyIdempotent

Retrieve a best-effort inventory of GA4 event parameters by combining metadata and event reports, and see documented Data API limits for raw parameter access.

Instructions

Best-effort event parameter inventory from GA4 metadata plus event reports. Documents Data API limitations for raw parameters.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of returned items or rows. The declared bounds and default apply; use pagination for additional results.
endDateNoEnd date YYYY-MM-DD or relative (today, yesterday)
startDateNoStart date YYYY-MM-DD or relative (7daysAgo, yesterday)
datePresetNoNamed reporting period. Use the custom date range when you need exact start and end dates.last28days
eventNamesNoOptional event names to sample, e.g. purchase, add_to_cart
propertyIdYesGA4 property ID (numeric, e.g., 123456789)

Output Schema

NameRequiredDescriptionDefault
resultYesOriginal tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.1.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / result / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {},
      -    "type": "object"
      -  },
      -  {
      -    "items": {},
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  },
      +  {
      +    "items": {},
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observedv2.0.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare the tool as read-only, idempotent, open-world, and non-destructive. The description adds useful behavioral context by calling the inventory 'best-effort' and noting Data API limitations for raw parameters, which signals that results may be incomplete or constrained.

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?

The description is two short sentences with no wasted language. The core purpose is front-loaded, and the limitation note follows efficiently.

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?

The tool has an output schema and strong annotations, so the description need not explain return values or safety behavior. It covers purpose and a key caveat, though it could more explicitly clarify when this inventory is preferable to metadata or report tools.

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%, so propertyId, date fields, eventNames, and limit are already documented in the input schema. The description does not add parameter-specific syntax or semantics beyond the schema, which matches the baseline of 3 when the schema does the heavy lifting.

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 identifies the specific resource as an event parameter inventory sourced from GA4 metadata and event reports. It is clear enough to understand the tool's general purpose, but it does not explicitly differentiate this tool from siblings such as ga4_get_metadata or ga4_run_report.

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 explicit guidance on when to use this tool versus alternatives, nor when not to use it. The phrase 'event parameter inventory' implies a use case, but no sibling tools or selection conditions are named.

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