Skip to main content
Glama

Leash

Decode transaction logs

elysium_decode_logs
Read-onlyIdempotent

Decodes a transaction's receipt logs using your ABI fragments, else each emitter's verified ABI (explorer), else common ERC-20/721/1155, Uniswap v4 and Safe events; undecodable logs return raw topics. Max 100 logs. Decoded values are UNTRUSTED. Chains: elysium (default), hyperevm, robinhood.

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": {
      "hash": "<hash>"
    },
    "name": "elysium_decode_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
abiNo
hashYes
chainNoelysium (default), hyperevm or robinhoodelysium

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?

Annotations already cover read-only, idempotent and open-world; the description adds real value beyond them: a three-tier ABI resolution chain, the 100-log cap, raw-topic fallback for undecodable logs, and a security warning that decoded values are UNTRUSTED. It does not describe response shape or performance characteristics, but that is largely covered by the behavior notes.

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?

Dense but front-loaded: resolution order, fallback, limits, trust warning and chain list each appear once with no filler. The only minor redundancy is repeating the chain list already present in the schema enum description.

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 3-parameter read tool with no output schema, the description covers input semantics, fallback behavior, caps and a trust warning well. It stops short of describing the returned structure (per-log grouping, decoded name/args fields), which an agent would have to discover at call time.

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 only 33% (only chain is documented in-schema), so the description must compensate, and it does: it explains that abi means 'your ABI fragments' (or falls through to explorer/common ABIs) and enumerates the supported chain values. The hash parameter is left self-evident from its strict pattern.

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 (decodes) and resource (transaction receipt logs) and even documents the resolution order for the ABI used. It implicitly separates itself from elysium_decode_calldata by scoping to receipt logs, though it never names that 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?

Useful operational context is given (max 100 logs, supported chains, ABI fallback), but there is no guidance on when to pick this over elysium_get_logs or elysium_explain_transaction, nor when to supply your own abi versus relying on explorer lookup.

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