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).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

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

A4/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 the safety profile is covered. The description adds the auth and tier constraint that no annotation carries, plus the conditional nature of USD value ("if known"), which warns of missing fields. Rate limits and pagination behavior are not stated.

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?

Two sentences, front-loaded with what the tool returns, then the access constraint. Every clause carries information an agent needs; nothing is padding.

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 listing return fields is bonus rather than requirement, and the auth gating is the key operational detail an agent needs before calling. Combined with full schema coverage, the definition is sufficient to call correctly, with only pagination guidance absent.

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%, with page, address and page_size all documented including defaults and the 1-40 bound, so the baseline is 3. The description adds no parameter meaning beyond the schema and never mentions paging despite the schema exposing it.

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?

A specific verb+resource: SPL-token balances held by a Solana account, with the returned fields (mint, symbol, amount, decimals, USD value) spelled out. It does not name a sibling it is not, so an agent must infer the boundary against get_token_meta or get_account_detail.

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

Usage Guidelines4/5

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

States a hard gating condition: it is Pro tier and requires the caller's own Solscan API key because the platform key is Free tier and cannot call it. That prevents a predictable failed call. It offers no explicit alternative for callers who lack a key, which keeps it short of a 5.

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.