Skip to main content
Glama

Leash

Decode calldata

elysium_decode_calldata
Read-onlyIdempotent

Decode transaction calldata. Pass ABI fragment(s) for best results; otherwise tries common ERC-20/721/Safe signatures and returns the 4-byte selector. 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": {
      "data": "<data>"
    },
    "name": "elysium_decode_calldata"
  }
}

Input Schema

NameRequiredDescriptionDefault
abiNo
dataYes
chainNoelysium (default), hyperevm or robinhoodelysium
addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent behavior, and the description adds non-obvious detail: a heuristic fallback that matches common ERC-20/721/Safe signatures and returns a 4-byte selector when no ABI is given. It omits what happens when nothing matches and whether the supplied address is used for signature resolution.

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?

Three compact sentences, front-loaded with the action, then input guidance, then chain scope. The trailing chain list partially duplicates the schema's own enum description, which is mild redundancy.

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 read-only decoding tool with no output schema, the description adequately covers the primary flow and fallback, but leaves the address parameter and decode-failure behavior unaddressed. An agent can call it, but may misuse address or misread an empty result.

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

Parameters2/5

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

Schema coverage is only 25%, so the description must carry weight; it explains the abi parameter (optional, improves results) and repeats the chain enum already documented in the schema. The address parameter is never mentioned at all, leaving an agent to guess whether it is required for contract-specific decoding.

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?

"Decode transaction calldata" states a specific verb and resource, and the calldata/logs distinction against elysium_decode_logs is self-evident. It stops short of naming a sibling, but the scope is unambiguous.

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?

It gives input guidance ("Pass ABI fragment(s) for best results") and discloses the fallback path when no ABI is supplied, which is genuinely useful. It does not say when this tool should be preferred over alternatives like elysium_explain_transaction or elysium_get_abi for obtaining fragments.

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