Skip to main content
Glama

sodax_get_orderbook

Read-only

Retrieve pending cross-chain swap intents from the orderbook with optional filters for source/destination chains, tokens, creator, and deadline constraints.

Instructions

Get current orderbook entries showing pending/open intents

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (default server-side, cap 500)
offsetNoOffset for simple pagination
srcChainNoFilter by source chain id
dstChainNoFilter by destination chain id
inputTokenNoFilter by input token address
outputTokenNoFilter by output token address
creatorNoFilter by creator address
deadlineBeforeNoOnly return intents with deadline < value (Unix seconds)
deadlineAfterNoOnly return intents with deadline > value (Unix seconds)
excludeZeroDeadlineNoExclude intents where deadline = 0
formatNoResponse format: 'json' for raw data or 'markdown' for formatted textmarkdown
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true. The description adds 'current' and 'pending/open', which provides some behavioral context about the state of the data. However, it does not disclose pagination, sorting, or response format beyond what parameters imply.

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?

The description is a single sentence without excess verbiage. It is front-loaded with the core action. However, given the tool's complexity (11 parameters), it could benefit from slightly more detail without becoming verbose.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 11 parameters and no output schema, the description is too brief. It does not explain the return format, what fields an orderbook entry contains, or how pagination works. This leaves the agent with insufficient context to fully understand the tool's behavior.

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 coverage is 100%, so the schema already documents all parameters thoroughly. The description does not add any additional meaning or context for the parameters beyond the schema's descriptions.

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 clearly states the verb 'Get' and the resource 'current orderbook entries showing pending/open intents', which distinguishes it from sibling tools like sodax_get_intent (single intent) and sodax_get_solver_intent. However, it could be more explicit about what constitutes an orderbook entry to further differentiate.

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 guidance on when to use this tool versus alternatives. It doesn't mention exclusions or prerequisites, leaving the agent to infer usage from the name and parameters alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gosodax/builders-sodax-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server