Skip to main content
Glama

Live EVM gas + block height ($0.001)

lookup_evm_gas
Read-only

PAID $0.001 USDC. Chain id, block height, gas price, base fee and head age on one chain or all 7 (Base, Ethereum, Arbitrum, BSC, Polygon, Optimism, Avalanche). Returns JSON chain id, block height, gas price, base fee, and head age for the requested chain or all 7.

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": "lookup_evm_gas"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoOne chain or every tracked chain. Format: all, or a chain name. The tool text names Base, Ethereum, Arbitrum, BSC, Polygon, Optimism, and Avalanche. Example: all. Omit for the server's current choice.
api_keyNoOptional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment'].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / chain / description
      Previous value: -"all or a chain name"New value: +"One chain or every tracked chain. Format: all, or a chain name. The tool text names Base, Ethereum, Arbitrum, BSC, Polygon, Optimism, and Avalanche. Example: all. Omit for the server's current choice."
  2. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • changedInput schema / properties / chain / description
      Previous value: -"One chain or every tracked chain. Format: all, or a chain name. The tool text names Base, Ethereum, Arbitrum, BSC, Polygon, Optimism, and Avalanche. Example: all. Omit for the server's current choice."New value: +"all or a chain name"
  3. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / chain / description
      Previous value: -"all or a chain name"New value: +"One chain or every tracked chain. Format: all, or a chain name. The tool text names Base, Ethereum, Arbitrum, BSC, Polygon, Optimism, and Avalanche. Example: all. Omit for the server's current choice."
  4. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • changedInput schema / properties / chain / description
      Previous value: -"One chain or every tracked chain. Format: all, or a chain name. The tool text names Base, Ethereum, Arbitrum, BSC, Polygon, Optimism, and Avalanche. Example: all. Omit for the server's current choice."New value: +"all or a chain name"
  5. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / chain / description
      Previous value: -"all or a chain name"New value: +"One chain or every tracked chain. Format: all, or a chain name. The tool text names Base, Ethereum, Arbitrum, BSC, Polygon, Optimism, and Avalanche. Example: all. Omit for the server's current choice."
  6. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds real value beyond them by disclosing the cost ($0.001 USDC) and the breadth of coverage (all 7 named chains), which an agent needs before paying. It omits the payment-required failure path, but the schema's api_key description covers that.

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 short sentences, price front-loaded, and the chain list appears first. The second sentence largely repeats the field list from the first, which is mild redundancy that costs a little space without adding meaning.

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 read-only, two-optional-parameter lookup with no output schema, the description supplies the returned fields, the price, and the chain scope — enough to call it correctly. The only gap is that return shape (numeric formats, staleness/units for head age) is not characterized.

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 the chain parameter's description already enumerates every chain name and the 'all' option, so the schema does the heavy lifting. The description's 'one chain or all 7' phrasing restates that enumeration without adding format or default semantics beyond what the schema says.

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?

The description names the exact data returned (chain id, block height, gas price, base fee, head age) and the scope (one chain or all 7), and enumerates the supported chains. It clearly separates this from sibling lookups like lookup_tx or lookup_token_info, though it never states a verb such as 'fetch' or 'look up', relying on the name and field list to convey the action.

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?

Usage is only implied: an agent can infer this is the tool for live gas/block-height data, but the description never says when to choose it, whether it is a snapshot vs. historical query, or how it relates to any alternative. No exclusions or prerequisites beyond the price are given.

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.