Skip to main content
Glama

onchaincheck

eth_gas_prices

Current Ethereum gas conditions: block number, base fee, gas price and priority fee in gwei, and the estimated cost in ETH and USD of a native transfer and an ERC-20 transfer (Chainlink ETH/USD); plus how the current price ranks against our own samples every 10 minutes over the last 7 days, and the usually cheapest UTC hour. Costs $0.005 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discharges most of it: it discloses the pricing model ('Costs $0.005 USDC on Base via x402'), the oracle behind the USD conversion (Chainlink ETH/USD), and the sampling methodology for the percentile ('our own samples every 10 minutes over the last 7 days'). It stops short of stating whether payment is required per call, what happens on failed payment, or whether the free-tier/lite sibling should be preferred, leaving a small gap for an agent that needs to reason about cost.

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?

It is a single dense sentence, but it is front-loaded with the primary payload (current gas conditions) and each subsequent clause — units, USD conversion source, percentile methodology, cheapest hour, price — adds distinct information. The one structural weakness is that the run-on construction makes the x402 cost clause easy to skim past, when it is arguably the most decision-relevant detail.

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 no output schema and no annotations, the description is the only specification an agent has, and it fully describes the return payload: named fields, units (gwei, ETH, USD), what the cost estimates cover (native and ERC-20 transfers), the comparative statistic and its sample window, and the derived cheapest-hour signal. Nothing material about calling this zero-argument tool is left undocumented.

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?

The tool takes zero parameters, so the baseline of 4 applies; there is nothing for the description to disambiguate. The description correctly spends no words on inputs and instead details the output surface, which is the only meaningful semantic content for a parameterless tool.

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?

The description opens with a specific verb-and-resource framing ('Current Ethereum gas conditions') and enumerates the exact returned fields (block number, base fee, gas price, priority fee in gwei), which lets an agent understand the operation without opening a schema. The chain qualifier 'Ethereum' implicitly separates it from the arbitrum_/base_/optimism_gas_prices siblings, though it never names the alternative explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer that this is the tool to call when it needs current mainnet gas estimates or a 7-day price percentile. There is no explicit when-to-use/when-not guidance, no mention of the sibling gas-prices tools for other chains, and no note on data freshness or staleness windows that would tell an agent when a cached read is adequate.

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