Skip to main content
Glama
Solana MCP Server

Solana MCP Server

by dynamolabs

get_wallet_balance

Retrieve SOL and token balances for a Solana wallet address to check holdings and verify available funds.

Instructions

Get SOL and token balances for a Solana wallet address

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": "get_wallet_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesSolana wallet address (base58)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden; 'Get' implies a read-only operation and the scope is named. However, it does not say whether all SPL token accounts are enumerated (including zero-balance ones), how native SOL versus wrapped SOL is reported, or anything about rate limits or failure modes for invalid addresses.

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?

One front-loaded sentence with zero filler. It is efficient, though the brevity leaves behavioral and return-shape questions unanswered rather than trading off anything.

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

Completeness3/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 full schema coverage, the definition covers the essentials of what is fetched. With no output schema and no annotations, it should say more about what the response contains (native SOL plus token list, decimals/mint info) to be fully self-sufficient.

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 a single required parameter with 100% schema coverage, and the schema already specifies it as a base58 Solana wallet address. The description adds no format, validation, or edge-case guidance 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?

States a specific verb ('Get') and a specific resource ('SOL and token balances') scoped to a Solana wallet address, which clearly separates it from the sibling tools that focus on tokens, pairs, trades, and quotes. It is clear but does not explicitly name a sibling it differs from.

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 only implied: an agent can infer this is the tool for looking up holdings of a given wallet, and no other sibling appears to do balances. There is no explicit when-to-use, no preconditions (e.g., address must be a valid base58 wallet, not a token mint), and no exclusions.

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