Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as 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. 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?

Beyond the annotations (which already declare read-only, open-world, non-destructive), it discloses the data source and fallback path (eth_feeHistory with eth_gasPrice fallback), failure billing ('Calls that fail on Base are not charged'), the payment rail ($0.002/call via x402, USDC on Base only), staleness cadence, and a terms link. That is exactly the extra behavioral context annotations cannot carry.

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?

It is front-loaded with purpose and return fields, then billing and caveats, so the important information comes first. It is dense and clause-heavy in the middle (field list plus pricing plus terms all in one block), but nearly every sentence earns its place for a paid tool.

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?

With no output schema, the description carries full responsibility for describing the return shape and does so field by field, including derived semantics (suggestedMaxFeeGwei is 2x base + priority, timingHint relative to last 20 blocks). Combined with billing, failure, and staleness notes, an agent has everything needed to call it correctly and interpret results.

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?

There are zero parameters, and the description explicitly says 'no parameters', confirming the schema is complete rather than truncated. Baseline for a 0-param tool is 4; nothing more could be added on parameter meaning.

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 opens with a specific verb+resource ('Gas price API for Base and Ethereum') and enumerates exactly what is returned (baseFeeGwei, priorityFeeGwei, suggestedMaxFeeGwei, timingHint, transfer cost). It also scopes it clearly as a single no-parameter GET on two named networks, so an agent can distinguish it from sibling chain tools without opening the schema.

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 usage context: no parameters, data refreshes about every 1 min so 'calling more often returns the same values', and it states 'Descriptive, not a forecast' to set the right expectation. It does not explicitly name an alternative sibling tool or an exclusion case beyond that, so it falls short of a 5.

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