Skip to main content
Glama

base_gas

Read-only

Current gas conditions on Base mainnet: gas price and EIP-1559 base fee in gwei, plus latest block number and timestamp (raw gwei, no USD conversion). Price $0.001 USDC per call (x402, Base).

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_gas"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely useful context beyond them: values are in raw gwei with no USD conversion, and each call costs $0.001 USDC via x402 on Base, which an agent needs to know before invoking repeatedly. It does not state freshness/caching behavior, so it stops short of full disclosure.

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 compact sentences, each fully loaded: the first front-loads what is measured and the units, the second states the payment model. No filler or restatement of the title.

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, the description carries the burden of describing return values and does so by enumerating every field plus its unit. The remaining gap is that it does not say how current the reading is (cache TTL, block lag), which matters for an open-world price feed.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline is 4. The description still clarifies units (gwei) and that no USD conversion is applied, which is the only semantic ambiguity a zero-arg call could carry.

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?

Names a specific verb+resource ('Current gas conditions on Base mainnet') and enumerates exactly the values returned: gas price, EIP-1559 base fee in gwei, latest block number and timestamp. It is immediately distinguishable from the sibling balance/token tools, which report different data.

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 the name and description – call it when you need current gas price data – but there is no explicit when-to-use/when-not statement and no comparison to alternatives (e.g., whether it is a snapshot vs. a stream). For a zero-arg query tool this is adequate but not directive.

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.