Skip to main content
Glama
den-indance

Shopify MCP Pro

getTrafficReport

Retrieve orders grouped by traffic source, showing total sales, order count, and AOV. Override with a custom ShopifyQL query.

Instructions

Orders grouped by traffic source via ShopifyQL. Default: total_sales/orders/AOV by referrer_source. Pass query to override.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startDateYesStart date (YYYY-MM-DD)
endDateYesEnd date (YYYY-MM-DD)
queryNoOptional raw ShopifyQL query to override the default
Behavior3/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 mentions the use of ShopifyQL and default metrics but lacks details on pagination, rate limits, data freshness, or side effects. Adequate but not comprehensive.

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?

Two sentences, front-loaded with purpose, no wasted words. Every sentence adds distinct value: first defines purpose, second explains default and override capability.

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?

No output schema, but description explains the return type (orders grouped by traffic source) and default metrics. Lacks pagination or error handling, but sufficient for a standard report tool. Mostly complete.

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?

With 100% schema description coverage, baseline is 3. The description adds context for the 'query' parameter (overrides default) but does not enhance startDate/endDate beyond schema. Minimal added value.

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 tool retrieves orders grouped by traffic source using ShopifyQL, with default metrics. It distinguishes from sibling report tools by specifying the focus on traffic source analysis.

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 usage for traffic-based order analysis but does not explicitly state when to use this tool over alternatives like getConversionReport or getSalesReport. No when-not guidance is provided.

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/den-indance/shopify-mcp-pro'

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