Celina/Tools/GoodDollar/estimate-gooddollar-reserve-swap
readGoodDollarStdio only

Estimate GoodDollar Reserve Swap

estimate_gooddollar_reserve_swap

Estimate gas for a GoodDollar reserve swap on Celo mainnet (G$ ↔ USDm via MentoBroker), including ERC-20 approval when needed. Requires CELO_PRIVATE_KEY — fails on hosted MCP without a local signer.

§ Inputs

NameTypeDescription
token_inRequiredstringGoodDollar or G$
token_outRequiredstringUSDm or cUSD
amountRequiredstringHuman-readable amount; paired with amount_side (in = spend, out = receive)
amount_sidestring'in': amount is token_in spend (default). 'out': amount is desired token_out receive amount.
fromstringWallet on Celo mainnet. Omit to use the connected wallet or MCP CELO_PRIVATE_KEY signer.
recipientstringrecipient
slippage_tolerancestringslippage tolerance

§ Returns

{ approvalNeeded, approvalGas?, swapGas, totalGas, expectedOut, amountOutMin, … }

§ Try saying

  • Estimate gas to swap 1000 G$ to USDm via GoodDollar reserve.

Use this tool

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