Skip to main content
Glama

Beggar Bot

tx_fees

Gas cost accounting: for up to 20 tx hashes returns status, confirmations, gas used, effective price, OP-stack L1 data fee, total fee in native and USD at block time. Reconcile settlement/facilitator 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": "tx_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
txsNocsv tx hashes (<=20)
chainNobase|ethereum|optimism|arbitrum|polygon

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden; it does disclose the 20-hash cap, the exact return fields, and even invocation cost ('$0.02 USDC via x402'), which is genuinely useful context. It does not explain what happens when the optional txs parameter is omitted, what the default chain is, or how partial/failed hashes are reported, and the trailing sentence is truncated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The return-field list is front-loaded and dense, but the closing 'Reconcile settlement/facilitator Paid: $0.02 USDC via x402.' is malformed with a double space and a dangling subject, undercutting readability. Also, required is empty in the schema while the prose implies txs is needed.

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?

For a two-parameter read tool with no output schema, the description covers return fields and payment cost reasonably well. It omits chain defaulting and the no-argument behavior, which matter because the schema marks zero required parameters.

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 coverage is 100%, so both parameters are already documented as csv tx hashes (<=20) and a chain enum. The description adds no chain-default behavior or format guidance beyond restating the 20-hash limit, 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?

States a specific verb and resource — 'Gas cost accounting' for up to 20 tx hashes — then enumerates the returned fields (status, confirmations, gas used, effective price, L1 data fee, total fee in native and USD). That is enough for an agent to distinguish it from aggregate fee tools like chain_fees or btc_fees, though no sibling is named 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?

The only usage signal is the fragment 'Reconcile settlement/facilitator', which implies a reconciliation use case but is garbled and never states when to prefer this over the many sibling fee tools. There are no exclusions or prerequisites, so the agent must infer routing from the purpose statement alone.

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.