Skip to main content
Glama

rebalancer

pancakeswap_best_route

Read-only

Portfolio rebalancing, the free half: which PancakeSwap pool a swap of one token should go through at your size, and what it costs. The paid half prices a whole rebalance against the pools that would execute it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usdNoTrade size in USD
addressYesA BEP-20 token address on BNB Chain (0x…)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent nothing is executed, so the bar is lower. The description usefully adds that the output is a cost quote that scales with trade size ('at your size'), but it never explains the paid-half mechanics, whether any payment/auth is needed for that half, or the shape of the returned route/cost data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Only two sentences, so it is not bloated, but it front-loads a marketing frame ('Portfolio rebalancing, the free half') instead of the action. The free/paid metaphor consumes roughly half the text without conveying callable information.

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?

With no output schema, the description must carry return-value meaning, and it only partially does ('which pool' and 'what it costs'). For a simple 2-parameter quoting tool this is minimally adequate, but the route/cost payload and the relationship to the paid sibling remain underspecified.

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% for both params, so the baseline is 3. The description lightly maps them ('one token' -> address, 'at your size' -> usd) but adds no format, unit, or constraint detail beyond the schema.

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 second clause states the concrete job: identify which PancakeSwap pool a single-token swap should route through at a given size and what it costs. It also gestures at the sibling boundary by calling this 'the free half' versus the 'paid half' that prices a whole rebalance. However, the metaphor-heavy opening ('Portfolio rebalancing, the free half') delays the actual verb+resource, and the tool's own name ('best_route') is never restated in plain terms.

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?

Usage is only implied through the free-half/paid-half contrast: this tool for a single swap quote, the sibling for a whole-rebalance price. It never names rebalance_plan or states an explicit 'use this when / not when' condition, so the agent must infer the split.

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