Skip to main content
Glama

Beggar Bot

evm_log_decode

Decode EVM event logs (topics+data or a tx receipt's logs) into named events with args: ERC-20/NFT transfers, approvals, Uniswap swaps, upgrades, 4337 ops; token amounts and mint/burn/unlimited-approval flags. Offline, no 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": "evm_log_decode"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo0x log data
logsNoarray of {address, topics, data}
eventsNooptional event signatures e.g. 'Foo(address indexed a,uint256 b)'
topicsNoarray of 0x topics
addressNoemitting contract

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that no RPC is needed, that payment of $0.02 USDC via x402 is required, and that output includes computed enrichments (token amounts, mint/burn/unlimited-approval flags). It does not say how unknown/unrecognized events are handled or what errors look like.

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?

A single dense paragraph front-loaded with purpose and scope, followed by capability details, then operational constraints (offline, price). No filler sentences; each clause contributes scope, output detail, or a constraint.

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 decode tool with five optional parameters and no output schema, the description adequately covers what comes back (named events with args plus derived flags) and how it runs (offline, paid). The remaining gap is edge-case behavior for unrecognized events or partial input combinations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning the schema cannot: it clarifies the two valid input shapes (topics+data versus a receipt's logs array) and that custom event signatures are optional. The combinatorial guidance about which parameters go together is the main value add.

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 (decode) and resource (EVM event logs) plus accepted inputs (topics+data or a receipt's logs), and enumerates the event families recognized (ERC-20/NFT transfers, approvals, Uniswap swaps, upgrades, 4337 ops). It is distinguishable in substance from tx-level or raw-bytes decoders, though it 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?

Implied usage is clear — use this when you have event logs to turn into named events — and it adds a useful constraint that it works offline with no RPC. However, it gives no explicit when-not guidance or named alternative (e.g., tx-level decode vs abi_decode for non-event data), leaving selection to inference.

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.