Skip to main content
Glama
shopify-mcp-complete

shopify-mcp-complete

by hishamalhadi

sales-report

Retrieve sales reports for a chosen time period and group results by day, week, month, product, vendor, or channel to compare total sales, net sales, and order counts.

Instructions

Get a sales report for a specified time period. Can group by day, week, month, product, vendor, or channel. Returns total sales, net sales, and order counts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sales-report"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoTime period for the reportlast_30_days
groupByNoGroup results by

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does useful work by naming the returned metrics (total sales, net sales, order counts), and "Get" implies a read-only operation, but it omits permission requirements, any result-size or pagination limits for a report spanning up to a year, and whether period defaults when omitted.

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?

Three short, front-loaded sentences with no filler: purpose, grouping options, then return payload. The metric list earns its place because there is no output schema, though the groupBy recitation partly duplicates the enum.

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?

For a simple two-optional-parameter read tool with no output schema, the description covers intent, grouping, and returned metrics adequately. Minor gaps remain around the default period and result size, but nothing critical to making a correct call is missing.

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% and both parameters are enums with descriptions, so the baseline is 3. The description adds only a partial echo of groupBy values (day, week, month, product, vendor, channel), actually omitting quarter and year that the schema allows, so it adds no meaning beyond the schema.

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?

States a specific verb and resource ("Get a sales report") plus the scoping dimension ("for a specified time period") and the aggregation options. An agent can immediately tell this is an analytics/aggregation tool rather than an order-listing tool, though it never explicitly contrasts itself with the order-listing siblings like get-orders.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no alternative named. An agent must infer that this is the reporting tool versus get-orders/get-customer-orders, and nothing says whether it covers all orders, a single location, or requires prior filtering.

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