Skip to main content
Glama

chain_gas_price

$0.02 via x402: live network gas prices (slow/average/fast, in gwei) for any chain — the pre-transaction read every trading, sniping and settlement agent makes before sending a tx to size the fee. Across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. Live from Blockscout; one paid call instead of running your own RPC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNobase|ethereum|optimism|arbitrum|polygon|gnosis (default ethereum)
x_paymentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does substantial work: it discloses the cost ('$0.02 via x402'), the live data source ('Live from Blockscout'), the output structure (slow/average/fast in gwei), and the supported chain list. It does not cover failure modes, latency, or behavior on unsupported chain values, but for a read-only data lookup the core behavioral traits are disclosed.

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 description is a single dense sentence that front-loads the core function (live gas prices, units, scope) before the use-case framing and value proposition. Every clause carries information, though the 'trading, sniping and settlement agent' framing is mildly verbose and the sentence runs long with em-dash asides.

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?

Given there is no output schema, the description does state the return essence (slow/average/fast in gwei) and covers chains, cost, and timing. However, it leaves gaps an agent needs: whether x_payment is mandatory, what happens for unsupported chains, and how to route between this and the very close siblings chain_estimate_gas and chain_fee_history. Adequate for a simple read tool, but not complete.

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 coverage is 50%: the chain parameter is fully documented in the schema (allowed values plus default) and redundantly reinforced in the description's chain list. The x_payment parameter is undocumented in the schema, and the description only hints at its purpose via '$0.02 via x402' — implying it is the payment mechanism but never stating its format or that it is required. The description partially compensates for the coverage gap but does not fully explain x_payment.

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 opens with a specific, measurable deliverable — 'live network gas prices (slow/average/fast, in gwei) for any chain' — and enumerates the supported chains. This precisely differentiates it from close siblings like chain_estimate_gas (per-transaction estimation) and chain_fee_history (historical fee data) by pinning down the exact output granularity and unit.

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

Usage Guidelines4/5

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

The description gives a clear when-to-use signal: 'the pre-transaction read every trading, sniping and settlement agent makes before sending a tx to size the fee.' It also frames a non-sibling alternative ('one paid call instead of running your own RPC'). However, it never names the closely related sibling tools (chain_fee_history, chain_estimate_gas, chain_confirmations) or states when those would be preferred instead.

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.