Skip to main content
Glama

pancakeswap-lp-route

Server Details

PancakeSwap fee tier, V3 range, position and best swap route on BNB Chain, measured, free

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
ChatGPT
–
Claude
–

TDQS

A4.4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool maps to a distinct decision stage: swap routing, fee-tier/pool selection for liquidity, range-width planning for a new position, and inspection of an existing position. The descriptions explicitly cross-reference each other, making boundaries unusually clear.

Naming Consistency3/5

All names use snake_case with the same pancakeswap_ prefix, which helps. However, the internal patterns vary: best_route is adjective_noun, fee_tiers is noun-only, position_look reverses the expected order, and range_plan is noun_noun, so there is no consistent verb_noun convention.

Tool Count5/5

Four tools is well-scoped for this advisory LP/swap decision surface, and each tool clearly earns its place. There is no redundant or filler tool.

Completeness4/5

The set covers the core read-only workflow: choose a swap route, choose a fee tier, plan a range, and inspect an existing position. Execution operations such as adding/removing liquidity or collecting fees are absent, but the descriptions position those as external paid-plan actions, so the gap is mostly minor for this server’s stated scope.

Available Tools

4 tools
pancakeswap_best_routeA
Read-only
Inspect

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, or simulated on chain when there was no trade to measure: transfer_tax.source says which) 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.

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

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark it read-only, and the description adds substantial context beyond them: how the tax is derived (executed trades or on-chain simulation, flagged by transfer_tax.source), why the deepest pool isn't always cheapest, and a stated limitation that it cannot see an owner who hasn't acted yet. That is unusually rich disclosure of both derivation method and blind spots.

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 key point (best route at this size, plus round-trip tax) is front-loaded, but the prose is dense and meandering, with emphatic capitals and a self-referential closing aside about the word 'safety' that could be trimmed without losing information.

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?

With no output schema, the description carries the return-value burden and does list what comes back (best route, per-route costs, round trip with/without tax, required slippage). Given the tool's analytic complexity, that is sufficient, though it never specifies the response shape or units.

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

Parameters4/5

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

Schema coverage is 100%, so the parameters are already documented. The description still adds meaning by stressing that results are size-dependent ('most AT THIS SIZE'), explaining why the usd parameter matters, and noting the address can pin a pair via a pool address.

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?

It states a specific operation: quoting the best of up to five PancakeSwap pools for a given trade size, plus a round-trip sell-back with transfer tax and slippage. The wording clearly separates it from the other PancakeSwap siblings (fee tiers, position look, range plan) by focusing on pre-swap route selection.

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 sets an explicit moment ('about to swap... before signing') and an explicit non-use ('not a safety certificate'), which steers the agent away from treating it as a rug/preflight check. It doesn't name another sibling tool as the alternative, so it stops short of a full routing instruction.

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

pancakeswap_fee_tiersA
Read-only
Inspect

Measure which PancakeSwap fee tier of a pair actually pays liquidity providers, to decide WHERE to put liquidity. Use it before adding liquidity to a pair; once the pool is chosen use pancakeswap_range_plan for the price range, for a position you already hold use pancakeswap_position_look, and for a swap (not liquidity) use pancakeswap_best_route. Pass a token to compare all its pools against its main quote, or a pool address to pin the exact pair. A pair lives in up to five pools at once — V2 at 0.25% and V3 at 0.01%, 0.05%, 0.25% and 1.00% — and every source ranks them by the money already parked in them, which does not say which one pays. This measures each tier over a live window: swaps, turnover, the fees the pool actually paid out, and those fees per $1,000 of capital — over TWO denominators. The first is everything the pool holds, which is what every interface shows. The second is the capital standing within 2% of the current price, reconstructed by walking the tick book of the pool itself, because concentrated liquidity parked far from the price earns nothing and a new dollar only competes with the capital that is at the price. The two rankings disagree often, and both are returned. It also names tiers holding real money that did not trade at all. Measured, never annualised: the window is about an hour of chain and is reported with the answer. The same token asked again within 60 seconds gets the same measurement from the edge cache (cache.hit, cache.age_seconds). Read-only, free, no key; a tier whose pool could not be read is listed in tiers_unreadable and comparison_complete says whether every tier was measured.

