Skip to main content
Glama

Solana wallet SOL + SPL portfolio

get_solana_wallet_holdings
Read-onlyIdempotent

Inspect a Solana wallet's SOL balance, SPL token holdings with USD valuations, and recent transaction signatures to review portfolio composition and activity.

Instructions

Inspect a Solana wallet's SOL balance, SPL token holdings with USD valuations, and up to 10 recent transaction signatures. Pass base58 wallet address (required) and optional limit (1-50 tokens, default 20). Returns sol_balance, total_usd, tokens[], and recent_signatures[]. Do not use for single-token security audits (use check_solana_token_risk). 1 free try per IP, then HTTP 402 ($0.002 USDC).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_solana_wallet_holdings"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletNoSolana wallet Base58 addressGThvpKNLrFQmxxdM9kTKJmwBvqjzdoJCckoMeZaDZiJ6
session_tokenNoOptional prepaid x402s_... session token from open_agent_session or https://apix402data.com/pay used after the 1 free try rolls over to HTTP 402.

Output Schema

NameRequiredDescriptionDefault
tokensNo
walletNo
total_usdNo
sol_balanceNo
recent_signaturesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.6.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety profile is covered; the description adds the parts annotations cannot express — a per-IP free-trial limit with a $0.002 USDC 402 fallback, and the fixed cap of 10 recent signatures. That cost/auth behavior is precisely the kind of operational context an agent needs before invoking.

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?

Four dense, front-loaded sentences that each carry information: capability, arguments, return shape, exclusion, pricing. It is efficiently structured, though the argument sentence is the one carrying the factual errors, which is a cost of packing schema detail into prose.

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?

Coverage of capability, cost model and return shape is good, and an output schema exists so return values need little prose. However, the two parameters an agent actually controls are misdescribed — a phantom `limit` and a `wallet` called required that has a default — and `session_token` is never mentioned in the description, leaving the 402 recovery path underspecified.

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

Parameters2/5

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

The description documents a `limit` parameter (1-50, default 20) that does not exist in the input schema, which sets additionalProperties=false and would reject such a call. It also calls `wallet` required when the schema declares no required fields and supplies a default address, so the description actively misleads on both parameters it discusses.

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?

Names a specific verb (Inspect) and resource (Solana wallet) plus the exact contents retrieved: SOL balance, SPL token holdings with USD valuations, and recent signatures. It explicitly separates itself from the sibling check_solana_token_risk, so an agent can route correctly without opening a schema.

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

Usage Guidelines5/5

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

Provides an explicit exclusion with the alternative named ('Do not use for single-token security audits (use check_solana_token_risk)'), which is exactly the disambiguation an agent needs. It also surfaces the gating condition (1 free try per IP, then HTTP 402) that determines whether the call will succeed.

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