Skip to main content
Glama

GA4 ecommerce

ga4_ecommerce
Read-only

Ecommerce performance including purchases, purchase revenue and top purchased items.

Input Schema

NameRequiredDescriptionDefault
limitNo
detailNosummary (default): headline numbers and the top 5 rows — right for a specific question or a quick look. full: every row and section — only when the user asks for a full report, a complete list or all the details.
folderNoClient folder name.
end_dateNoCustom end date YYYY-MM-DD.
languageNoLanguage of the card (ar for Arabic, en for English).
propertyNoGA4 property ID or property name. Required when multiple AI-enabled properties exist.
date_rangeNoPreset period. Default LAST_7_DAYS.
start_dateNoCustom start date YYYY-MM-DD (use with end_date instead of date_range).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the useful fact that results are organized around purchases, revenue and top items, but says nothing about the default LAST_7_DAYS window, property resolution requirements, or how sections are returned — the annotation bar is lower, so 3 is fair.

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 compact sentence that front-loads the resource and lists the key metrics with no filler. The only weakness is that it is a noun phrase rather than a complete statement of action and scope.

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?

For an 8-parameter, zero-required analytics tool with no output schema, the description gives a rough sketch of returned metrics but omits how defaults are applied, when a property must be specified, and how summary vs full changes the response. Adequate to pick the tool, thin for calling it confidently.

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 88%, so parameters like detail, date_range, property and folder are already well documented in the schema. The description adds only the implicit link between 'top purchased items' and the limit/detail controls; it does not explain how limit interacts with detail or how property selection behaves when multiple properties exist.

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?

Names a specific resource ('GA4 ecommerce performance') and enumerates the core outputs (purchases, purchase revenue, top purchased items), which distinguishes it from generic GA4 siblings such as ga4_overview or ga4_pages. It lacks an explicit contrast with the closest sibling, ga4_key_events, but the domain is unambiguous.

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?

Usage is only implied: an agent can infer 'call this when the user asks about ecommerce/purchase results,' but there is no explicit when-to-use, no when-not-to-use, and no named alternative such as ga4_key_events or ga4_traffic_acquisition for overlapping questions. The detail parameter's summary/full guidance lives in the schema, not the description.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources