Skip to main content
Glama
shopify-mcp-complete

shopify-mcp-complete

by hishamalhadi

get-customer-orders

Retrieve a customer's order history with pagination support by providing a customer ID, limit, and cursor for manageable, page-by-page access.

Instructions

Get order history for a specific customer with pagination support.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "customerId": "<customerId>"
    },
    "name": "get-customer-orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
customerIdYesCustomer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 disclose that results are paginated, which is genuine behavioral information, but says nothing about ordering (newest vs. oldest first), auth/scope requirements, or behavior for an unknown customerId.

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?

A single front-loaded sentence with no filler; the scope qualifier and pagination note both earn their place. It is very terse, but nothing is redundant.

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?

Low-complexity read tool, but with no annotations and no output schema the description should at least indicate the return shape (a list of orders) and how to continue paging. It hints at pagination without explaining mechanics, leaving meaningful gaps for an agent calling it the first time.

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 coverage is only 33%: customerId is documented in the schema, while cursor and limit are not. "Pagination support" hints that cursor and limit exist but adds no semantics such as page size limits (schema max 250) or where the cursor value comes from.

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 order history") scoped to one identified customer, which distinguishes it from the broader get-orders. It does not name any sibling explicitly, so it stops short of a 5.

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?

Usage is only implied: "for a specific customer" signals the precondition of having a customerId, but there is no statement of when to choose this over get-orders or get-customer-by-id, and no exclusions or prerequisites.

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