Skip to main content
Glama

Agent Data API

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). 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 does real work: it discloses the data source for the USD conversion (Chainlink ETH/USD) and, unusually, the payment requirement and price ($0.005 USDC on Base via x402) — critical pre-invocation context an agent cannot get from structured fields. It stops short of stating refresh cadence, caching, or whether the paid call fails loudly or returns partial data.

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?

One front-loaded sentence: chain and subject first, then the returned fields, then the pricing/payment note. Every clause carries distinct information — no filler, no restatement of the tool name, and the expensive detail (cost of the call) is placed at the end where it is still noticed.

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

Completeness4/5

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

There is no output schema, so the description must describe the return payload — and it does, field by field, including the units for fees (gwei) and the dual-currency cost estimates. What keeps it from a 5 is the absence of any note on data freshness/latency and no cross-reference to the equivalent L2 gas tools for agents routing by chain.

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?

Zero parameters, so the baseline is 4; the description correctly implies a no-argument call and spends its words on outputs instead. There is nothing to mis-specify and no syntax an agent could get wrong.

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?

States a specific resource (Ethereum gas conditions) and enumerates exactly what is reported: block number, base fee, gas price, priority fee, plus transfer cost estimates in ETH and USD. The chain is unambiguous from both the name and the text, which implicitly separates it from base_gas_prices/arbitrum_gas_prices, but it never names a sibling or says 'mainnet only' 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 inferable — 'Current' signals a live spot read, and the cost estimates hint at transfer-planning use — but there is no explicit when-to-use, no when-not-to-use, and no pointer to the L2 gas siblings for the same question on another chain. The agent must derive the selection rule from the tool name alone.

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