Skip to main content
Glama

Leash

Estimate gas

elysium_estimate_gas
Read-onlyIdempotent

eth_estimateGas for a call (or a contract deployment when to is omitted: data = init code), with base fee, priority fee and cost in HYPE and USD. Reverts return isError with the decoded (untrusted) reason. Chains: elysium (default), hyperevm, robinhood.

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

Input Schema

NameRequiredDescriptionDefault
toNo
dataNo
fromNo
chainNoelysium (default), hyperevm or robinhoodelysium
valueNoValue in HYPE, e.g. '0.5'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/openWorld annotations, the description discloses the return contents (base fee, priority fee, cost in two denominations) and the failure mode: reverts yield isError with a decoded reason that is explicitly flagged as untrusted. That is meaningful behavioral context an agent would otherwise not have, though it omits the headline return value (the gas estimate itself) and any cost/pricing assumptions.

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 dense sentences with the primary operation and result payload front-loaded, followed by the deployment edge case, the error behavior, and the chain list. No filler and no repetition of the schema's enum values beyond the necessary default note.

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?

There is no output schema, so the description carries the return burden; it covers fees and cost but never states that the gas estimate amount is returned, nor its units or field names. With five parameters, one of which is undocumented and two only lightly touched, an agent could call it but cannot fully anticipate the response shape.

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 only 40%, and the description supplements two parameters well: omitting `to` means deployment and `data` becomes init code. It restates the chain list already present in the enum/default but says nothing about `from` or `value` beyond what the schema pattern shows, leaving half the surface undocumented in prose.

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?

The description names the exact RPC method (eth_estimateGas) and the resource (a call, or a deployment when `to` is omitted), plus what the response contains (base fee, priority fee, cost in HYPE and USD). It implicitly separates itself from elysium_gas_price by being per-call rather than per-chain, but never names a sibling 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 implied rather than stated: one infers this is the pre-flight estimate step before sending a transaction, and the `to`-omitted case is called out as deployment. There is no explicit 'use this instead of X' routing, no prerequisites, and no statement about when estimation is unnecessary.

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