wallet_get_balance
Returns the real-time wallet balance, status, and accrued micro-payment debt for an agent.
This record as markdown: /tools/com-focxle-afos/wallet-get-balance.md
What wallet_get_balance does on AFOS — Agentic Financial OS
AI agents call wallet_get_balance to retrieve information from AFOS — Agentic Financial OS without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
agentID | string | Yes | The agent whose wallet to query. |
Parameters from the server's own tool schema.
Why wallet_get_balance is rated Low
Although this tool operates in a financial context (USDC payments on Base), it performs only data retrieval—querying balance, status, and debt information. There is no capability to transfer funds, execute transactions, or modify wallet state.
From the tool's definition Tool name 'wallet_get_balance' and description 'Returns the real-time wallet balance, status, and accrued micro-payment debt' indicate a read-only query operation that retrieves financial data without modifying state or moving funds.
Attacks that exploit this kind of access
The rule that runs wallet_get_balance safely
PolicyLayer is an MCP gateway: it sits between your AI agents and AFOS — Agentic Financial OS, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For wallet_get_balance, this is the rule to start with:
wallet_get_balance is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect AFOS — Agentic Financial OS, apply this rule, and every wallet_get_balance call is checked against it from then on.
Questions about wallet_get_balance
Returns the real-time wallet balance, status, and accrued micro-payment debt for an agent. It is categorised as a Read tool in the AFOS — Agentic Financial OS MCP Server, which means it retrieves data without modifying state.
wallet_get_balance accepts 1 parameter: agentID. Required: agentID. The full parameter table on this page comes from the server's own tool schema.
Register the AFOS — Agentic Financial OS MCP server in PolicyLayer and add a rule for wallet_get_balance: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches AFOS — Agentic Financial OS. Nothing to install.
wallet_get_balance is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the wallet_get_balance rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for wallet_get_balance. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
wallet_get_balance is provided by the AFOS — Agentic Financial OS MCP server (https://focxle.com/api/v1/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on AFOS — Agentic Financial OS, and thousands of servers like it.
This server
Across the catalogue