Skip to main content
Glama

multi_chain_gas

Read-onlyIdempotent

Which chain is cheapest to operate on right now — Reads the live gas price on each major EVM chain an agent uses (base, arbitrum, optimism, ethereum, polygon) and turns it into the USD cost of the actions that matter — a plain transfer and a DEX swap — using live native-token prices. Returns one ranked answer with the cheapest chain, so an agent deciding where to settle doesn't make five RPC calls. A chain it could not read is 'unknown' and excluded from the pick, never guessed. Gas units are typical estimates. Not financial advice. Priced $0.01 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls, or get 1 free call/day per tool. No API key required.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataNoThe result payload. Shape is service-specific; every field is documented in the tool description.
serviceNoThe service id that answered.
checkedAtNoISO-8601 timestamp of when the underlying reads were taken.

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 the readOnly/idempotent annotations, it discloses unreadable chains are labeled 'unknown' and excluded rather than guessed, that gas units are estimates, that the answer is a single ranked pick, and its commercial/access model ($0.01 per call over x402 on Base, prepaid x-credit-token header for unlimited calls, 1 free call/day, no API key). That is unusually rich operational context.

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 answer ('which chain is cheapest right now') is front-loaded before mechanics, and each sentence maps to a real agent decision. It runs long, with pricing and free-tier details plus a 'Not financial advice' disclaimer that a knowledgeable agent could largely infer.

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?

An output schema exists, so return-shape explanation is unnecessary, and the description still covers scope (which chains), failure handling (unknown chains excluded), estimation caveats, and cost/access model. Nothing needed to call it correctly is absent.

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 takes zero parameters, so the schema carries no semantics to explain and the description correctly describes the fixed chain set rather than implying inputs. Nothing is missing, though there is no extra parameter-level detail to add.

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 precise verb and resource: reads live gas prices across five named EVM chains and converts them to USD cost of a transfer and a swap, returning one ranked answer. An agent can distinguish it from gas_oracle/gas_payer by the explicitly comparative, cross-chain ranking output.

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?

Gives a clear triggering scenario: 'an agent deciding where to settle doesn't make five RPC calls.' That frames when to reach for this instead of per-chain RPC or a single-chain gas tool. It does not name a sibling alternative (e.g. gas_oracle) explicitly, so it stops short of full when-not guidance.

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