Skip to main content
Glama

plan_routes

Plan best routes. Ranks visible orderbook routes for a requested USDC amount using exact per-deposit availability and intent bounds. Returns deterministic single, multi_intent, or partial allocation legs. A generic take link exists only for a currently executable single leg and preserves the requested amount and payment pair. Single-leg routes include exact-pair trailing-30-day execution evidence. Historical execution evidence does not influence ranking until separately backtested and enabled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum planned routes to return (default: 5, max: 25).
takerNoOptional taker wallet address. Scopes routes to exact payment-method access available to that wallet. Access-policy provenance is omitted, and a take link is present only when the selected tuple is executable.
currencyNoFilter by fiat currency code (e.g. USD, GBP, EUR).
min_sizeNoMinimum USD liquidity per orderbook level (default: 50).
platformNoFilter by payment platform. May be repeated.
amount_usdNoRequested USDC amount. Routes that can fill the amount rank above partial routes.

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral disclosure burden. It candidly explains determinism, the possible return forms (single, multi_intent, partial allocation), the take-link existence condition, preservation of amount and payment pair, inclusion of trailing-30-day evidence, and the caveat that historical evidence does not currently influence ranking.

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 five sentences, and each sentence carries substantive information: purpose, ranking mechanics, output kinds, take-link conditions, and evidence behavior. It is front-loaded with the high-level purpose and contains no redundant filler.

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

Completeness4/5

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

For a complex route-planning tool with no output schema, the description is quite complete: it states the input intent, ranking inputs, return leg taxonomy, take-link conditions, and evidence caveats. It still omits exact output fields and an explicit read-only or non-executing statement, but the core invocation behavior is well covered.

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?

All 6 parameters have descriptions in the schema, so schema coverage is 100% and the baseline is 3. The description adds a ranking relationship to amount_usd and mentions payment-pair preservation, but it does not meaningfully clarify parameter formats, defaults, or constraints beyond what the schema already provides.

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 the verb 'Plan' and then specifies 'Ranks visible orderbook routes for a requested USDC amount', clearly identifying both the resource and the planning function. It distinguishes itself from sibling data-retrieval tools by emphasizing deterministic route ranking and allocation leg types.

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?

The description provides a clear invocation context: use this tool when you need ranked best routes for a USDC amount, with details about route leg types and take-link behavior. However, it does not explicitly name sibling tools or state when not to use it, so it stops short of full alternative guidance.

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

C2.8/5.0
Disambiguation3/5

Most get_* and list_* tools target distinct domain entities, but several high-level analytics endpoints overlap in purpose (get_analytics_summary, get_protocol_overview, get_market_summary, get_timeseries, get_leaderboard), and pairs like get_deposit/get_deposit_context and get_vault/get_vault_analytics create close boundaries. The descriptions clarify the differences, but an agent would need to read carefully to avoid misselection.

Naming Consistency5/5

The tool set follows a strong verb_noun pattern: get_ for single-entity or detail views, list_ for collections, plus explicit action endpoints like export_trade_log, plan_routes, and search_explorer. All names are snake_case and predictable, with no mixing of conventions.

Tool Count3/5

28 tools is on the heavy side for an MCP server, even for a broad analytics domain. Most tools map to real entities, but the surface is padded by overlapping summary/analytics endpoints and separate detail, context, and analytics variants for the same resources.

Completeness4/5

The server provides broad read-only coverage of the protocol domain: deposits, intents, makers, takers, vaults, delegates, verifiers, platforms, integrators, orderbook, routes, activity, and search. Minor gaps such as no list_vaults or list_integrators are workable via search/get endpoints, and mutating operations appear out of scope for an analytics-focused server.

Resources