Skip to main content
Glama

solana_balance

Read-only

SOL and USDC balances of a Solana wallet address, read from public Solana RPC nodes. Returns lamports, SOL, and total USDC across the wallet's token accounts. Price $0.002 USDC per call (x402, Base).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "solana_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesSolana base58 address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds real value beyond them: the data source (public Solana RPC nodes), the aggregation behavior (total USDC summed across the wallet's token accounts), and a per-call price of $0.002 USDC via x402 on Base. It stops short of covering failure modes such as an address with no token accounts or RPC errors.

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

Conciseness5/5

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

Three short sentences, front-loaded with the purpose, then the return shape, then the cost. Every sentence carries information an agent needs and there is no filler.

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?

For a single-parameter read tool with no output schema, the description supplies the return fields (lamports, SOL, total USDC), the data provenance, and the billing model. Combined with annotations covering the safety profile, an agent has everything needed to decide and call correctly.

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

Parameters3/5

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

There is only one parameter and the schema already documents it at 100% coverage as a 'Solana base58 address'. The description's phrase 'Solana wallet address' adds no format or validation detail beyond the schema, so the baseline of 3 applies.

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

Purpose4/5

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

Names a specific resource (SOL and USDC balances of a Solana wallet address) with a clear read verb, and the chain qualifier separates it from base_balance. It never explicitly routes the agent to a sibling, but the chain and token scope make the target unambiguous.

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

Usage Guidelines3/5

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

Usage is implied by the resource description — query a wallet's SOL/USDC holdings — and the pricing line signals a paid call worth considering before invoking. There is no explicit when-to-use or when-not guidance and no mention of alternatives such as base_balance for non-Solana addresses.

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.