Skip to main content
Glama

ETH Gas Price

get_gas_history

Closed historical buckets, oldest first. hour = 1-minute buckets for the last hour (the current minute is excluded). day = 1-hour buckets for 24 hours. month = 1-day buckets for 30 days. A closed bucket does not change.

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": {
      "span": "<span>"
    },
    "name": "get_gas_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
spanYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 and does well: it discloses ordering (oldest first), that the current minute is excluded from the hour span, and that closed buckets are immutable. What it omits is the content of a bucket (what fields/units a data point holds) and whether the full window is always returned.

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?

Four short sentences, each carrying distinct information, with the overall shape (closed buckets, oldest first) front-loaded before the per-span breakdown. No filler or repetition.

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 a single-parameter tool this covers span semantics thoroughly, but with no output schema the description is the only place to learn what a "bucket" contains (fields, units, aggregation), and it never says. An agent knows the time shape of the response but not its payload.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must define the single enum parameter, and it does precisely: hour = 1-minute buckets over the last hour, day = 1-hour buckets over 24 hours, month = 1-day buckets over 30 days. That is meaning the enum values alone could never convey, including the current-minute exclusion.

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

Purpose3/5

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

"Closed historical buckets, oldest first" gestures at returning historical data, but the description never names the resource being measured (gas prices/values) or states a verb – that only comes from the tool name. It also doesn't distinguish this from the sibling get_gas, so an agent can't tell from the text alone which one is the historical variant.

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

Usage Guidelines2/5

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

There is no explicit statement of when to use this tool versus get_gas or the other siblings. The historical/closed-bucket framing implies it is the retrospective read, but no exclusion or alternative is named, so routing is left entirely to inference from the tool name.

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