Skip to main content
Glama

Keyless multi-chain JSON-RPC proxy

call_chain_rpc
Read-onlyIdempotent

Execute allowlisted read-only JSON-RPC queries across Solana, Base, Ethereum, Arbitrum, and Optimism with multi-upstream failover and hot caching.

Instructions

Execute allowlisted read-only JSON-RPC queries across Solana, Base, Ethereum, Arbitrum, and Optimism with multi-upstream failover and hot caching. Pass chain (e.g. solana, base, ethereum), method (e.g. getSlot, eth_blockNumber, eth_call), and JSON-encoded params array. Returns result, upstream, and cached. Do not use for EVM gas estimation (use get_evm_gas_price), Solana fees (use get_solana_priority_fee), or token risk audits (use check_evm_token_risk or check_solana_token_risk). 1 free try per IP, then HTTP 402 ($0.001 USDC).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
chainNoTarget chain: solana, base, ethereum, arbitrum, optimismsolana
methodNoAllowed JSON-RPC methodgetSlot
paramsNoJSON-encoded RPC params array/object
session_tokenNoOptional prepaid x402s_... session token from open_agent_session or https://apix402data.com/pay used after the 1 free try rolls over to HTTP 402.

Output Schema

NameRequiredDescriptionDefault
chainNo
cachedNo
methodNo
resultNo
upstreamNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.6.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds material behavior they cannot: allowlist restriction, multi-upstream failover, hot caching, the returned fields (result, upstream, cached), and the commercial gate (1 free try per IP, then HTTP 402 at $0.001 USDC). The payment/rate-limit disclosure is exactly the kind of context an agent needs before calling.

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?

Front-loaded with the core action and scope, then parameters, then returns, then exclusions, then cost. Four dense sentences with no filler or repetition of the title.

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?

Given an output schema exists, the description need not detail return values, and the cost/auth path is fully covered. The one residual gap is that 'allowlisted' is never made discoverable — no hint on how to learn which RPC methods are permitted, which matters for an open-ended method parameter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by supplying concrete example values the schema omits — chain examples ('solana', 'base', 'ethereum') and method examples ('getSlot', 'eth_blockNumber', 'eth_call'), which also implicitly convey the per-chain method naming split. It does not explain what the session_token lifecycle looks like beyond pointing at open_agent_session.

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 ('Execute allowlisted read-only JSON-RPC queries') plus the exact chain coverage (Solana, Base, Ethereum, Arbitrum, Optimism) and the underlying mechanics (multi-upstream failover, hot caching). It is immediately distinguishable from sibling tools like get_evm_gas_price or check_evm_token_risk.

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?

Explicitly names three wrong-use cases and routes to the correct alternatives ('Do not use for EVM gas estimation (use get_evm_gas_price)', 'Solana fees (use get_solana_priority_fee)', 'token risk audits (use check_evm_token_risk or check_solana_token_risk)'). This is the when/when-not/alternatives pattern at full strength.

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