Skip to main content
Glama

EVM gas price

evm_gas

Current gas price and base fee for any supported chain, in wei and gwei, plus the cost estimate of a plain transfer. For agents planning a transaction. Via eth_gasPrice. $0.005 per call, paid over x402 (USDC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNobase | ethereum | polygon | arbitrum | optimism.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the upstream call (eth_gasPrice) and a pay-per-call model at $0.005 via x402/USDC, which is genuinely useful cost context. It does not state caching freshness, rate limits, default chain behavior when the optional chain is omitted, or fallback behavior for unsupported chains.

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?

Three tight sentences, front-loaded with what is returned before the audience note and pricing. No filler; each sentence adds something (outputs, audience, cost).

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 one-parameter read tool with high schema coverage and no output schema, the description covers outputs, units, the upstream RPC method, and pricing. It omits default-chain behavior and freshness, which keeps it short of complete.

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 description coverage is 100% and the single chain parameter already enumerates valid values in the schema, so the description need not repeat them. The description adds nothing about what happens when chain is omitted, though that is a meaningful gap for an optional parameter.

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 (current gas price and base fee) and scope (any supported chain), with units (wei and gwei) and an extra output (plain transfer cost estimate). It does not name or distinguish itself from the close siblings evm_estimate_gas, evm_fees, or evm_block, which an agent would need help choosing between.

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?

'For agents planning a transaction' implies a use case but gives no when-not conditions and never routes toward evm_estimate_gas or evm_fees, which are the obvious alternatives for a similar question. Usage context is implied rather than specified.

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