Celina/Tools/GoodDollar/execute-gooddollar-reserve-swap
writeGoodDollarStdio only

Execute GoodDollar Reserve Swap

execute_gooddollar_reserve_swap

Execute a GoodDollar reserve swap for G$ ↔ USDm on Celo mainnet via MentoBroker. Sends ERC-20 approval first if needed, then broker swapIn. Requires CELO_PRIVATE_KEY in your MCP client env (stdio only).

§ 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

{ approvalHash?, hash, status, expectedOut, … }

§ Try saying

  • Swap 1 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 execute_gooddollar_reserve_swap automatically.