Skip to main content
Glama

Get Token Holdings

get_token_holdings
Read-onlyIdempotent

SPL-token balances held by a Solana account. Returns mint, symbol, amount, decimals, USD value (if known). Pro tier — requires your own Solscan API key (Pipeworx's platform key is Free tier and cannot call this).

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page (default 1)
addressYesSolana account public key
page_sizeNo1-40 (default 20)

Output Schema

NameRequiredDescriptionDefault
dataYesPaginated SPL token holdings with mint, symbol, amount, decimals, USD value
pathYesAPI endpoint path

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "address": "SolendFtLatfDwGrPfLVLocked111111111111111"
      +  },
      +  {
      +    "address": "SolendFtLatfDwGrPfLVLocked111111111111111",
      +    "page": 2,
      +    "page_size": 10
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "data": {
      +      "description": "Paginated SPL token holdings with mint, symbol, amount, decimals, USD value",
      +      "type": "object"
      +    },
      +    "path": {
      +      "description": "API endpoint path",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "path",
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive and open-world, so safety is covered. The description adds genuinely new behavioral context beyond the structured fields: the Pro-tier paywall and the requirement to bring a personal Solscan API key, which materially affects whether a call will succeed.

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 clauses with zero padding: what it returns, the field list, then the access constraint. Purpose is front-loaded and the caveat is placed after the core value, which is the right order.

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?

An output schema exists, so the brief return-field mention is a convenience rather than a duty, and pagination is fully specified in the schema. The one gap is that the Pro-tier restriction is raised without naming a Free-tier substitute, which is the remaining thing an agent would need.

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 coverage is 100% — address, page (1-based, default 1) and page_size (1-40, default 20) are all documented in the schema with defaults. The description adds nothing about parameter semantics, so the baseline 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?

"SPL-token balances held by a Solana account" names a specific resource and scope, and the enumerated return fields (mint, symbol, amount, decimals, USD value) confirm exactly what kind of data comes back. It is not tautological and reads distinctly from neighbors like get_token_meta or get_account_detail, though it never names a sibling to sharpen the boundary.

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?

The description states a hard eligibility gate — Pro tier, caller must supply their own Solscan API key because the platform key is Free tier — which tells the agent when this tool is callable at all. It gives no when-to-use-vs-alternative guidance, so an agent hitting the tier wall is left to guess which sibling to fall back on.

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.