Skip to main content
Glama
Ethereum MCP
by ETHCF

get_gas_price

Fetch Ethereum gas prices by slow, average, and fast tiers to estimate transaction fees before sending a transaction.

Instructions

Get current Ethereum gas prices (slow, average, fast)

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the meaningful behavioral traits that prices are live/current and broken into slow/average/fast tiers, but says nothing about units (gwei vs wei), freshness/caching, or data source.

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?

A single short sentence, front-loaded with the verb and resource, with the tier list in parentheses; nothing is wasted. It is arguably under-specified rather than too long.

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?

This is a simple zero-parameter read tool, so a short description is defensible. However, with no annotations and no output schema, the description should at least say what the returned values represent (e.g. gwei per gas for each tier) to fully close the loop.

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 tool takes zero parameters, so there is nothing to document; the baseline of 4 applies. The parenthetical (slow, average, fast) usefully describes the categorizations available in the result even without any input schema.

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 verb and resource ('Get current Ethereum gas prices') and names the three speed tiers returned. It distinguishes itself reasonably from the similar-sounding siblings (get_gas_estimate, estimate_gas) by describing prices rather than transaction estimation, though it never says so explicitly.

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 only implied by the wording 'current Ethereum gas prices'; there is no explicit when-to-use statement or pointer to get_gas_estimate/estimate_gas for transaction-cost estimation. An agent must infer the boundary from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools