Scan a Solana wallet for reclaimable SOL locked in empty token accounts. Returns count of closeable accounts and estimated SOL recoverable. Free, read-only — no private key needed.
AI agents call scan_wallet to retrieve information from RefundYourSOL without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
scan_wallet performs a data retrieval operation on a Solana wallet to identify reclaimable SOL. It is read-only, requires no private keys, and produces no state changes. This is purely informational—the tool itself does not close accounts, burn tokens, or move funds. It falls squarely within the Read category.
From the tool's definition Tool description explicitly states 'read-only — no private key needed' and 'Scan...Returns count...estimated SOL'. It retrieves and queries wallet data without side effects.
Attacks that exploit this kind of access
Scan a Solana wallet for reclaimable SOL locked in empty token accounts. Returns count of closeable accounts and estimated SOL recoverable. Free, read-only — no private key needed. It is categorised as a Read tool in the RefundYourSOL MCP Server, which means it retrieves data without modifying state.
Register the RefundYourSOL MCP server in PolicyLayer and add a rule for scan_wallet: 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 RefundYourSOL. Nothing to install.
scan_wallet 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 scan_wallet 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 scan_wallet. 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.
scan_wallet is provided by the RefundYourSOL MCP server (refundyoursol/refundyoursol-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →