Skip to main content
Glama

call_rpc

call_rpc

Ethereum and Base JSON-RPC on our own archive nodes. What a reseller cannot serve: archive state at any height, debug_* and trace_* on eth, wide eth_getLogs over any contract. base: reth v2.3.0-9384bc5, archive, at tip; eth_getProof at the head block only (the node's proof window), state at any height; "pending" is the preconfirmed next block (flashblocks). eth: reth v2.2.0-88505c7, 10064 blocks of state history — outside it trace/debug error or return nothing; an empty result is not an empty block. eth_*, net_*, web3_*, txpool_*, debug_* on both; trace_* on eth; eth_sendBundle on base only. admin_, personal_, miner_, engine_ refused. Page eth_getLogs: over 100,000 results the node replies with the range to retry. The full method list per chain is in /llms.txt. Paid. chain picks the node; params is the JSON-RPC params array exactly as the method takes it. Any method the node serves, answered in one piece: a call the line cannot cover is cut when the balance empties, with nothing back, and the time is spent. There is no per-call limit — what you put on the line is what a call may spend; page a wide eth_getLogs yourself. To check the node free, sample_rpc. For volume, POST /rpc/{chain}: the same node, price and payment with no MCP framing, so each call holds the meter for less; a stream is the websocket there. Example: {"chain":"base","method":"eth_blockNumber","params":[]}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lineNooptional — your /pay credential: served off your line, no payment; without it, x402 payment in params._meta.
chainYesstring — which node to forward to: eth or base
methodYesstring — any method the node serves: eth_*, net_*, web3_*, txpool_*, debug_*, trace_*; admin_/personal_/miner_/engine_ refused.
paramsNooptional array — JSON-RPC params, default []

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNo
methodNo
http_statusNo
rpc_responseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes far beyond the annotations: describes archive-state limits, eth_getProof head-block window, flashblocks pending behavior, reth versions, history depth, refused method families, eth_getLogs pagination, and the zero-refund cut-off behavior on payment exhaustion. No contradiction with the annotations.

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

Conciseness4/5

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

Every sentence carries operational information and the core purpose is front-loaded, but the text is a dense wall of semicolon-separated details. It is appropriately sized for a complex RPC tool, though short bullet sections would improve scannability.

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

Completeness5/5

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

Covers chain differences, method allow/refuse lists, payment mechanics, limits, pagination, and alternative endpoints, and delegates the exhaustive method list to /llms.txt. Combined with the input schema and annotations, an agent has enough context to call the tool correctly.

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

Parameters5/5

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

Though schema coverage is 100%, the description adds crucial meaning: chain selects the node, params must be the exact JSON-RPC params array, and line is the optional payment credential. The concrete example ties chain, method, and params together clearly.

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: it forwards JSON-RPC calls to Ethereum and Base archive nodes. It also distinguishes itself from siblings by naming sample_rpc for free availability checks and POST /rpc/{chain} for high-volume use.

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 tells the agent when to prefer alternatives: sample_rpc for checking node availability, POST /rpc/{chain} for volume, and warns that a call is cut when the balance empties. It also points to /llms.txt for the full per-chain method list, leaving no ambiguity about scope.

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