Skip to main content
Glama

get_l2_gas

Compare live Layer-2 gas fees across Arbitrum, Base, Optimism, and Polygon (Gwei and the estimated wallet fee in USD for a standard transfer), and identify the cheapest right now. Use for "cheapest L2" / "L2 gas fees" questions.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the response shape (Gwei plus estimated wallet fee in USD) and the underlying assumption (a standard transfer) that determines the USD estimate. It omits refresh cadence, caching, and any failure/error behavior, which keeps it out of the top band.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler. The scope and returned metrics are front-loaded, with the usage trigger trailing, which is the right ordering for a no-arg lookup tool.

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?

Without an output schema, the description must imply return content, and it names both metrics and the transfer scenario assumed for the USD figure. It does not say how many chains are excluded, how fresh the data is, or that the comparison is point-in-time only, leaving minor gaps for a no-param tool.

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 baseline is 4; there is nothing for the description to disambiguate. The description correctly implies a no-argument, fire-and-forget call without adding spurious parameter guidance.

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 concrete verb (compare) and resource (live Layer-2 gas fees) and enumerates the exact chains covered (Arbitrum, Base, Optimism, Polygon), plus the derived output (cheapest right now). This clearly separates it from siblings like get_current_gas or get_gas_forecast, which are not L2-comparison tools.

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?

Provides explicit trigger phrasing: "Use for 'cheapest L2' / 'L2 gas fees' questions." That is strong context, but it names no exclusion or alternative sibling (e.g. when to prefer get_current_gas for L1), so it stops short of full when/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.