Skip to main content
Glama
konkomaji

Google Marketing MCP

by konkomaji

ga4_run_report

Extract GA4 analytics by running reports with any combination of dimensions and metrics over chosen date ranges, with optional filters and sorting.

Instructions

Run a GA4 report: any dimension x metric combination over a date range.

Args: dimensions: e.g. ["sessionSourceMedium", "date"], ["eventName"], ["landingPagePlusQueryString"], ["city"], ["deviceCategory"]. metrics: e.g. ["sessions", "activeUsers", "engagementRate", "averageSessionDuration", "eventCount", "conversions", "totalRevenue"]. start_date / end_date: 'YYYY-MM-DD', or relative like 'today', 'yesterday', 'NdaysAgo'. dimension_filter_field / dimension_filter_value: optional single exact-match filter, e.g. field='eventName', value='generate_lead'. order_by_metric: metric name to sort by. Defaults to the first metric. desc: sort descending (default) or ascending.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descNo
limitNo
metricsYes
end_dateNoyesterday
dimensionsYes
start_dateNo28daysAgo
property_idNo
order_by_metricNo
dimension_filter_fieldNo
dimension_filter_valueNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

There are no annotations, so the description carries the behavioral burden. It discloses useful defaults (order_by_metric defaults to the first metric, desc defaults to descending) and that the filter is a single exact match, but it does not mention property selection when property_id is null, limit behavior, pagination, or any quota/error behavior.

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?

The one-line summary is front-loaded and the Args section is organized and free of filler. The listing is somewhat long, but each parameter entry earns its place given the tool has 10 parameters.

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 description covers the core parameters and the main calling patterns, while the output schema carries the return-value documentation so the description does not need to restate it. The main gaps are the unstated semantics of property_id when null and the limit parameter, which prevents a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description compensates well by giving concrete examples for dimensions, metrics, date formats, filtering, and sorting. It omits semantic detail for limit and property_id, though their names and defaults are reasonably self-explanatory.

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 opens with a specific verb and resource ('Run a GA4 report') and clearly scopes the tool to arbitrary dimension/metric combinations over a date range. It does not explicitly differentiate from ga4_run_realtime_report, so it stops short of a 5.

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 'any dimension x metric combination over a date range' wording implies a general-purpose reporting tool, and the parameter examples clarify acceptable input formats. No explicit guidance is given about when to choose this over ga4_run_realtime_report or another sibling, and there are no exclusions or alternatives mentioned.

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

Deploy Server

Other Tools