Skip to main content
Glama

sample_rpc

sample_rpc
Read-onlyIdempotent

Checks that the node is real: a few read-only methods, free, no wallet, served by the same node as a paid call, so the answer can be compared with any other source. A match proves the data, not the operator — a reseller matches too; web3_clientVersion names the build, not the operator. Read-only, capped per hour. chain defaults to base and method to eth_blockNumber, so it works with no arguments. For any other method, or with no cap, call_rpc. Example: {"chain":"base","method":"eth_blockNumber"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lineNooptional — your /pay credential: served off your line, not counted against the free ceiling; without it, or with a line that is off or out of time, free and counted.
chainNooptional string — which node: eth or base. Default base.
methodNooptional string — one of eth_chainId, eth_blockNumber, eth_gasPrice, net_version, web3_clientVersion, net_peerCount, eth_syncing, txpool_status; default eth_blockNumber

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNo
errorNo
methodNo
verifyNo
refusedNo
paid_toolNo
free_sampleNo
http_statusNo
rpc_responseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / line / description
      Previous value: -"optional — your /pay credential: served off your line, not counted against the free ceiling; without it, free and counted."New value: +"optional — your /pay credential: served off your line, not counted against the free ceiling; without it, or with a line that is off or out of time, free and counted."
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, open-world, idempotent, and non-destructive behavior. The description adds valuable context beyond these: the tool is free, capped per hour, requires no wallet, defaults to base and eth_blockNumber, and explains the semantic limitation that a matching result proves data authenticity but not operator identity. This is substantial behavioral disclosure.

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 compact yet information-dense. It front-loads the core purpose, then provides usage constraints, an explicit alternative, and a working example. Every sentence contributes either to understanding, safe invocation, or correct tool selection, with no wasted words.

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?

The description covers purpose, safety profile, defaults, limits, alternative routing, and interpretation caveats. Given the rich input schema and output schema, nothing essential is missing for an agent to invoke this tool correctly and understand what the result means.

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 description coverage is 100%, so the schema already documents all three parameters including defaults and allowed values. The description reinforces this by stating chain defaults to base and method to eth_blockNumber, and gives a concrete example, but it doesn't add meaning beyond what the schema already provides.

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 purpose: verifying that a node is real by sending a read-only sample call that can be compared against other sources. It clearly distinguishes itself from call_rpc, and the verb 'checks' plus the resource 'the node' make the action concrete and unambiguous.

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?

The description gives explicit guidance on when to use this tool: for free, capped, read-only sample checks. It also states the exact condition to use the alternative instead — 'For any other method, or with no cap, call_rpc.' This leaves no ambiguity about tool selection.

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