analyze_treasury_health
Assess an agent wallet's treasury health: GBLIN/USDC/ETH balances, whether ETH covers exit gas, redemption cooldown, and USDC runway plus a spend-preserving recommendation from daily burn.
Instructions
Analyze an agent wallet's treasury health: GBLIN/USDC/ETH balances, whether the ETH covers an exit at the live gas price, the redemption cooldown, and (if daily_burn_usd is provided) days of USDC runway plus a recommendation that keeps seven days of spend in USDC and treats only the surplus as a candidate for GBLIN. Free by default; metered at $0.003 USDC only when the operator sets MCP_PAYWALL=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _payment | No | Base64-encoded x402 PaymentProof JSON. Omit on first call to receive the 402 payment manifest. | |
| daily_burn_usd | No | Optional. Average daily spend in USD (e.g. 1.5). | |
| wallet_address | Yes | Agent's 0x address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratios | No | ||
| wallet | Yes | ||
| balances | Yes | ||
| cooldown | Yes | Whether the redemption cooldown is active and for how long. | |
| gas_health | Yes | Whether the wallet holds enough ETH for the next transactions. | |
| recommendation | Yes | hold, rebalance_to_gblin or rebalance_to_usdc, with the reason. |