Skip to main content
Glama

Raw Solana RPC (read-only)

solana_rpc
Read-onlyIdempotent

Call read-only Solana JSON-RPC or Helius DAS methods directly when no dedicated tool fits; write, sign, and airdrop methods are rejected.

Instructions

Escape hatch: call any read-only Solana JSON-RPC or Helius DAS method directly when no dedicated tool fits. Only get*, is*, search*, minimumLedgerSlot and simulateTransaction are forwarded; anything that could submit or sign (sendTransaction, requestAirdrop, sendBundle) is rejected.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "method": "<method>"
    },
    "name": "solana_rpc"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodYese.g. getProgramAccounts, getInflationReward, getVoteAccounts
paramsNoPositional array for Solana RPC, object for DAS methods

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0-development

TDQS

A4.4/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 openWorld, so the safety profile is covered. The description adds real value beyond that by disclosing the forwarding allowlist (get*, is*, search*, minimumLedgerSlot, simulateTransaction), which the agent cannot infer from annotations. It stops short of saying how a rejected method surfaces (error vs. silent no-op) or whether DAS methods are subject to the same prefix rules.

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 the escape-hatch framing, then the allowlist constraint. Every clause carries information; nothing is redundant with the title or annotations.

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?

For a two-parameter, fully described escape hatch with no output schema, this is nearly complete. The only missing piece is failure behavior for disallowed methods and whether the DAS allowlist is identical to the RPC one, both minor for a pass-through tool.

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% and the schema already provides method examples and explains that params is positional for RPC and an object for DAS. The description adds no additional parameter syntax or format detail, so the baseline of 3 is appropriate.

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?

States a specific verb and resource ('call any read-only Solana JSON-RPC or Helius DAS method') and frames the tool's role as an escape hatch, which immediately distinguishes it from the dedicated siblings like get_account, get_transactions, and get_assets.

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

Usage Guidelines5/5

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

Gives an explicit selection rule ('when no dedicated tool fits') and an explicit exclusion list (sendTransaction, requestAirdrop, sendBundle are rejected), so an agent knows both when to reach for this tool and what will fail.

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