Skip to main content
Glama

pancakeswap_range_plan

Read-only

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesA BSC token address, or a PancakeSwap V3 pool address to pin the pool
capitalUsdNoSize of the position in dollars, optional - defaults to 1000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior5/5

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

The description adds significant behavioral context beyond the readOnly/destructive annotations: it replays V3 Swap events, walks a position through actual swaps, returns fees/in-range share/exits, explicitly excludes impermanent loss, and notes a 1-hour rolling window. This is exactly the kind of insight an agent needs to set expectations.

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 dense and mostly useful, but it includes stylized filler such as 'the decision concentrated liquidity actually forces, and the one every interface answers with a preset'. It is not front-loaded in a tool-friendly way and could be tightened to one or two clear sentences without losing essential 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?

For a tool with no output schema, the description does enough by enumerating the key returned metrics (fees, time-in-range, price walkouts) and adding a major caveat (no impermanent loss). It feels coherent for its complexity, although 'candidate widths' is slightly vague regarding how they are represented.

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%, so address and capitalUsd are already well documented. The description ties capitalUsd to 'size of the position in dollars' but otherwise adds little parameter-level meaning. Baseline 3 is appropriate.

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 description clearly identifies the target use case: a liquidity provider choosing a price range for a PancakeSwap V3 pool. It further specifies that the tool replays historical swap events to report fees, in-range time, and price exits. However, it does not explicitly differentiate itself from sibling tools such as pancakeswap_fee_tiers or pancakeswap_best_route.

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?

The context is clear ('liquidity provider ... has to pick a PRICE RANGE'), and the tool's limitations are stated ('does not model and does not forecast'). Yet alternatives are never named, so an agent is left to infer when to choose this over related tools rather than being told.

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