Skip to main content
Glama

Gas all

gas_all
Read-onlyIdempotent

Current gas price in gwei, base fee, block age, and USD transfer cost across 8 EVM chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Arc and Robinhood). $0.002 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gas_all"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentNoa signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Discloses the behavior annotations cannot: a real monetary cost of $0.002 per call, the accepted payment rails (USDC on Arc/Base/Solana, XNT on X1), and the terms-then-pay handshake. It does not state rate limits, caching/TTL of the gas figures, or behavior when payment is invalid, so it stops short of full transparency.

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 dense sentences, front-loading what is returned and the chain scope before the payment mechanics. The enumeration of eight chains is a bit listy but earns its place by defining scope; nothing is redundant with the schema.

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?

No output schema exists, so the description carries the return-value burden and does so by naming the four returned fields. Combined with the payment handshake and chain coverage, an agent has enough to invoke it correctly; only failure modes and data freshness are unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With a single fully documented parameter, the description still adds operational meaning: omitting `payment` returns purchase terms rather than failing, and supplying it completes the purchase in-call. That is exactly the semantics an agent needs beyond the schema's REST-flavored wording.

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?

Names a specific set of resources (gas price in gwei, base fee, block age, USD transfer cost) and the scope (8 named EVM chains), so an agent can tell what it returns without opening the schema. It does not differentiate itself from the sibling evm_gas_estimate, which is the main remaining gap.

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 explicit procedural guidance for the paid flow: call once without `payment` to get terms, sign with your own wallet, call again with `payment`. That is clear context for the two-step usage, but it offers no guidance on when to pick this over evm_gas_estimate or when a paid multi-chain quote is unnecessary.

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