Skip to main content
Glama

list_orders

Read-onlyIdempotent

Retrieve ShopNex orders with pagination and filters for financial status, fulfillment status, cancellation, customer ID, or search by order number, email, or customer name.

Instructions

List ShopNex orders with pagination (?limit=&offset= or page) and optional filters for financialStatus, fulfillmentStatus, cancelled state, customerId, or search (#1001, email, customer name). Requires read_orders scope.

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": "list_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number. Ignored when offset is explicitly provided.
limitNoNumber of records per page (1-100, default 20).
offsetNo0-based row offset passed directly to the ShopNex Admin API (?limit=&offset=).
searchNoSearch by order number (1001 or #1001), customer email, or customer name.
cancelledNotrue returns only cancelled orders; false returns only open (non-cancelled) orders.
customerIdNoFilter orders placed by a specific customer UUID.
financialStatusNoFilter orders by payment status.
fulfillmentStatusNoFilter orders by fulfillment status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description contributes the OAuth scope requirement (read_orders) and the dual pagination modes, including that page is ignored when offset is supplied. It says nothing about return shape, sort order, or rate limits, which is a modest gap given none of that is elsewhere.

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?

A single, front-loaded sentence that packs pagination mechanics, the filter set with representative examples, and the auth requirement with no filler. Every clause carries information an agent can act on.

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 an eight-parameter, fully documented list tool with no output schema, this covers the essentials: pagination modes, filter dimensions, searchable fields, and the required scope. It stops short of describing the returned order objects or default sort, which would help an agent reason about results but is not required to call it correctly.

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%, so the schema already explains every parameter, including the enum values, the 1-100 limit range, and the offset-over-page precedence. The description restates the filter list and search formats (order number, email, name) without adding syntax or behavior the schema lacks; baseline 3 applies.

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?

States a specific verb (List) and resource (ShopNex orders), then enumerates the capability surface: pagination plus optional status/cancelled/customer/search filters. The resource name alone cleanly separates it from list_customers, list_products, and get_product, so an agent can select it without opening the schema.

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: the description makes clear this is the paginated enumeration tool and gives the required read_orders scope, which is useful prerequisite context. It never states when to prefer this over siblings or what to do if the scope is missing, and there are no exclusions.

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