Skip to main content
Glama
shopify-mcp-complete

shopify-mcp-complete

by hishamalhadi

product-performance

Retrieves top-selling products ranked by revenue, sales, or quantity sold over a chosen period, supporting inventory planning and marketing decisions.

Instructions

Get product performance analytics showing top selling products by revenue or quantity. Useful for inventory planning and marketing decisions.

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": "product-performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
periodNolast_30_days
sortByNototal_sales

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and does none of it: no mention that this is a read-only ranked aggregation, how ties or missing sales data are handled, or whether results are scoped to the whole catalog. Only the vague phrase 'top selling products' conveys ranking behavior.

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 short sentences with the capability front-loaded and no redundant restatement of the tool name. The trailing benefit clause is generic but does not obscure the core statement.

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?

With no annotations, no output schema, and zero parameter descriptions, the agent must infer period defaults, sort semantics, and return shape entirely from the schema. For an analytics tool whose value depends on ranking and time-window behavior, the definition is under-specified.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description must compensate. It only hints at the sortBy concept ('by revenue or quantity') while omitting the third sort mode, the limit cap of 100, and every period option — the agent gets more from the enum values than from the text.

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 ('Get') and resource ('product performance analytics') with the key dimensions ('top selling products by revenue or quantity'). This clearly separates it from inventory and product-CRUD siblings, though it never names an alternative explicitly.

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?

'Useful for inventory planning and marketing decisions' hints at intent but gives no when-to-use/when-not criteria relative to siblings like get-products or get-inventory-levels, which are equally plausible for a 'top sellers' question.

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