build_lp_decrease_position
Build the calldata to remove liquidity from an existing V2, V3, or V4 LP position. POSTs to `/v1/lp/decrease` with the wallet, position identifier (NFT token id for V3/V4, token pair for V2), and the percentage of liquidity to remove. The server derives all position state from on-chain data. Returns the raw `/lp/decrease` response — the unsigned transaction fields the caller's wallet signs and submits. The Putty dashboard signs through the user's Privy embedded wallet in the sign-request modal; external agents sign with their own wallet. The tool never holds a signing key.
Build the calldata to remove liquidity from an existing V2, V3, or V4 LP position. POSTs to /v1/lp/decrease with the wallet, position identifier (NFT token id for V3/V4, token pair for V2), and the percentage of liquidity to remove.
Input
The tool takes a single JSON object. Every field, its type, and an example are on the generated reference at GET /mcp/tools, under this tool's name.
Calling it
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": { "name": "build_lp_decrease_position", "arguments": {} }
}Put your arguments in place of the empty object. A call that fails comes back as a normal result carrying isError: true and a message naming what went wrong, not as a JSON-RPC protocol error.
Notes
The server derives all position state from on-chain data. Returns the raw /lp/decrease response — the unsigned transaction fields the caller's wallet signs and submits. The Putty dashboard signs through the user's Privy embedded wallet in the sign-request modal; external agents sign with their own wallet. The tool never holds a signing key.
The full request and response shape, and a live playground, live on the generated reference at GET /mcp/tools.
build_lp_increase_position
Build the calldata to add liquidity to an existing V2, V3, or V4 LP position. POSTs to `/v1/lp/increase` with the wallet, position identifier (NFT token id for V3/V4, token pair for V2), and the independent token amount. The server derives the dependent token amount from the current pool state. Returns the raw `/lp/increase` response — the unsigned transaction fields the caller's wallet signs and submits. The Putty dashboard signs through the user's Privy embedded wallet in the sign-request modal; external agents sign with their own wallet. The tool never holds a signing key.
build_lp_claim_fees
Build the calldata to claim accumulated trading fees from a V3 or V4 LP position. POSTs to `/v1/lp/claim_fees` with the wallet, protocol, and the position's NFT token id. Returns the raw `/lp/claim_fees` response — the unsigned transaction fields the caller's wallet signs and submits. The integration spec called the path `/lp/claim`; the actual Uniswap API endpoint is `/lp/claim_fees`, so the tool follows the docs. V2 positions are not supported (V2 fees auto-compound into the LP token balance). The Putty dashboard signs through the user's Privy embedded wallet in the sign-request modal; external agents sign with their own wallet. The tool never holds a signing key.