Skip to main content
Glama

Base gas

base_gas

What a transaction on Base costs right now in dollars, L1 data fee included: ETH transfer, USDC transfer and Uniswap swap, from real receipts. $0.001 per call over x402.

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries full burden and does deliver real behavior facts: pricing ($0.001 per call), the x402 payment mechanism, and that figures come from real receipts including the L1 data fee. It does not explain what happens when no payment is supplied (presumably a 402 challenge) or how the response is shaped, which are the main gaps.

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 compact clauses with no filler: the priced resource and its scope come first, then the covered transaction types, then the payment model. Every phrase (L1 data fee included, real receipts) conveys a fact an agent needs to interpret the numbers correctly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The param is optional and fully documented in-schema, and there is no output schema, so the description's job is to explain the returned measurement and the payment flow. It explains the measurement well but leaves the unpaid-call behavior and error path unspecified, which matters for a paid x402 endpoint.

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?

Schema coverage is already 100% and the payment parameter is documented thoroughly in the schema, so the baseline applies. The description adds useful framing by tying the parameter to the pricing model ('$0.001 per call over x402'), reinforcing that the payment payload is optional and settles the charge in-call.

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?

States a specific measurement ('what a transaction on Base costs right now in dollars') and enumerates the exact cases covered: ETH transfer, USDC transfer, and Uniswap swap. It distinguishes itself from chain-specific siblings like arc_gas by scoping to Base, but never names an alternative tool such as evm_gas_estimate, leaving the differentiation implicit.

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?

The use case is implied by the content ('right now', 'from real receipts'), so an agent can infer this is a live cost lookup rather than an estimate endpoint. However, there is no explicit when-to-use, no when-not, and no pointer to a related gas or estimate tool, so routing among gas siblings is left to inference.

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.