Skip to main content
Glama

Solana wallet balances: SOL plus every SPL and Token-2022 token account in one call

sol_wallet_balances

Use when an agent needs what a Solana address holds in one call. Input: address. Output: JSON slot, SOL balance, every non-zero token (mint, token account, program, decimals, raw and decimal balance, frozen flag; first 50), counts of token and empty accounts. Chain state only, no prices. Bad input: 400, not charged. Example: ?address=CV8t6fnSsckB3bzJSVRxQjVvTgdB35q11Fu3eaF1nz8u Price: $0.002 USDC (Base or Solana) via x402.

Input Schema

NameRequiredDescriptionDefault
addressYesWallet address on Solana mainnet (base58, 32 bytes). Bad input → 400 (not charged)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does so: it discloses read-only chain state (no prices), the first-50 truncation limit with separate counts of remaining token and empty accounts, frozen-flag presence, error behavior (400, not charged), and the x402 price and payment chains. That's unusually complete behavioral disclosure for a bare definition.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the use case, then Input/Output/Errors/Example/Price in a scannable telegraphic style with no filler sentences. The fragmentary label-value format is dense but slightly harder to read than flowing prose, keeping it just below top marks.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must describe returns — and it does, enumerating slot, SOL balance, per-token fields, truncation limit, and aggregate counts. Combined with error and billing details for a one-parameter read tool, nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both the type and base58/mainnet constraints are already documented, and a single parameter puts the baseline at 3-4. The description adds a concrete example address in query-string form (?address=...), which usefully demonstrates invocation shape beyond the raw schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: what a Solana address holds in one call, explicitly covering SOL plus every SPL and Token-2022 token account. That scope distinguishes it from sibling base_wallet_balances (different chain) and sol_token_info (token metadata rather than holder balances) without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Use when an agent needs what a Solana address holds in one call" gives a clear trigger, and "Chain state only, no prices" sets a boundary that implicitly routes valuation needs elsewhere. It stops short of naming a specific alternative tool or an explicit when-not condition, so it's clear context rather than full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources