Skip to main content
Glama

Gas Prediction

gas.predict
Read-onlyIdempotent

Predict near-future gas prices using moving average and trend analysis of recent block base fees. Returns prediction, trend, and recommendation. Scope: short-horizon fee forecast from recent samples. Use this for 'what may fees be soon?'. It is not a live quote (gas.tracker), historical data (gas.history), or a timing recommendation (gas.optimize), and it never executes a transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoEVM chain only. Supported chains: base, ethereum, arbitrum, optimism, polygon, bsc, avalanche, zksync, linea, scroll, blast, mantle, gnosis, polygon-zkevm, mode, sei, celo, manta, taiko, fantom, cronos, opbnb, zora, worldchain, metis, fraxtal, kava, zetachain, filecoin, core-dao, aurora, moonbeam, klaytn, bob, canto, monad, tempo, megaeth, arc, plasma, katana, robinhood, pharos, hyperevm.base

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesBlockchain queried
errorNo
statsNo
trendNo
currentNo
forecastNo
timestampYesUnix timestamp ms
dataSourceNo
methodologyNo
recommendationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds real context beyond that: the analytical technique (moving average/trend of base fees), the short-horizon scope, and the explicit statement that it never executes a transaction. It doesn't mention accuracy caveats or refresh/cadence behavior, keeping it just short of a 5.

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?

Front-loaded with purpose, method, and return shape, followed by scope and routing. Well structured and readable, though the "Scope: short-horizon fee forecast from recent samples" clause partially re-states the opening sentence, and the "Returns prediction, trend, and recommendation" line overlaps with the output schema.

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?

For a single-optional-parameter, read-only forecast tool this is complete: only one input is fully documented in the schema, return values are covered by the output schema, and annotations handle the safety profile. The description's remaining job — routing and method disclosure — is done.

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?

The single chain parameter has 100% schema description coverage with a fully enumerated list of supported chains, so the schema carries the semantics. The description adds no chain-specific guidance, so the baseline 3 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?

States a specific verb and resource ("Predict near-future gas prices") plus the method used (moving average and trend analysis of recent block base fees). It explicitly names the siblings gas.tracker, gas.history, and gas.optimize and how this tool differs from each, so an agent can disambiguate without opening schemas.

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

Usage Guidelines5/5

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

Gives an explicit trigger phrase ("what may fees be soon?") and negative routing for each close alternative: not a live quote (gas.tracker), not historical data (gas.history), not timing advice (gas.optimize). When-to-use and when-not-to-use are both covered.

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