Skip to main content
Glama

AgentGas

How to buy gas

agentgas_how_to_buy
Read-only

Step-by-step instructions plus the exact x402 payment URL for buying native gas for an address. This MCP server cannot sign payments; your x402 client (e.g. @x402/fetch) pays the URL with USDC on Base, gasless (EIP-3009 signature, no ETH needed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoRecipient 0x address; omit to deliver to the payer
usdNo
chainYesDestination chain for the native gas
amountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only cover readOnlyHint and openWorldHint; the description goes well beyond them by disclosing that the server cannot sign, that payment happens through the caller's x402 client, and that the mechanism is gasless EIP-3009 with USDC on Base (no ETH required). It does not say whether the payment URL expires or is single-use, which would be the remaining useful detail.

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, and the deliverable is front-loaded before the payment constraint. Every clause carries information an agent needs.

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?

For a read-only, 4-parameter tool with no output schema, the description explains the return artifact (instructions plus URL) and the payment mechanics, which is substantial. It nonetheless leaves the usd/amount parameters and any expiry or validity window of the returned URL undocumented, so the picture is not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%: 'chain' and 'to' are documented in the schema, but 'usd' and 'amount' are bare strings with no explanation anywhere. The description adds no parameter guidance at all, leaving the likely mutual exclusivity of usd vs amount completely unresolved despite directly affecting how the tool is invoked.

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 concrete deliverable: step-by-step instructions plus the exact x402 payment URL for buying native gas for an address. That is a clear verb+resource, though it never contrasts itself with agentgas_order or agentgas_quote, so sibling differentiation must be inferred.

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 implies the usage flow by stating the server cannot sign payments and that the caller's x402 client must pay the returned URL with USDC on Base. However, it gives no explicit when-to-use-vs-alternative guidance relative to agentgas_order, agentgas_quote, or agentgas_status.

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