NameRequiredDescriptionDefault
addressYesA BSC token address (all of its PancakeSwap pools against its main quote are compared), or one PancakeSwap pool address to pin that exact pair; 0x + 40 hex

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and non-destructive, and the description still adds substantial context beyond that: read-only, free, no key required; a measured ~1-hour window rather than annualised figures; the two denominators and why the second is reconstructed from the tick book; cache behaviour with cache.hit and cache.age_seconds within 60 seconds; and partial-failure signalling via tiers_unreadable and comparison_complete.

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?

Purpose and usage routing are front-loaded, followed by methodological detail, which suits a complex metric. It is long but nearly every sentence carries information; a few clauses (e.g. explaining what every interface shows and why distant liquidity earns nothing) could be tightened without losing meaning.

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?

No output schema exists, so the description carries the return-value burden and does: both rankings, two denominators, unreadable tiers, comparison_complete, and cache metadata. For a one-parameter analytical tool this is complete enough to call correctly and interpret the result.

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% and the single address parameter already documents the token-vs-pool dual meaning and the 0x+40 hex format. The description restates that choice with a little extra context about comparison scope, but adds no format or edge-case detail beyond the schema. Baseline 3 is appropriate.

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?

States a specific verb and resource: measures which PancakeSwap fee tier of a pair actually pays liquidity providers, to decide where to place liquidity. It explicitly distinguishes itself from the three sibling liquidity tools (range_plan, position_look, best_route), so an agent can route without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use (before adding liquidity to a pair), names the alternatives and the conditions that select them (range_plan for the price range once the pool is chosen, position_look for an existing position, best_route for swaps not liquidity). It also tells the agent how to choose between the two input modes: token vs pool address.

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

pancakeswap_position_lookA
Read-only
Inspect

