Skip to main content
Glama

AgentGas

Quote native gas

agentgas_quote
Read-only

Free price quote: how much USDC (on Base, paid via gasless x402) buys a given amount of native gas (ETH on base/arbitrum/optimism, POL on polygon). Returns price_usdc, breakdown and the exact x402 URL to pay. Rejects bad input or over-capacity before any payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoRecipient 0x address (optional for a quote)
usdNoAlternatively, a USD budget for the gas value, e.g. 0.25
chainYesDestination chain for the native gas
amountNoNative amount, e.g. 0.0002 (ETH) or 0.5 (POL). Use amount or usd.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only and open-world behavior, and the description adds real context: the quote costs nothing ('Free'), payment happens later via gasless x402 on Base, and invalid or over-capacity requests are rejected before any payment. It does not discuss quote expiry or rate limits, but the added operational context is substantive.

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?

Three sentences, front-loaded with the core action and followed by return fields and the rejection behavior. Dense parentheticals (chain list, x402 explanation) slightly burden readability but each sentence carries information.

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?

With no output schema, the description compensates by naming the returned fields, and all four parameters are documented in the schema. What remains thin is the workflow framing (that this is the pre-step to agentgas_order), but nothing needed to call the tool correctly is missing.

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 each parameter already carries a description, including the amount-vs-usd choice and the chain enum. The description reinforces the amount semantics at a high level but adds no syntax, formatting, or precedence rules beyond the schema, so baseline 3 applies.

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 verb+resource ('Free price quote' returning how much USDC buys native gas) and enumerates the return payload (price_usdc, breakdown, x402 URL). It is clearly distinct from an ordering tool in intent, though it never names the sibling agentgas_order as the execution counterpart.

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: 'Free price quote' plus 'Rejects bad input or over-capacity before any payment' suggests calling this before agentgas_order, but there is no explicit statement of when to use this versus agentgas_order/agentgas_status. The agent must infer the quote→order workflow.

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