Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

rpc_call

Call Solana JSON-RPC (cached, failover proxy). $0.01 per call via MCP (each tool call is toll-gated individually; the direct HTTP gateway at /toll/rpc is billed as $0.01 per 1,000 requests = $0.00001/request) — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: POST https://exchangerebel.com/toll/rpc/. Generic Solana JSON-RPC passthrough (cached, failover proxy): pass the RPC method and its params array. Intended for standard Solana read methods (getBalance, getBlock, getTransaction, getSignaturesForAddress, getAccountInfo, ...). One MCP tool call is one RPC call.

Input Schema

NameRequiredDescriptionDefault
methodYesSolana JSON-RPC method name, e.g. getBalance
paramsNoPositional params array for the RPC method

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing caching, failover-proxy behavior, the $0.01-per-call toll and its distinct HTTP gateway pricing, the USDC-on-Solana x402 payment mechanism, and that one MCP tool call equals one RPC call. These are exactly the operational facts an agent cannot infer from readOnlyHint/openWorldHint and would otherwise trip over on first invocation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the pricing sentence is a long parenthetical that mixes per-call tolling, gateway request pricing, and asset/payment details, and 'Generic Solana JSON-RPC passthrough (cached, failover proxy)' largely repeats the opening line. Useful content, but not tightly structured.

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 passthrough with no output schema, the description covers invocation, billing/auth, and the HTTP equivalent. The main omission is the return shape and error behavior (it never says the response is the raw RPC result object or how RPC errors surface), plus any cache TTL/staleness caveat.

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%, so both parameters (method, params) are already documented in the schema; the description only restates them as 'pass the RPC method and its params array.' It does add example method names, but no format constraints (e.g., commitment options, encoding, nested param shapes) beyond what the schema supplies.

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?

Opens with a specific verb+resource: 'Call Solana JSON-RPC (cached, failover proxy)' and later clarifies it is a 'Generic Solana JSON-RPC passthrough: pass the RPC method and its params array.' That is unambiguous and distinct from siblings like evm_tx_decode or address_bundle, though no sibling is named explicitly as an alternative.

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?

Scopes use explicitly to 'standard Solana read methods (getBalance, getBlock, getTransaction, getSignaturesForAddress, getAccountInfo, ...)' and explains the x402 payment handshake step by step ('call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]'). It lacks an explicit when-not-to-use statement or a named alternative tool for convenience wrappers, so it falls 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.

Resources