Look at any PancakeSwap V3 liquidity position on BNB Chain, read from the chain: in range or not and how much room is left to each edge, what it holds and is worth in BNB, the fees it is owed and whether collecting them pays for the gas, and what PancakeSwap’s The Flip proposal (LPs keeping 88% of swap fees) would change for it if adopted - the share the pool pays its LPs today is read from the pool itself. Give a position id, or a wallet that holds one (a wallet with several gets their ids back). Free. What to do about it - whether a re-set is due and in which width - is the paid plan of the DeFi Agent (ERC-8004 #363709), 0.10 USD1 or half that in $BOBAI.

NameRequiredDescriptionDefault
addressNoOr a wallet address that holds the position
positionNoA PancakeSwap V3 position id (the NFT token id), digits only

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive profile, and the description adds real context on top: data is read from the chain, the pool's LP fee share is read from the pool itself, the Flip analysis is a hypothetical ('would change ... if adopted'), the call is free, and a wallet input returns multiple ids. It does not cover failure behavior for an unknown or non-existent position id, or any rate/latency limits.

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 output list is front-loaded and each clause names a distinct returned fact, so the length is largely earned. The closing pricing/upsell sentence is the weakest part — slightly promotional and verbose, and it could be trimmed without losing routing information.

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?

With no output schema, the description bears the burden of describing returns, and it does so thoroughly (range status, edge distance, holdings, BNB value, fees, gas break-even, proposal delta, id list for wallets). Missing only edge-case handling such as what happens with an invalid id or a wallet holding no positions.

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

Parameters4/5

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

Schema coverage is 100%, so baseline would be 3; the description exceeds that by explaining the interaction between the two optional params — a wallet address may resolve to several positions whose ids are returned, while 'position' is a digits-only NFT token id. That multi-result behavior is not inferable from the schema alone.

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 names a specific verb and resource ('Look at any PancakeSwap V3 liquidity position on BNB Chain') and enumerates exactly what the result contains: in-range status, room to each edge, holdings and BNB value, owed fees, gas break-even, and hypothetical Flip-proposal impact. It also draws an explicit boundary against the paid 'DeFi Agent' plan that answers 'what to do about it', so an agent can separate this read tool from the advisory sibling.

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?

Input routing is explicit: supply a position id, or a wallet that holds one, with the multi-position case spelled out. The free-vs-paid split ('What to do about it ... is the paid plan') gives clear context for choosing between this and an advisory call. It stops short of naming sibling tools like pancakeswap_range_plan or saying when this is unnecessary (e.g. for swap routing).

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

pancakeswap_range_planA
Read-only
Inspect

Replay real swaps to compare PRICE RANGE widths for a PancakeSwap V3 position: fees each width would have earned and how long it stayed in range. Use it after the pool is chosen (pancakeswap_fee_tiers picks the tier); for a position you already hold use pancakeswap_position_look. Read-only, free, no key. For a liquidity provider who has picked a PancakeSwap V3 pool and now has to pick a PRICE RANGE - the decision concentrated liquidity actually forces, and the one every interface answers with a preset. This does not model and does not forecast. It replays: the V3 Swap event carries the liquidity that was active when each trade went through, so a position of a stated size is walked through the swaps that really happened in a live window and asked, at each one, whether it was in range and what share of the active liquidity it was. Returns per candidate width the fees it would have collected, how much of the window it stayed in range, and how many times the price walked out. Impermanent loss is not in it, and it is worst exactly where the fees are best. The window is about an hour and travels with the answer.

NameRequiredDescriptionDefault
quoteNoThe other side of the pair, optional: BNB, USDT, USDC, USD1 or BUSD, or its address. Without it the quote with the deepest V3 pool is used, so pass it whenever a pair was named (CAKE/BNB)
addressYesA BSC token address, or a PancakeSwap V3 pool address to pin the pool
capitalUsdNoSize of the position in dollars, optional - defaults to 1000. It sets your share of the active liquidity at each swap, so the fees depend on it

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, yet the description still adds real value: the data source (V3 Swap event carrying active liquidity per trade), the observation window (~1 hour, travels with the answer), and an explicit limitation (no impermanent loss, no forecasting). It does not cover rate limits or failure modes for an invalid/pinned pool address, which keeps it short of a 5.

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 first sentence is well front-loaded, but the text runs long for a three-parameter tool and repeats itself: the 'picked a pool, now must pick a range' framing appears again after the sibling-routing sentence. The 'does not model and does not forecast / it replays' contrast is useful but phrased redundantly.

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?

With no output schema, the description still enumerates what comes back (per-width fees, fraction of window in range, count of walk-outs) and flags the missing impermanent-loss dimension against fee maximization. The ~1-hour replay window is disclosed so the agent can frame the answer's scope correctly.

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 all three parameters (address, quote, capitalUsd) are already documented with defaults and fallback behavior. The description adds only indirect meaning — that position size sets the share of active liquidity and therefore the fees — which the schema also states. Baseline 3 is correct when the schema does the heavy lifting.

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?

Opens with a specific verb and resource: replay real swaps to compare price range widths for a PancakeSwap V3 position, and names the two outputs (fees earned, time in range). It explicitly distinguishes itself from siblings pancakeswap_fee_tiers (tier selection) and pancakeswap_position_look (existing positions), so an agent can route without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit sequencing rule ('use it after the pool is chosen, pancakeswap_fee_tiers picks the tier') and an explicit exclusion with the alternative ('for a position you already hold use pancakeswap_position_look'). The when-to-use condition is stated twice (pool picked, capital size known), leaving nothing to inference.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updates
    • First observedpancakeswap_best_route
    • First observedpancakeswap_fee_tiers
    • First observedpancakeswap_position_look
    • First observedpancakeswap_range_plan

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Arbitrage detection across DEXes on Base. Scan pairs, detect price gaps, estimate profit, simulate flash loan routes.
    7
    37 npm
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    23 agent tools: DEX token prices, liquidity, slippage, gas and arbitrage across BNB Chain, Polygon, Arbitrum, Base, Avalanche and Optimism, plus geocoding, weather, web search, URL-to-Markdown, RSS, IP geolocation, holidays, GLEIF LEI lookup and the US Treasury yield curve. 22 are free with no API key, wallet or signup. One paid cross-DEX spread tool pays from your wallet, with hard spend caps.
    23
    153 npm
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Read-only FLAPJAX on-chain state for AI agents on BNB Chain: pool state, real depth, live QuoterV2 quotes both directions, treasury balances, and address checks over stdio. Zero dependencies, no API keys, no writes — four public RPC fallbacks.
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources