Skip to main content
Glama

Current gas market for a chain

gas_price

Bid-ready EIP-1559 fees (slow/standard/fast maxFeePerGas + maxPriorityFeePerGas, tx-ready wei) for one chain, read live from public RPCs. Pass tx_type to get the USD cost of that specific transaction instead, including the OP-stack L1 data fee naive estimators miss. Paid: call without x_payment to receive this call's exact terms (amount, asset, network), sign them, then call again with x_payment. The free pricing tool lists every price at once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gasNoOptional gas limit override when tx_type is set.
chainNoWhich chain's gas market to read.base
speedNoWhich fee tier to price the estimate at.standard
tx_typeNoOptional: cost a specific transaction shape rather than returning raw fees.
x_paymentNoOptional signed x402 payment payload (base64, what the X-PAYMENT header carries). Omit to receive the exact payment terms; sign them (e.g. @x402/fetch) and call again with this argument to settle and get the data.

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that data is read live from public RPCs, and openly explains the two-step paid x_payment process (call without it for terms, then with it to settle). It stops short of stating read-only guarantees or rate limits, but the payment requirement and data source are well covered.

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?

The description is four sentences, front-loaded with the core function, then conditional usage, payment protocol, and alternative. Every sentence adds necessary information with no fluff or redundancy.

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?

Given the complexity (optional tx_type, paid flow, multi-chain support, no output schema), the description covers the main functional modes and the payment sequence. It hints at return values ('tx-ready wei', 'USD cost') but doesn't fully specify the response shape. The alternative pricing tool is mentioned, providing a complete usage picture.

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 description coverage is 100%, so baseline is 3. The description adds meaningful semantics beyond the schema by explaining that tx_type returns USD cost including the OP-stack L1 data fee, and by detailing the x_payment flow. This goes beyond the schema's simple field descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns bid-ready EIP-1559 fees for a selected chain, with an optional tx_type mode for USD transaction costs. It distinguishes itself from the 'pricing' sibling by noting that 'pricing' lists every price at once, while this tool focuses on one chain.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use tx_type (for USD cost of a specific transaction), and points to an alternative: 'The free `pricing` tool lists every price at once.' It also details the paid flow with x_payment, giving clear usage instructions.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct concern: screening, chain metadata, ENS resolution, gas estimation, asset pricing, swap quoting, token safety, NFT scam detection, pricing catalog, and data discovery/request. Overlapping terms like 'price' or 'check' are clearly separated by modifiers and descriptions, leaving no ambiguity about which tool to select.

Naming Consistency4/5

All tool names use lowercase snake_case and a consistent style, but the pattern mixes verb_noun (find_data, request_data) with noun_noun or noun_verb (chain_info, spot_price, gas_compare). This is a minor deviation; the naming remains predictable and readable.

Tool Count5/5

Twelve tools is well-scoped for a multi-purpose on-chain data and security server, fitting comfortably in the 3-15 ideal range. Each tool earns its place, covering distinct operations without redundancies.

Completeness4/5

The server covers a broad set of on-chain utilities: address screening, chain info, ENS, gas (both single-chain and comparative), spot prices, swap quotes, token/NFT safety, and pricing discovery. Notable gaps like on-chain balances or transaction sending are missing, but the 'find_data' and 'request_data' tools mitigate these by letting users discover and request additional endpoints.

Resources