Skip to main content
Glama

x402 Toolbox

Cross-chain gas comparator

get_gas_comparator

Real gas price on Ethereum vs Base side by side, with delta, ratio, and estimated USD cost of a standard transfer on each chain. Free via MCP; the same data is also available pay-per-call at https://lab.paidapis.net/api/gas-comparator for production/agentic use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It adds useful availability context (free via MCP, paid API alternative) and implies real-time data, but it does not disclose safety profile, rate limits, authentication needs, freshness guarantees, or caching behavior.

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?

The description is two tightly written sentences. The core function and return fields are front-loaded, and the pricing/availability note is secondary and brief.

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 zero-parameter read tool with no output schema, the description gives a solid summary of return values: side-by-side gas prices, delta, ratio, and estimated USD transfer cost on both chains. It omits details like units, timestamp, and exact response format, but remains adequate for most agent selection needs.

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?

There are zero parameters, so the baseline score is 4. The description does not need to explain input semantics, and it appropriately focuses on what data is returned instead.

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 states a specific resource and scope: real gas price on Ethereum vs Base side by side, plus delta, ratio, and USD transfer cost. It is clearly distinguishable from generic gas metrics and historical gas tools by its cross-chain comparator focus, though it does not explicitly name sibling alternatives.

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?

It gives some usage context by noting the data is free via MCP and also available pay-per-call for production/agentic use. However, it does not say when to choose this tool over siblings like get_gas_metrics or get_normalized_gas, nor does it state any exclusions.

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