Skip to main content
Glama

Beggar Bot

gas_compare

Cross-chain gas cost comparison: live gas price, priority fee and USD cost of a transaction (default 21000 gas) on Ethereum, Base, Optimism, Arbitrum and Polygon, ranked cheapest first. Keyless RPC + Paid: $0.02 USDC via x402.

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

Input Schema

NameRequiredDescriptionDefault
gasNogas units (default 21000)
chainsNocomma list (default all 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 burden and does disclose two non-obvious traits: the RPC is keyless (no API key setup) and invocation is paid at $0.02 USDC via x402. It also states output ordering (cheapest first) and the default gas assumption. It does not cover failure modes, rate limits, or whether the payment is per-call or per-chain.

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?

Two dense sentences, front-loaded with the resource and scope, with no filler. The closing payment note is slightly compressed ('+ Paid:') but still readable and earns its place as a cost warning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-optional-parameter read tool with no output schema, the description covers scope, chains, defaults, result ordering, auth model, and price — everything an agent needs before calling it. Nothing material is left unspecified.

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%, so the schema already documents both parameters including their defaults. The description restates the 21000 gas default and the five-chain default without adding syntax, formatting, or edge-case meaning beyond the schema, so baseline 3 applies.

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 opens with a specific verb+resource ('Cross-chain gas cost comparison') and enumerates exactly what is compared — live gas price, priority fee, and USD transaction cost — across five named chains. That distinguishes it from single-chain siblings like gas_price or gas_fee, though it never names those alternatives 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: the cross-chain, ranked-cheapest-first framing suggests 'use this when you need to pick the cheapest chain,' but there is no explicit when-to-use or when-not-to-use statement, and no pointer to a single-chain alternative for that narrower case.

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.