Skip to main content
Glama
biccsdev

Solana Debug MCP

by biccsdev

decode_account

Decode Solana account data by providing the account address and program ID. Uses the program's IDL to interpret the account's contents, aiding in debugging and inspection.

Instructions

Decode Solana account data using program IDL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idlNoOptional IDL object (if not provided, will attempt to fetch from chain)
addressYesAccount address to decode
program_idYesProgram ID that owns the account
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the core function and omits any details about side effects, network calls (e.g., fetching IDL from chain), permissions, or output format. This leaves significant behavioral uncertainty.

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?

The description is a single, front-loaded sentence with no unnecessary words. It conveys the essential purpose efficiently, making it highly concise and well-structured.

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

Completeness2/5

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

Given the absence of an output schema and annotations, the description should provide more context, but it does not mention return values, potential errors, or the optional IDL fetching behavior. It is minimally sufficient but lacks depth for an agent to fully anticipate the tool's 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?

The input schema has 100% description coverage for all parameters (address, program_id, idl), so the schema already explains their meaning. The description adds no extra parameter semantics beyond what the schema provides, warranting the baseline score.

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?

The description clearly identifies the tool as decoding Solana account data using program IDL, specifying both the verb ('decode') and the resource ('account data'). This distinguishes it from the sibling tool decode_instruction, which targets instructions rather than account data.

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 implies usage when one needs to decode account data, but it does not explicitly state when to use it over alternatives like decode_instruction or simulate_transaction. No exclusions or comparative guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/biccsdev/solana_debug_mcp'

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