Skip to main content
Glama

List a wallet's orders

get_pending_orders
Read-only

No version argument: orders run on the v4 backend, so this covers the chains that backend serves and names them under 'chainsCovered'; a chain under 'chainsNotCovered' could not be read and is worth asking about again. A wallet's orders, newest first. Despite the name it returns every status unless 'statuses' narrows it - pass ['open','pending_signature'] for what is still actionable. Each chain returns its newest 50 orders; 'more: true' on a chain means older history exists beyond what was returned. Use this to recover an orderId you no longer have.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userYesWallet address, 0x-prefixed (40 hex chars).
chainIdsNoOptional: chain ids to read. Omit the argument entirely to sweep every chain the backend serves.
statusesNoOptional: statuses to keep. Omit the argument entirely for all of them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Even with readOnlyHint=true and destructiveHint=false present, the description adds substantial behavioral detail: v4 backend coverage, chainsCovered/chainsNotCovered semantics, default status behavior, the 50-order per-chain cap, and the 'more' pagination flag. This is far beyond annotation-only transparency.

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 dense but every sentence carries distinct information: backend scope, order ordering, status behavior, per-chain limits, and intended use. There is no filler or unnecessary repetition of schema fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 adequately explains the response contract: chain coverage fields, per-chain newest-50 limit, the 'more' flag, and status filtering. This is sufficient for an agent to understand what results to expect and how to detect incomplete chains.

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?

The input schema already documents all three parameters at 100% coverage, so the baseline is 3. The description adds extra value by recommending a specific statuses value for actionable orders and by clarifying the default behavior ('returns every status'), which helps an agent choose the right argument combination.

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?

The description states a specific action and resource: listing a wallet's orders, newest first. It immediately disambiguates the misleading name by noting all statuses are returned by default, and it specifies the exact use case of recovering a lost orderId, which distinguishes it from singular tools like get_order_status.

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?

It gives a concrete when-to-use instruction ('Use this to recover an orderId you no longer have') and tells the agent to pass ['open','pending_signature'] for actionable orders. It does not explicitly name alternatives or state when not to use the tool, so it falls short of a full 5.

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