Skip to main content
Glama

Model Context Protocol Server for Solana Client

by tywenk

get_balance

Query the Solana blockchain to retrieve the balance of a specific account using its Pubkey. Provides the balance in a clear response format for easy integration and verification.

Instructions

Returns the balance of the account of provided Pubkey.

Args: address (str): Pubkey of account to query

Returns: str: Account balance response in the format "Balance of {address}: {balance}"

Input Schema

NameRequiredDescriptionDefault
addressYes

Input Schema (JSON Schema)

{ "properties": { "address": { "title": "Address", "type": "string" } }, "required": [ "address" ], "title": "get_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