Skip to main content
Glama

gas_snapshot

Use when: how much gas will a transfer or swap cost right now? Live gas snapshot for Base, Ethereum and BNB Smart Chain: gas price, base fee, block utilization, and estimated native cost of a transfer, ERC-20 transfer and swap. Costs $0.005.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>"
    },
    "name": "gas_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/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 load and does reasonably well: it discloses that the data is live/'right now', enumerates the returned metrics, and states an explicit per-call price of $0.005, which is meaningful cost context an agent needs. It leaves read-only semantics and any rate limits implicit, but 'snapshot' makes the read-only nature clear.

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?

Front-loaded with a 'Use when:' trigger, followed by one dense sentence covering chains, metrics, and price. No filler or repetition; every clause adds information.

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 single-parameter tool with no annotations and no output schema, the description covers the trigger, the data returned, and the cost. The main omission is the 'all' chain option and any hint about the shape or units of the estimates, but overall it is sufficient to call the tool correctly.

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 0% and the 'chain' parameter uses a regex pattern rather than an enum, so the description must supply the allowed values. It maps 'bsc' to 'BNB Smart Chain' and lists Base and Ethereum, which helps, but it omits the 'all' value that the pattern permits, leaving one valid input undocumented.

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?

The description names a specific resource (live gas snapshot), the exact chains covered (Base, Ethereum, BNB Smart Chain), and the concrete data returned (gas price, base fee, block utilization, estimated native cost for transfer/ERC-20 transfer/swap). No sibling tool in the list covers gas estimation, so the agent can identify it immediately from the name plus this text.

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?

The 'Use when: how much gas will a transfer or swap cost right now?' framing gives a clear trigger condition. It does not name alternatives or exclusions, but there is no sibling gas tool to disambiguate against, so the gap is minor.

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