Skip to main content
Glama

Coinlight: pay-per-call crypto data for agents (x402)

Solana token balances

solana_token_balances
Read-only

All non-zero SPL and Token-2022 balances held by a Solana wallet: mint, amount, decimals, token account. Live mainnet data. ($0.005 USDC per call via x402 at https://coinlight-app.vercel.app/p/solana-token-balances)

Input Schema

NameRequiredDescriptionDefault
addressYesSolana wallet address (base58).
paymentNoOptional x402 PAYMENT-SIGNATURE header value. Omit to use a free trial call or get payment requirements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 live mainnet data plus concrete x402 cost/payment endpoint context. It does not detail rate limits or pagination, but it adds meaningful behavioral context beyond annotations.

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 compact sentence front-loads the holdings scope and returned fields, with pricing as a short parenthetical. There is no wasted preamble.

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

Completeness4/5

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

No output schema exists, but the description enumerates returned fields (mint, amount, decimals, token account) and explains the payment model. For a simple read-only all-balances call this is nearly complete, with only minor gaps around pagination or error behavior.

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?

Schema description coverage is 100%, covering both address (base58) and payment (x402 PAYMENT-SIGNATURE, free trial/payment requirements). The description reinforces pricing and the x402 endpoint but adds little parameter meaning beyond the 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 the exact resource and scope: all non-zero SPL and Token-2022 balances held by a Solana wallet, plus the returned fields. This distinguishes it from native SOL/USDC balance siblings by token standard and by excluding zero balances.

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?

Implies use for enumerating SPL/Token-2022 holdings, but never explicitly says when to choose it over solana_sol_balance, solana_usdc_balance, or wallet_portfolio, nor states exclusions. Usage is inferable from the scope only.

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