canli-mcp / Quant finance

AMM impermanent loss

Compute impermanent (divergence) loss of a liquidity position versus holding, for a constant-product pool or a concentrated range (Uniswap v3 style), given the price change.

The tool is impermanent_loss in canli-mcp 0.22.0, free and MIT-licensed, with no account and no API key. It comes from canli-quant-mcp, which canli-mcp includes, and it is also its own server.

Arguments

As the server declares them
ArgumentRequiredType
price_ratioyesnumber
range_lowernonumber
range_uppernonumber
fees_earnednonumber

How a model reaches it

Ask in plain words. The model finds impermanent_loss with canli-mcp's find_tool, reads its arguments with describe_tool if it needs to, and runs it with run_tool. The call has this shape, with your values in place of the angle brackets:

{
  "name": "impermanent_loss",
  "arguments": {
    "price_ratio": "<number>"
  }
}

Words that find it

Besides its name, title and description, find_tool matches a question to impermanent_loss on these words: impermanent, loss, divergence, amm, liquidity, pool, uniswap, v3, concentrated, defi.

More

Nothing here is investment advice.