Skip to main content
Glama

api.onesource.io

Chain block number

api_onesource_io_chain_block_number
Read-only

Latest Ethereum block height - current chain tip via eth_blockNumber 0.001 USDC a call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "api_onesource_io_chain_block_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
networkNoethereum

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description is not carrying the safety burden. It adds genuinely non-obvious context: the per-call price of 0.001 USDC and the underlying eth_blockNumber semantics (current chain tip, no caching implied). It does not state whether the returned number is hex or decimal, which keeps it off a 5.

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?

A single front-loaded sentence with the core resource first and the pricing note trailing; nothing is wasted. The appended "via eth_blockNumber 0.001 USDC a call" reads as a run-on rather than a clearly separated cost statement.

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

Completeness3/5

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

For a one-parameter read tool with no output schema, the essentials are present: what it returns, how, and what it costs. The undocumented network enum and unstated return encoding leave real gaps an agent would hit when choosing a network or parsing the response.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain the single network parameter — and it never mentions it. The enum values ethereum, sepolia, and robinhood are undocumented in prose, and the word "Ethereum" in the description may mislead an agent into thinking cross-network selection is unavailable.

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?

"Latest Ethereum block height - current chain tip via eth_blockNumber" names a specific resource and resolution mechanism, so the agent knows exactly what value comes back. It stops short of a 5 because it frames the tool as Ethereum-only while the schema also permits sepolia and robinhood.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no routing to siblings such as chain_live_balance or contract_address. The only contextual signal is the price line, which helps cost decisions but not 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