Skip to main content
Glama

pancakeswap_best_route

Read-only

For an agent about to swap on PancakeSwap, and for the two questions it has to answer before signing. FIRST: which of the up-to-five pools the pair lives in actually returns the most AT THIS SIZE, quoted by the venue itself rather than ranked by depth - the deepest pool is regularly not the cheapest one for the trade being made. SECOND: what comes back if the proceeds are sold straight back on the same route, with the transfer tax measured from executed trades applied to the amounts carried between the legs, because the tax is taken outside the pool where no quoter can see it. Returns the best route, what every other route would have cost, the round trip with and without the tax, and the slippage this size really needs. It is not a safety certificate and does not use the word: it cannot see an owner who has not acted yet, and it says so.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usdNoTrade size in dollars, optional - defaults to 250
addressYesA BSC token address, or a PancakeSwap pool address to pin the pair

TDQS

A4.3/5.0
Behavior5/5

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

With readOnlyHint=true and destructiveHint=false annotations present, the bar is lower, yet the description still adds substantial behavioral context: it explains that quoted prices come from the venue itself, that the transfer tax is applied between legs because it is taken outside the pool where quoters cannot see it, and that the tool cannot detect an owner who has not acted yet. These are genuine disclosures beyond the annotations, with no contradiction.

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?

The description is well-organized with FIRST/SECOND structure and front-loads the core purpose, but it is long and occasionally stylistic ('where no quoter can see it', 'and it says so') where plainer wording would do. Every sentence carries some information, yet the prose is denser than necessary for an AI agent to parse efficiently.

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?

There is no output schema, so the description carries the full burden of explaining return values, and it does: best route, cost of every other route, round-trip with and without tax, and required slippage. It also covers the tool's limitations and the two questions it answers, leaving an agent with a complete picture despite medium-high complexity and no structured output metadata.

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%, so the baseline of 3 applies. The description reinforces the meaning of 'usd' by referencing 'this size' and slippage at size, but it adds no parameter-specific syntax or format details beyond what the schema already documents. It is adequate, not additive.

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 verb and resource: it determines the best route for a PancakeSwap swap, selecting among up to five pools by actual quoted return at the given size rather than by depth. It also distinguishes itself from nearby siblings like pancakeswap_fee_tiers, pancakeswap_range_plan, and bsc_pool_scan by framing itself as the pre-signing route/slippage decision tool for a swap.

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 opening clause 'For an agent about to swap on PancakeSwap' gives a clear trigger condition, and the closing warning 'It is not a safety certificate' tells the agent when not to rely on it. It does not name specific sibling alternatives to use instead, but the context is strong enough that the intended placement is unambiguous.

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.7/5.0
Disambiguation3/5

Several tools operate on overlapping data: bobai_burned, bobai_activity, and bobai_smart_money all report burn-related metrics, while bobai_token_info, bobai_circulating_supply, and bobai_burned overlap on supply numbers. The long descriptions mitigate this, but the purpose boundaries are less crisp than ideal. The BSC pool tools are more easily told apart.

Naming Consistency3/5

Most token tools use a consistent bobai_* snake_case prefix, but the set mixes conventions: bnb_agent_*, bsc_pool_scan, find_agents_on_bnb_chain, and pancakeswap_fee_tiers break the pattern. The names are still readable and mostly noun-oriented. There is no chaotic mixing of camelCase or vague verbs, but the pattern is not uniform.

Tool Count3/5

19 tools sits in the borderline heavy range for a token research server. Many are focused data views, but some could be consolidated, such as bobai_token_info with circulating supply/burned, or the informational guide/links/tokenomics cluster. Each tool has a defensible role, but the overall surface feels padded.

Completeness4/5

Core workflows are well covered: price, liquidity, DEX parameters, purchase guidance, burns, wallet balances, and BNB agent discovery. Missing historical price/volume, holder distributions, or detailed per-agent profiles, but these are minor gaps rather than dead ends. The server gives an agent what it needs to understand and interact with $BOBAI.

Resources