Skip to main content
Glama

List orders

list_orders
Read-only

List orders for a user with optional filters

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
pageNoPage number (default: 1, max: 100)
typeNoFilter by order type
statusNoFilter by order status
userIdNoThe user ID. Optional when connected with OAuth (defaults to the authorized user); required with an API key (call get_me).
pageSizeNoItems per page (default: 25, max: 100)
tokenAddressNoFilter by token address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare that this is a read-only, non-destructive, closed-world operation. The description adds only the basic scope of listing orders for a user with filters. It does not add behavioral context such as pagination limits, return shape, or whether userId defaults under OAuth, though the schema covers some of that.

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?

The description is a single front-loaded sentence with no wasted words. It states the action and scope immediately. There is no redundant restatement of schema fields.

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 six-parameter listing tool with full schema descriptions and read-only annotations, the definition is minimally adequate. It lacks guidance on when to choose this over get_order and does not describe return behavior or pagination implications, but the schema and annotations cover much of the invocation detail.

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 every parameter including page, pageSize, type, status, userId, and tokenAddress is already documented. The description mentions optional filters but adds no additional meaning beyond the schema, which is the expected baseline when the schema carries parameter semantics.

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 names a specific verb and resource: list orders. It also indicates scope by saying orders for a user with optional filters. It does not explain how this differs from the sibling get_order, so sibling differentiation is missing.

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?

The phrase 'for a user with optional filters' implies when this listing tool is appropriate. However, it gives no explicit guidance about when to use it versus get_order for a single order, or when to omit filters. There are no exclusions or alternatives named.

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.