Skip to main content
Glama

Find orders

find_orders
Read-onlyIdempotent

Find storefront orders when investigating a payment state or fulfillment state. Returns order summaries only: no customer contact details or payment identifiers are included. To look up a known customer's orders, pass their address as the customerEmail filter. Money amounts are integers in the currency's minor units (Stripe convention: 2500 = $25.00 USD, 1999 = ¥1999 JPY), paired with each order's currencyCode. For multi-step Replo work, call skills with name "replo".

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": {
      "projectId": "<projectId>"
    },
    "name": "find_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
projectIdYes
updatedSinceNoOnly orders changed at or after this time, including a package added or its tracking changed. ISO 8601.
customerEmailNo
financialStatusNoOrderFinancialStatus
fulfillmentStatusNoOnly orders in this shipping state.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / fulfillmentStatus
      Added value: +{
      +  "description": "Only orders in this shipping state.",
      +  "enum": [
      +    "unfulfilled",
      +    "partial",
      +    "fulfilled",
      +    "cancelled"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / updatedSince
      Added value: +{
      +  "description": "Only orders changed at or after this time, including a package added or its tracking changed. ISO 8601.",
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / projectId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  3. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds material detail beyond that: results are summaries only with no customer contact details or payment identifiers, and amounts are integers in minor units paired with currencyCode. Pagination behavior and default limits remain unstated.

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?

Front-loaded with purpose and the summary-only caveat, then the filter, then the money convention, then cross-tool routing. Each sentence carries information, though the Replo/skills sentence is tangential to finding orders and slightly dilutes focus.

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?

With no output schema, the description usefully characterizes the return shape (summaries only, no PII, minor-unit amounts with currencyCode). For a 7-param paginated list tool with partial schema coverage, the remaining gap is pagination/cursor semantics and defaults, which an agent would want.

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 only 43%, so the description has to carry weight and does explain the customerEmail filter intent and the money/currency convention. But limit, cursor, projectId, and financialStatus (whose schema description is just the enum name) get no clarification, leaving roughly half the parameter surface undocumented anywhere.

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+resource (find storefront orders) and scopes it to payment-state or fulfillment-state investigation, plus discloses that only order summaries are returned. It does not name a sibling to distinguish against, so it falls short of a 5, but an agent can tell what the tool is for 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 Guidelines4/5

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

Gives a concrete use context ('when investigating a payment state or fulfillment state') and an in-tool routing rule for looking up a known customer's orders via the customerEmail filter. It also routes multi-step Replo work to the skills tool, which is real cross-tool guidance. It stops short of stating when NOT to use this tool or naming a sibling alternative for order retrieval.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources