Skip to main content
Glama

x420_chain_rpc

Read-onlyIdempotent

Multichain RPC read: One read-only JSON-RPC call on base, ethereum, arbitrum, optimism, polygon, avalanche, bsc, base-sepolia (eth_call, eth_getBalance, eth_getLogs up to 1,000 blocks, eth_getBlockByNumber, eth_getTransactionReceipt, eth_feeHistory and the rest of the read allow-list). Pass method and a JSON params array. Source: publicnode JSON-RPC. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.001 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: network, chain_id, method, params, result (the node's answer), ms.

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": "x420_chain_rpc"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodYesJSON-RPC method from the read-only allow-list
paramsNoJSON array of params (default [])
networkNoone of base, ethereum, arbitrum, optimism, polygon, avalanche, bsc, base-sepolia (default base)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the crucial non-obvious behavior: the hosted tool does NOT pay and does NOT return the deliverable, instead returning payment instructions (pay_to, network, price, x402 URL). It also states pricing ($0.001 USDC per call on Base), the data source (publicnode), a hard constraint (eth_getLogs up to 1,000 blocks), and the exact deliverable shape once paid.

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?

The purpose is front-loaded, followed by payment mechanics and the deliverable description in a logical order with no repeated content. The legal disclaimer sentence ('Not professional, legal, insurance...') is generic boilerplate that does little for tool selection, keeping it from a 5.

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?

This is a complex two-mode tool (hosted payment-required vs. local auto-pay) with no output schema, and the description fully covers the payment retry workflow (402 -> PAYMENT-REQUIRED -> PAYMENT-SIGNATURE), the local-server alternative, and the paid response fields, so an agent has everything needed to invoke it correctly.

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 extra by calling out that params must be a JSON array and by adding a constraint not present in the schema (eth_getLogs limited to 1,000 blocks) plus the read-only allow-list restriction on method.

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?

The description opens with a concrete verb and resource ('One read-only JSON-RPC call') and enumerates the supported networks and sample methods (eth_call, eth_getBalance, eth_getLogs, etc.), so an agent knows exactly what it does. It does not, however, explicitly distinguish itself from overlapping siblings such as x420_chain_balance or x420_chain_block, which wrap some of the same calls.

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?

Usage is mostly implied: this is the generic escape hatch when no specialized sibling covers the RPC method wanted. The description gives detailed guidance for the payment flow, but never says when to prefer x420_chain_balance/x420_chain_block over this generic call, nor any exclusion.

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