Skip to main content
Glama

Gas station: get gas on any chain

refuel_gas

Stuck without gas? Get a small amount of the native gas token (ETH on Base/Arbitrum/Optimism/Ethereum, SOL, BNB, POL, AVAX, TRX, TON, SUI...) delivered to any address, paid with whatever token you hold on any chain. Default $3 worth.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>",
      "recipient": "<recipient>",
      "pay_with_token": "<pay_with_token>",
      "refund_address": "<refund_address>"
    },
    "name": "refuel_gas"
  }
}

Input Schema

NameRequiredDescriptionDefault
testNoTest mode: true = no real money. You get a fake deposit address that completes by itself in ~15s, so you can test status, invoices, receipts and webhooks for free.
chainYesChain that needs gas, e.g. 'base', 'solana', 'arbitrum'.
speedNoOptional. Default 'best_price': Swap Ripper quotes two networks at once and uses whichever is cheaper for you (and the other if one fails); the reply's route_choice shows both. 'fast' forces the ~seconds Relay route.
referrerNoOptional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same.
recipientYesAddress that needs gas, on that chain.
request_idNoRecommended: your own unique ID for this payment (e.g. a UUID). Retrying with the same request_id returns the SAME payment instructions, so you never pay twice.
usd_amountNoHow much gas in USD (1-50, default 3).
slippage_bpsNoMax slippage in basis points (default 100 = 1%, range 10-500).
pay_with_chainNoChain you pay from, e.g. 'solana'.
pay_with_tokenYesToken you pay with, e.g. 'USDC'.
refund_addressYesYour address on the paying chain, for automatic refunds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / request_id
      Added value: +{
      +  "description": "Recommended: your own unique ID for this payment (e.g. a UUID). Retrying with the same request_id returns the SAME payment instructions, so you never pay twice.",
      +  "type": "string"
      +}
    • addedInput schema / properties / speed
      Added value: +{
      +  "description": "Optional. Default 'best_price': Swap Ripper quotes two networks at once and uses whichever is cheaper for you (and the other if one fails); the reply's route_choice shows both. 'fast' forces the ~seconds Relay route.",
      +  "enum": [
      +    "best_price",
      +    "fast"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / test
      Added value: +{
      +  "description": "Test mode: true = no real money. You get a fake deposit address that completes by itself in ~15s, so you can test status, invoices, receipts and webhooks for free.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare the operation is not read-only, is open-world, and is not idempotent. The description adds useful context about supported chains/tokens and the default $3 amount, but does not explain payment flow, fees, retry behavior, or that request_id affects idempotency beyond what the schema already states.

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?

The definition is two sentences and front-loads the problem and action. The parenthetical token list is somewhat long but remains informative and does not obscure the main point.

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 an 11-parameter cross-chain payment tool with no output schema, the description covers the core purpose and constraints but omits important workflow details such as what the tool returns (e.g., payment instructions/deposit address), how completion is tracked, and refund behavior. The rich schema compensates partially, but the description alone is only minimally sufficient.

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 description coverage is 100%, so the schema already documents all 11 parameters thoroughly. The description reinforces the default $3 amount and supported token examples but adds little parameter meaning beyond the schema.

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 clearly states the specific action and resource: obtaining a small amount of native gas token delivered to an address, paid with another token across chains. It is distinguishable from swap/payment siblings by the 'small amount of gas' framing, though it does not explicitly name 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?

The opening 'Stuck without gas?' implies the use case, and 'Default $3 worth' gives a small-amount scope. However, it gives no explicit when-not-to-use guidance or alternatives such as using a swap tool for larger amounts.

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.