Skip to main content
Glama

Live gas prices per chain

gas_prices

Current gas price on each supported chain, from RPC.

On the L2s (Base, Arbitrum, Optimism) this is the EXECUTION gas price only and excludes the L1 data availability fee, which is a real and sometimes dominant part of an L2 transaction's cost. Any cost estimate built from this figure on an L2 is a lower bound and should be labelled as one; comparing an L2 'cost' against Ethereum's on this basis overstates the L2's advantage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.5/5.0
Behavior5/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 it does exceptionally well: it discloses that L2 values exclude L1 data availability fees, explains that costs built from this are lower bounds, and warns against misleading cross-chain comparisons. This is exactly the kind of behavioral nuance an agent needs.

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 core purpose is front-loaded in one sentence, followed by a necessary caveat about L2 pricing semantics. The caveat is somewhat long but earns its place because it materially changes how the result should be interpreted. No wasted filler, though it could be tightened slightly.

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?

The description covers what the tool returns, its source, and its most important interpretive limitation. It does not enumerate supported chains or specify return units/format, but with zero parameters and a simple read-like use case, these are minor gaps. The caveat makes the description sufficiently complete for correct use.

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 has no parameters and the schema is complete, so there is no parameter documentation burden. The description adds no parameter-specific meaning because none is needed; the baseline of 4 for zero-parameter tools applies.

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 states a specific verb-resource pair ('Current gas price on each supported chain') and names the data source ('from RPC'). It clearly distinguishes this as a live gas-price lookup tool and is not confused with the sibling tools like attribution or execution_benchmarks.

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 clearly signals it is for current gas prices and gives concrete guidance on how to interpret the value for L2s, warning that it is a lower-bound cost estimate. It does not explicitly name alternatives or when-not-to-use conditions, but the context is clear enough for an agent to select it appropriately.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool targets a distinct concern: aggregate attribution, per-address attribution, execution quality, transaction classification, gas prices, revert rates, and API key management. Even the closest pair (execution_benchmarks vs revert_rates) is clearly separated by the descriptions, which explicitly warn against conflating them.

Naming Consistency3/5

All names use snake_case, but the pattern is mixed: some tools are noun phrases (attribution, contract_attribution, execution_benchmarks, gas_prices, revert_rates) while others are imperative verbs (explain_transaction, request_api_key). This is readable and mostly conventional, but not a uniform verb_noun pattern.

Tool Count5/5

Seven tools is well-scoped for a specialized DEX attribution analytics server. Each tool covers a meaningful capability without redundancy or bloat.

Completeness4/5

The core workflow is well covered: aggregate volume attribution, single-contract lookup, execution quality, transaction explanation, revert risk, and gas context. Minor gaps exist around chain discovery and historical time-range selection, but agents can accomplish the main analysis tasks without dead ends.

Resources