Skip to main content
Glama

evm_gas

Gas price on Base in gwei, split into base fee and priority fee, with the block it was read at. Use it to estimate gas fees before sending a transaction. Price: 0.001 USDC per call over x402 on Base or Solana.

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

Input Schema

NameRequiredDescriptionDefault
chainNoExample: base

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the payment model (0.001 USDC per call via x402 on Base or Solana) and the response shape (base fee, priority fee, block number). It omits failure modes, rate limits, or staleness/caching behavior for the quoted price.

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?

Three tight sentences: what it returns, when to use it, and what it costs. Return contents and pricing are front-loaded with no filler, and each sentence adds information the schema and annotations do not.

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?

For a one-parameter read tool with no output schema, the description covers purpose, returned fields, usage context, and cost — enough to call it correctly. The only gap is the unstated interaction between the chain parameter and the hard-coded 'Base' framing.

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 description coverage is 100% for the single 'chain' parameter, so the baseline is 3. The description says 'on Base' but never explains whether the chain parameter overrides that or what happens when it is omitted (0 required params), leaving a small ambiguity the schema does not resolve.

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?

Description states a specific resource and verb ('Gas price on Base in gwei') and enumerates the returned components (base fee, priority fee, block read at), which clearly separates it from siblings like crypto_price or evm_block. It stops short of explicitly naming which sibling to use instead in edge cases.

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

Usage Guidelines4/5

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

It gives an explicit use case: 'Use it to estimate gas fees before sending a transaction,' which is clear context. It does not mention when not to use it or contrast with siblings such as evm_block or dex_quote, so no alternative routing is offered.

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.