Skip to main content
Glama

Prepare a withdrawal

prepare_withdrawal
Read-only

Withdrawals are closed while Obento is paused, so this returns an error. Builds the two calls that withdraw from Obento: approve the gateway to take the obUSD, then redeem with a 0.5% minimum out and partner ID 2. Leave out the amount to withdraw everything. Says whether the USDC arrives at once or on Autopilot's next pass. Sends nothing itself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountNoUSDC to withdraw, in dollars; leave out to withdraw everything
addressYesThe address that holds the obUSD
receiverNoWhere the USDC goes; the address itself if left out

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources