Skip to main content
Glama

Model Context Protocol Server for Solana Client

by tywenk

get_token_account_balance

Retrieve the balance of an SPL Token account on the Solana blockchain by specifying the account's Pubkey. Returns the balance in a clear, formatted string.

Instructions

Returns the token balance of an SPL Token account.

Args: token_account (str): Pubkey of Token account to query

Returns: str: Token account balance in the format "Token account balance: {balance}"

Input Schema

NameRequiredDescriptionDefault
token_accountYes

Input Schema (JSON Schema)

{ "properties": { "token_account": { "title": "Token Account", "type": "string" } }, "required": [ "token_account" ], "title": "get_token_account_balanceArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tywenk/mcp-sol'

If you have feedback or need assistance with the MCP directory API, please join our Discord server