Skip to main content
Glama

base_fee_history

Base fee trend over a recent window (up to 20 blocks in lite): a rounded average base fee, a rounded range, and the direction. The per-block fee series is a paid lookup.

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

Input Schema

NameRequiredDescriptionDefault
blocksNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/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 disclose real behavioral traits: values are rounded (loss of precision), the window is capped at 20 blocks in lite, and the per-block series is gated behind a paid lookup. What is not stated is what happens if a caller asks for more than 20 blocks — error, truncation, or upgrade prompt.

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, no filler, with the result shape front-loaded and the tier limitation as a closing caveat. Every clause carries information an agent would otherwise have to guess.

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?

An output schema exists so return structure need not be spelled out, and the description already previews the aggregate fields. For a one-parameter read tool this is nearly complete; only the over-limit behavior and the distinction from point-in-time fee siblings are missing.

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?

The single parameter has 0% schema description coverage, so the description must compensate, and it does partially: 'up to 20 blocks in lite' bounds the meaning of blocks beyond the bare default of 10. It still leaves the out-of-range behavior and any cost implications of larger windows undefined.

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?

States a specific resource (base fee) and the exact shape of the result: a rounded average, a rounded range, and the direction over a recent window. That is far more informative than the name alone, though it never names which sibling to prefer for current/instant price (e.g. base_gas_price, base_priority_fee).

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

Usage Guidelines3/5

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

Usage is implied by 'trend over a recent window' — an agent can infer this is for short-horizon fee direction rather than a point-in-time fee. There is no explicit when-to-use/when-not-to-use and no named alternative, so the agent must infer routing against the many base_* fee siblings.

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