The agent retrieves the current wallet balance and analyzes the cost of recent API calls to provide a summary of spending and remaining funds.
The agent uses the get_balance tool to retrieve the current USD balance in the AnyAPI wallet. It can also analyze the costUsd field from recent run_api responses to track spending. The agent should report the balance exactly as returned, without scaling or multiplying values, to avoid floating-point drift issues.
- Category: Finance and payments
- Effect: Read-only
- MCP servers: AnyAPI MCP (https://koskamo.com/explore/anyapi-mcp)
- Source: Introduction - AnyAPI (https://getanyapi.com/docs)
- Source quote: "get_balance returns the wallet’s remaining USD."
- Playbook page: https://koskamo.com/explore/use-cases/monitor-wallet-balance-and-costs
Prompt: Check my current AnyAPI wallet balance and report the remaining USD. Do not perform any calculations on the balance value.