Skip to main content
Glama
zhangluka

grain-seo-mcp

by zhangluka

analytics_ecommerce

Retrieve ecommerce performance data from GA4, including products and revenue, with filtering by date and pagination.

Instructions

Get ecommerce performance (products, revenue) from GA4

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
propertyIdYesGA4 Property ID
accountIdNoGA4 account ID for multi-account setups
startDateYesStart date (YYYY-MM-DD)
endDateYesEnd date (YYYY-MM-DD)
limitNoMax rows (default 50)
offsetNoStarting row for pagination (0-based)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It does not mention permissions, data freshness, rate limits, or that the operation is read-only. It only says 'from GA4', which is already in the parameters.

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 a single sentence with no wasted words. It front-loads the purpose ('Get ecommerce performance').

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?

Without an output schema, the description should explain what 'ecommerce performance' includes. Vague terms 'products, revenue' do not sufficiently describe the return structure for a tool with 6 parameters and no output schema.

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 the baseline is 3. The description adds 'products, revenue' as hints to what the tool returns, but does not add details about parameters beyond what the schema provides.

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 the verb (Get), resource (ecommerce performance), and source (GA4). It is distinct from sibling tools, as no other tool focuses on ecommerce data.

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 use for ecommerce performance but provides no explicit guidance on when to use this tool versus other analytics tools (e.g., analytics_performance_summary) or when not to use it.

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