Celina/Tools/Uniswap/estimate-uniswap-swap
readUniswapStdio only

Estimate Uniswap Swap

estimate_uniswap_swap

Estimate gas for a Uniswap v4 swap on Celo mainnet, including any required ERC-20 approve and Permit2 approve steps. Requires CELO_PRIVATE_KEY — fails on hosted MCP without a local signer.

§ Inputs

NameTypeDescription
token_inRequiredstringCelo mainnet token symbol (e.g. CELO, USDm, USDC, USDT)
token_outRequiredstringCelo mainnet token symbol (e.g. CELO, USDm, USDC, USDT)
amountRequiredstringHuman-readable amount of token_in
fromstringWallet on Celo mainnet. Omit to use the connected wallet or MCP CELO_PRIVATE_KEY signer.
recipientstringrecipient
slippage_tolerancestringslippage tolerance
deadline_minutesstringdeadline minutes

§ Returns

{ approvalGas?, permit2Gas?, swapGas, totalGas, estimatedCostWei }

§ Try saying

  • Estimate gas to swap 1000 G$ to USDT on Uniswap v4.

Use this tool

Once Celina is wired into your MCP client, just ask in plain language. The LLM picks estimate_uniswap_swap automatically.