Execute GoodDollar Reserve Swap
execute_gooddollar_reserve_swapExecute 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
| Name | Type | Description |
|---|---|---|
token_inRequired | string | GoodDollar or G$ |
token_outRequired | string | USDm or cUSD |
amountRequired | string | Human-readable amount; paired with amount_side (in = spend, out = receive) |
amount_side | string | 'in': amount is token_in spend (default). 'out': amount is desired token_out receive amount. |
from | string | Wallet on Celo mainnet. Omit to use the connected wallet or MCP CELO_PRIVATE_KEY signer. |
recipient | string | recipient |
slippage_tolerance | string | slippage 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.