Skip to main content
Glama

Beggar Bot

fee_history

Gas fee history and EIP-1559 recommendation: base fee and priority-fee percentiles (p10/p50/p90) over the last N blocks, blob base fee, utilisation, trend, and recommended maxFee/maxPriorityFee. Keyle Paid: $0.02 USDC via x402.

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

Input Schema

NameRequiredDescriptionDefault
chainNobase|ethereum|optimism|arbitrum|polygon
blocksNo2-100 (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry behavioral disclosure; it discloses the returned metrics and that the endpoint is paid ($0.02 USDC via x402). It does not describe the payment flow, rate limits, read-only nature, or response format, leaving meaningful gaps.

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-loads the purpose and output metrics, and the payment note is relevant context. It is dense but contains no redundant sentences.

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?

With no output schema or annotations, the description must carry output context; it lists the key returned fields and cost, enabling selection. It omits return structure, units, and usage alternatives, but is reasonably complete for a low-complexity read query.

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

Parameters3/5

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

Schema coverage is 100%, so chain and blocks are already documented in the schema, setting the baseline at 3. The description only echoes 'last N blocks' and adds no chain semantics or default behavior beyond what the schema provides.

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 (gas fee history) and output scope (EIP-1559 recommendation, percentiles, blob base fee, etc.), so the agent knows what it returns. It does not explicitly name or differentiate from overlapping siblings such as next_base_fee or blob_fee_trend, so it falls short of a 5.

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?

No when-to-use or when-not-to-use guidance is provided, and no alternatives are named despite many fee-related siblings. The agent can infer it is for historical gas fee data, but that usage is only implied.

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.