Skip to main content
Glama
shopify-mcp-complete

shopify-mcp-complete

by hishamalhadi

customer-segments

Retrieve customer analytics that rank top buyers by total spent, order count, and engagement to identify VIP customers and target segments.

Instructions

Get customer analytics showing top customers by total spent, order count, and engagement. Useful for identifying VIP customers.

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": "customer-segments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

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 provided, so the description carries the burden and does state that results are ranked 'top customers' by spend/counts, which hints at ordering. It says nothing about permissions, cost of the aggregation, how many records are returned by default, or what 'engagement' actually measures.

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 tight sentences with the capability stated first and the use case second; nothing is padded. It could have used the second sentence to cover the limit instead of a fairly generic VIP framing.

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 a simple single-parameter read tool this is roughly adequate, but with no annotations and no output schema the description should at least define 'engagement', state the ranking order, and mention the limit behavior. As written, an agent can call it but cannot predict its result set precisely.

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?

There is one parameter (limit) with 0% schema description coverage, and the description never mentions it — the agent gets no signal that a limit exists, that it defaults to 10, or that it caps at 50. Only the implicit 'top customers' phrasing suggests a bounded ranked list.

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?

The description gives a specific verb and resource ('Get customer analytics') and names the three metrics returned: total spent, order count, and engagement. It is clearly distinguishable from sibling listing tools like get-customers, though it never explicitly contrasts itself with them.

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 identifying VIP customers' implies a use case but gives no explicit when-to-use versus when-not guidance and names no alternative for other customer queries. The agent must infer that get-customers is the tool for plain listings.

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