Skip to main content
Glama

List orders

list_orders
Read-onlyIdempotent

List orders for an event by status or dispute state. Pass page for one page with native pagination; includeTotal defaults to false in page mode.

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
allNoAuto-paginate through every page.
pageNoRead one page as {items, pagination}. Cannot combine with all.
limitNoMaximum orders to return, or the page size when all is true.
statusNoFilter by order status.
eventIdNoEvent ID. Defaults to active event.
disputedNoTrue selects unresolved disputes; false selects orders without one. Omit for both.
includeTotalNoAsk for the total matching orders. Defaults to false with page.

Output Schema

NameRequiredDescriptionDefault
itemsYesThe rows returned by this list operation.
paginationNoNative page information when a page was requested.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "items": {
      +      "description": "The rows returned by this list operation.",
      +      "items": {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "created_at": {
      +                "description": "Order date."
      +              },
      +              "email": {
      +                "description": "Buyer email."
      +              },
      +              "id": {
      +                "description": "Order identifier."
      +              },
      +              "order_hash": {
      +                "description": "Public order hash."
      +              },
      +              "total": {
      +                "description": "Order total."
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": [
      +              "array",
      +              "string",
      +              "number",
      +              "boolean",
      +              "null"
      +            ]
      +          }
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    "pagination": {
      +      "description": "Native page information when a page was requested.",
      +      "properties": {
      +        "limit": {
      +          "type": "integer"
      +        },
      +        "offset": {
      +          "type": "integer"
      +        },
      +        "page": {
      +          "description": "Page number when returned."
      +        },
      +        "total": {
      +          "description": "Total when returned."
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "items"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum orders to return, or the page size when all is true."
  3. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so safety is covered. The description does add useful behavior beyond them: page returns {items, pagination}, page and all are mutually exclusive, and includeTotal defaults to false in page mode. It does not mention defaults for eventId or the resolved default of the total behavior in all-mode.

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, front-loaded with purpose and then pagination mechanics. No filler; slightly clipped phrasing ("Pass page for one page with native pagination") costs a bit of readability.

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?

An output schema exists, so return values needn't be explained, and the mutation-free profile is fully covered by annotations. However, for a 7-parameter filtering tool with no required params, the description omits what happens when no status/eventId is supplied and how the two pagination modes differ in cost.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description earns an extra point by restating the page/includeTotal interaction and mode semantics in a way an agent reading only the short text would get. It ignores status, disputed, limit and eventId defaults, but those are well documented in the schema.

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 ("List orders for an event") and names two filter dimensions (status, dispute state). It's weaker on sibling differentiation: it never contrasts itself with get_order or the other list_* tools, so an agent must infer that this is the collection-level read.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No explicit when-to-use or when-not-to-use guidance. Pagination mode choice (page vs all) is hinted at, but the description never says when to prefer page over all, or when to fall back to get_order for a single order.

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