Skip to main content
Glama

Horizon Pulse

Base and Ethereum Gas Prices

gas
Read-only

Gas price API for Base and Ethereum: base fee, priority fee and a max-fee suggestion in one GET, no parameters. Returns JSON per network: baseFeeGwei, priorityFeeGwei (p50, with p10/p90), suggestedMaxFeeGwei (2x base + priority), timingHint (cheap/normal/expensive vs the last 20 blocks) and simpleTransfer cost in ETH and USD, plus ethUsd. From eth_feeHistory with eth_gasPrice fallback. Descriptive, not a forecast. Calls that fail on Base are not charged, except where a route notes otherwise. Price $0.002 per call via x402, USDC on Base (MCP payments are Base only). Data changes about every 1 min; calling more often returns the same values. Paid calls are subject to Horizon Pulse buyer terms: https://horizonpulse.dev/terms/buyer

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": "gas"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, and the description adds substantial behavior beyond them: data source (eth_feeHistory with eth_gasPrice fallback), refresh cadence (~1 min), precise price ($0.002/call via x402, USDC on Base, MCP payments Base-only), and a billing exception ("Calls that fail on Base are not charged, except where a route notes otherwise"). The non-idempotent annotation is consistent with the stated changing data.

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?

Front-loaded and dense: purpose first, then payload fields, then provenance, then payment terms. Every sentence carries information an agent needs (cost, refresh rate, failure billing), though the trailing terms URL and payment clauses make it a tightly packed block rather than crisp prose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates fully by naming each return field (baseFeeGwei, priorityFeeGwei with p10/p90, suggestedMaxFeeGwei with its formula, timingHint, simpleTransfer cost in ETH and USD, ethUsd). For a zero-parameter paid tool, the cost model, cadence, and data provenance are all covered.

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?

Zero input parameters, so there is nothing for the description to disambiguate; the baseline is 4. The description does usefully confirm "no parameters" up front, clarifying that no filters or network selector exist despite covering two networks in one call.

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?

Opens with a specific verb+resource+scope: "Gas price API for Base and Ethereum: base fee, priority fee and a max-fee suggestion in one GET, no parameters." It enumerates the exact returned fields, so an agent knows precisely what it gets without opening anything else, and it is clearly distinct from sibling reads like chain_head.

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?

Gives real usage context: no parameters, and "Data changes about every 1 min; calling more often returns the same values" tells the agent not to poll aggressively. It also states the tool is "Descriptive, not a forecast", setting expectations. No explicit alternative tool is named, so it stops short of full when/when-not routing.

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.