Skip to main content
Glama
avansaber

SEOMonster

by avansaber

ga4_run_report

Read-onlyIdempotent

Run a GA4 report with custom dimensions, metrics, date ranges, filters, and ordering. Specify dimensions, metrics, date range, and optional dimension filter to retrieve targeted analytics data.

Instructions

Run a GA4 report (Analytics Data API runReport) with arbitrary dimensions, metrics, a date range, an optional dimension filter, and ordering. The workhorse GA4 tool. Dates accept ISO (YYYY-MM-DD) or GA4 relatives like '28daysAgo' and 'today'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoConvenience alias: derives end='today', start='Ndaysago'. Ignored when start_date is set explicitly.
limitNoAlias for row_limit. row_limit wins when both are set.
metricsNoGA4 metric API names. Defaults to ["sessions"].
end_dateNoISO date or 'today'. Defaults to today.
order_byNoOptional ordering: {"metric": "sessions", "desc": true} or {"dimension": "date", "desc": false}.
row_limitNoDefaults to 1000.
dimensionsNoGA4 dimension API names. Defaults to ["date"].
start_dateNoISO date or GA4 relative. Defaults to 28daysAgo. Wins over `days` when both are set.
property_idNoGA4 property ('properties/123' or '123'). Defaults to the configured property.
dimension_filterNoOptional filter. Simple form: {"field": "sessionDefaultChannelGroup", "value": "Organic Search", "match_type": "EXACT"} or {"field": ..., "in_list": [...]}.
Behavior4/5

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

Annotations already declare read-only, open-world, and idempotent. The description adds value by specifying date format support (ISO and GA4 relatives) and default values (dimensions, metrics, start_date), enhancing beyond annotations.

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?

Two sentences, front-loaded with purpose. Efficient but could be slightly expanded to include more usage hints without becoming verbose.

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?

Given 10 parameters, no output schema, and annotations present, the description covers key behavioral aspects and parameter defaults. Lack of return value explanation is a minor gap, but overall fairly complete.

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

Parameters5/5

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

Schema coverage is 100%, so baseline is 3. The description adds significant meaning: explains 'days' as convenience alias, 'limit' alias for row_limit, details on date formats, and structure for dimension_filter and order_by objects. This greatly assists parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it runs a GA4 report with arbitrary dimensions, metrics, date range, filter, and ordering. It is labeled as 'the workhorse GA4 tool', distinguishing it from specialized siblings.

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 description implies general-purpose use but does not specify when to use alternatives or when not to use this tool. No explicit guidance on filtering to other GA4 tools like ga4_top_landing_pages.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/avansaber/seo-monster'

If you have feedback or need assistance with the MCP directory API, please join our Discord server