Skip to main content
Glama

Route Order

route_order

Cheapest way to fill a crypto perp order across multiple venues, and what that saves versus using the single best venue. Merges every order-book level from Binance, Bybit, Bitget, Hyperliquid, OKX and Gate into one list ordered by FEE-ADJUSTED price and walks it until filled. Use for "how should I split this order", "what's the cheapest venue to buy $2M of SOL", "how much would routing save me". Returns the per-venue allocation, the blended price, the best single venue, and the saving in bp and USD.

coin = ticker e.g. 'sol'. notional_usd = order size in USD. side = 'buy' or 'sell'. venues = optional comma-separated subset (e.g. "binance,bybit") for a desk that only has accounts on some — the saving is only real on venues you can actually trade.

This is a MEASUREMENT of a live book, not a prediction: it is optimal for the static snapshot, prices move while an order works, and it assumes capital is already on each venue and ignores transfer costs. Requires an EnsoTrade Pro API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinYes
sideNobuy
venuesNo
notional_usdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description fully discloses algorithm (merges fee-adjusted levels, walks the book), that it is a measurement not a prediction, assumptions (capital on each venue, no transfer costs), limitations (prices move), and the need for an API key. This provides deep behavioral insight beyond the basic function.

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 longer than average, but every sentence carries essential information: problem statement, algorithm, use cases, return values, parameter definitions, and caveats. It is logically front-loaded with the primary purpose and caveats placed at the end with the API key requirement. No filler or repetition.

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?

Given the tool's complexity, multiple parameters, and the presence of an output schema, the description covers all needed contextual elements: parameter meanings, use-case instructions, behavioral limitations, authentication requirements, and return values. Even though an output schema exists, the description still summarizes what is returned, which improves completeness.

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

Parameters5/5

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

Schema descriptions are absent (0% coverage). The description compensates by explaining each parameter: 'coin', 'notional_usd', 'side', and 'venues', including examples ('sol', 'binance,bybit') and the purpose of the venues param. Since schema provided no help, this is exemplary compensation.

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 opens with a specific, result-oriented statement: 'Cheapest way to fill a crypto perp order across multiple venues, and what that saves versus using the single best venue.' It clearly distinguishes the tool by its multi-venue routing and savings analysis, and names example queries. This separates it from generic order tools and the many sibling analysis tools.

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 explicit use cases ('Use for "how should I split this order"...'), and explains when the optional venues parameter matters. It warns that it is a static measurement, implying limitations for live execution, but it does not point to alternative sibling tools or explicitly state non-use conditions. Overall, the guidance is clear and context-aware.

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.

TDQS

A3.8/5.0
Disambiguation4/5

Most tools target distinct analytics functions (order flow, execution cost, strategy testing, market scans). A few pairs overlap—mass_map/mass_scan, market_rotation/top_movers, and market_snapshot/perp_dashboard—but descriptions clarify differences. No tools are truly indistinguishable.

Naming Consistency3/5

Naming style is mixed: some tools use verb+noun (explain_move, fetch_series, get_funding) while others use descriptive noun phrases (carry_pressure, currency_leg, exit_capacity). The names are readable and meaningful, but the pattern is not uniform. It is not chaotic, but lacks a single consistent convention.

Tool Count4/5

22 tools is on the heavier side but reasonable for a comprehensive crypto analytics suite covering market data, execution analysis, risk, and strategy testing. Each tool serves a distinct purpose and contributes to the overall scope. It is not excessive enough to feel bloated.

Completeness5/5

The tool set covers the full analytics lifecycle: market overview, order-flow explanation, execution routing and cost, position limits, options, and strategy backtesting. There are no obvious dead ends; users can research, test, and validate strategies. The coverage is thorough for the stated trading-analytics domain.

Resources