Skip to main content
Glama

Agent Data Tools: Chain data

base_gas

Live gas prices on Base (chain 8453) read from the latest block: base fee and priority fee in gwei, suggested maxFeePerGas and maxPriorityFeePerGas in wei for an EIP-1559 transaction, how full the latest block is, and the estimated execution fee in ETH for an ETH transfer and an ERC-20 transfer. Use before sending a transaction on Base or to decide whether to wait for lower fees. Costs $0.002 in USDC on Base per successful call, paid with x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations cover the safety/side-effect profile (readOnlyHint=false, openWorld=false-style hints), and the description adds genuinely non-redundant context: the $0.002 USDC cost on Base, the x402 payment rail, and that billing is per successful call. It does not discuss failure handling, rate limits, or latency, which keeps it below 5.

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?

Front-loaded with the resource and chain, then the return contents, then the usage trigger, then the cost. Roughly two dense sentences with no filler – every clause carries actionable information.

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 parameters and no output schema, the description carries the return-value burden itself and does so thoroughly (every field listed), plus discloses pricing. Nothing an agent needs to call it correctly is missing.

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 is 4 by the rubric; there is no parameter surface for the description to clarify or obscure. Describing the returned-fee fields is useful but is return-value semantics rather than parameter semantics.

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?

States a specific verb+resource – live gas prices on Base (chain 8453) – and enumerates the exact fields returned (base fee, priority fee, maxFeePerGas, block fullness, estimated ETH/ERC-20 transfer cost). The chain ID explicitly disambiguates it from the many sibling gas tools (eth_gas, arb_gas, op_gas, polygon_gas).

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?

"Use before sending a transaction on Base or to decide whether to wait for lower fees" gives clear context for invocation and implies the decision it supports. It does not explicitly name an alternative tool or state a when-not condition, so it falls short of the 5 rubric.

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