Skip to main content
Glama

EVM gas price

evm_gas

Use when an agent is about to send a transaction and needs to know what it costs right now: the chain's current gas price in wei and gwei plus the cost of a plain transfer in ether. It is the price now, not a forecast. Do not use for EIP-1559 fee caps (/v1/evm/fees returns the base fee with maxFeePerGas and maxPriorityFeePerGas) or to price a specific call (/v1/evm/estimate-gas). Flat price, no API key, no account. $0.005 per call, paid over x402 (USDC).

Input Schema

NameRequiredDescriptionDefault
chainNobase | ethereum | polygon | arbitrum | optimism.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 well: it discloses that the value is spot price and not a forecast, that there is no API key or account needed, that pricing is flat, and that each call costs $0.005 via x402 (USDC). It does not state rate limits, caching/freshness windows, or whether results are chain-defaulted, which is why it stops short of 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 the use condition and the payload, then the exclusions, then the cost/access terms. Every sentence earns its place, though the parenthetical endpoint paths and the payment tail make it denser than strictly necessary.

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?

For a single-optional-param tool with no annotations and no output schema, the description covers what is returned (wei, gwei, transfer cost in ether), what it is not (forecast, fee caps, call pricing), and the access/cost model. The only remaining gap an agent might want is the behavior when `chain` is omitted and the response shape.

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?

Schema coverage is 100% and there is only one optional parameter, so the schema already fully documents the accepted chain values. The description adds nothing about the chain parameter, not even which chain is used when it is omitted, so the baseline 3 is appropriate.

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: returns the chain's current gas price in wei and gwei plus the ether cost of a plain transfer. It also explicitly separates itself from evm_fees (EIP-1559 caps) and evm_estimate_gas (pricing a specific call), so an agent can route correctly without opening any schema.

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 ('when an agent is about to send a transaction and needs to know what it costs right now'), an explicit exclusion with the alternative endpoint for each ('Do not use for EIP-1559 fee caps ... or to price a specific call ...'). Both siblings are named with their routes, which is as strong as guidance gets.

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