Skip to main content
Glama

gas

gas
Read-only

3 free MCP calls per day (all tools together), then $0.0015 USDC via x402 or card credits (paid in-band: params._meta["x402/payment"]). Gas price (5 EVM chains): Live gas prices across 5 EVM chains in one call (Ethereum, Base, Arbitrum, Optimism, Polygon): gas price in gwei, latest block, and the cost of an ETH transfer, an ERC-20/USDC transfer and a swap in native coin and USD, plus a ranking of which chain is cheapest right now. Public RPC nodes with failover; no keys. When to use: Use gas to pick the cheapest EVM chain right now or to price a transfer/swap on Ethereum, Base, Arbitrum, Optimism or Polygon in one call. Use base-gas for Base only.

Input Schema

NameRequiredDescriptionDefault
chainsNo"all" (default) or a comma list: ethereum,base,arbitrum,optimism,polygon

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, it discloses the billing model (3 free calls/day across all tools, then $0.0015 USDC via x402 or card credits, paid in-band through params._meta['x402/payment']) and the data source ('public RPC nodes with failover; no keys'). The no-keys and failover notes tell the agent there is no auth step and that failures are handled upstream.

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?

Two tight sentences carry purpose, scope, return contents, and the alternative, with no filler. The only structural weakness is that the pricing/payment preamble precedes the purpose statement, so the core capability is not fully front-loaded.

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 read-only, zero-required-param tool with an output schema already present, the description supplies everything an agent needs: what it returns, which chains, the routing alternative, auth requirements, and cost implications of calling it.

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% on the single 'chains' parameter, so the schema already defines the accepted values. The description names the five chains but adds no syntax or default guidance beyond what the schema states. 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: live gas prices across 5 named EVM chains, with the exact per-chain payload (gwei, latest block, transfer/swap cost in native and USD, cheapest-chain ranking). It explicitly distinguishes itself from the sibling base_gas (Base only).

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?

Contains an explicit 'When to use' clause covering both jobs (pick the cheapest chain, price a transfer/swap) and names the alternative with its exclusion: 'Use base-gas for Base only.' Nothing is left to inference.

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