Skip to main content
Glama

Call blockchain RPC

call_rpc
Read-onlyIdempotent

Run one read-only JSON-RPC method against a chain node through Sentio's RPC service, for on-chain data the other tools do not cover: a contract's storage or code, an eth_call to a view function, a transaction or receipt, a block, event logs. EVM chains only: chain is one of 1 Ethereum, 10 Optimism, 56 BNB Chain, 143 Monad, 8453 Base, 42161 Arbitrum, 43114 Avalanche. method is the node's own method name (eth_*, net_version, web3_clientVersion) and params its positional parameter array, exactly as the node expects them (hex quantities, 0x-prefixed addresses). Only read methods are allowed — sending transactions, signing and debug/trace methods are rejected. eth_call and eth_estimateGas are capped at 10M gas. eth_getLogs needs blockHash, or fromBlock and toBlock as hex block numbers at most 1000 blocks apart (call eth_blockNumber first for the latest block). Results over 100k characters are refused rather than truncated — narrow the request. Values come back raw (hex, unscaled by token decimals); prefer get_wallet_balances and get_token_price for balances and prices.

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": {
      "chain": "<chain>",
      "method": "<method>"
    },
    "name": "call_rpc"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesChain id: 1 Ethereum, 10 Optimism, 56 BNB Chain, 143 Monad, 8453 Base, 42161 Arbitrum, 43114 Avalanche
methodYesJSON-RPC method name, e.g. eth_call or eth_getLogs
paramsNoPositional JSON-RPC params

Output Schema

NameRequiredDescriptionDefault
chainYes
methodYes
resultYes

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?

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false. The description adds substantial operational context beyond those annotations: read-only method restrictions, gas caps, eth_getLogs block-range rules, refusal of oversized results, and raw hex return values.

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?

The description is front-loaded with purpose and then groups constraints logically. Despite its length, every sentence adds a necessary limit, example, or alternative, with no filler.

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?

With an output schema and rich annotations already present, the description still covers purpose, alternatives, chain scope, method restrictions, and error-adjacent constraints. It is complete enough for a generic RPC escape hatch that agents must invoke carefully.

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 description coverage is 100%, so the baseline is 3. The description still adds useful meaning beyond the schema by specifying accepted method-name patterns, positional parameter formatting as the node expects, and hex quantity/address conventions.

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?

The description states a specific verb and resource: 'Run one read-only JSON-RPC method against a chain node through Sentio's RPC service.' It names the covered data classes and distinguishes itself from sibling balance/price tools by directing agents to get_wallet_balances and get_token_price for those use cases.

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?

It explicitly limits usage to on-chain data other tools do not cover and EVM chains, names alternatives for balances and prices, and lists exclusions such as sending transactions, signing, and debug/trace methods. This provides clear when-to-use and when-not-to-use guidance.

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.