Skip to main content
Glama

sample_rpc

sample_rpc
Read-onlyIdempotent

A free sample of the nodes call_rpc uses, to check them before you pay. No wallet. Eight read-only methods: eth_chainId, eth_blockNumber, eth_gasPrice, net_version, web3_clientVersion, net_peerCount, eth_syncing, txpool_status. For any other method, call_rpc. 60 calls an hour per network address, per tool. Example: {"chain":"base","method":"eth_blockNumber"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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
sample_methodsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / method / enum
      Removed value: -[
      -  "eth_chainId",
      -  "eth_blockNumber",
      -  "eth_gasPrice",
      -  "net_version",
      -  "web3_clientVersion",
      -  "net_peerCount",
      -  "eth_syncing",
      -  "txpool_status"
      -]
  2. Changed2 schema fields changed
    • addedInput schema / properties / chain / enum
      Added value: +[
      +  "base",
      +  "eth"
      +]
    • addedInput schema / properties / method / enum
      Added value: +[
      +  "eth_chainId",
      +  "eth_blockNumber",
      +  "eth_gasPrice",
      +  "net_version",
      +  "web3_clientVersion",
      +  "net_peerCount",
      +  "eth_syncing",
      +  "txpool_status"
      +]
  3. Changed1 schema field changed
    • addedOutput schema / properties / sample_methods
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "on a refusal: the methods the free sample serves",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  4. Changed1 schema field changed
    • removedInput schema / properties / line
      Removed value: -{
      -  "description": "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.",
      -  "type": "string"
      -}
  5. 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."
  6. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources