Skip to main content
Glama

get_token_accounts

Get all SPL token balances and mints owned by a wallet

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
walletYesSolana wallet public key
networkNomainnet-beta

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It adds some behavioral context by saying 'all' (comprehensive listing) and mentioning 'balances and mints' (hinting at the response), but it does not disclose edge cases, whether zero-balance accounts are included, or any read-only guarantees.

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?

A single, front-loaded sentence with no wasted words. It clearly states the action, resource, and scope, making it easy for an agent to parse quickly.

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?

The description is adequate for a simple read tool, but it lacks details about network behavior (e.g., mainnet-beta vs devnet), how the output is structured, or any caveats about the 'all' scope. Given no output schema, the description could explain return values more explicitly.

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 schema already provides a description for 'wallet' and an enum with default for 'network'. The tool description adds no additional meaning about parameter formats, constraints, or relationships beyond what the schema contains. With 50% schema coverage, the missing network description is not compensated for.

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?

The description states a specific verb ('Get') and resource ('SPL token balances and mints') with a clear scope ('owned by a wallet'). This distinctly separates it from siblings like get_solana_balance and get_recent_transactions, so an agent can identify its purpose immediately.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the sibling tools, nor any exclusions or alternative routing. The description only states what it does, leaving the agent to infer the appropriate use case from the tool name and purpose.

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