Skip to main content
Glama

AgentData — crypto market data with a checkable record

get_gas_prices

Gas prices on Base and Ethereum with USD cost estimates, plus Solana priority fees ($0.002 USDC). Use before sending a transaction, to estimate its cost or to pick a chain.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_gas_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentNoOptional. Base64 x402 payment payload you signed yourself (ERC-3009 TransferWithAuthorization, USDC on Base). Call without it once to receive the payment requirements, sign those, then call again with this argument. This server forwards the payload and never holds a key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / payment
      Added value: +{
      +  "description": "Optional. Base64 x402 payment payload you signed yourself (ERC-3009 TransferWithAuthorization, USDC on Base). Call without it once to receive the payment requirements, sign those, then call again with this argument. This server forwards the payload and never holds a key.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The description adds real context about what data comes back (USD cost estimates, per-chain fees, a quoted $0.002 USDC figure), which annotations do not convey. However, it is silent on the most consequential behavior: annotations mark readOnlyHint=false and idempotentHint=false, and the reason — an x402 payment handshake requiring a first call, an off-line signature, then a repeat call — is disclosed only inside the schema, not the description.

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, front-loaded with the resource and what it returns, then the usage trigger. No filler and nothing redundant with the schema.

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?

With one optional parameter and no output schema, the description covers what the tool returns adequately. But for a tool flagged non-read-only and non-idempotent because of a payment flow, omitting the two-step payment requirement from the description is a meaningful gap for an agent deciding whether it can afford to call it.

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% and the single payment parameter is documented in detail there, including the call-without-payload-then-sign-then-retry loop. The description contributes nothing about this parameter, so the baseline of 3 applies — the schema carries the whole burden.

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: gas prices on Base and Ethereum with USD cost estimates, plus Solana priority fees. It is clear enough that an agent knows it is a gas/fee data tool rather than a general price feed, though it never explicitly contrasts itself with look-alike siblings such as get_crypto_prices.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete triggers: use before sending a transaction, to estimate its cost, or to pick a chain. That is clear situational context with no exclusions, leaving only the payment-handshake prerequisite unstated.

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.