Skip to main content
Glama

mechacut

eth_abi_decode

Decode calldata back to readable values against a type list. Blind signing dies here: see exactly what you sign. Capped.

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": {
      "types": "<types>",
      "data": "<data>"
    },
    "name": "eth_abi_decode"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
typesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. The single word 'Capped' hints at a size or input limit but never says what is capped, what happens when the cap is hit, what errors look like, or how results are formatted. Beyond the signing-safety framing, the agent learns almost nothing behavioral.

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 short fragments, action front-loaded in the first sentence, no filler paragraphs. The rhetorical 'Blind signing dies here' costs a few words but conveys intent efficiently; 'Capped' is too terse to be useful rather than concise.

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

Completeness2/5

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

There is no output schema, so the description must explain what comes back — decoded values as an array? strings? typed JSON? — and it does not. For a decode tool whose entire value is the returned structure, plus undocumented input formats and an unspecified cap, this leaves significant gaps.

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 description coverage is 0%, so both parameters are undocumented in structured data. The description implies 'types' is a type list and 'data' is calldata, but it does not say the expected encoding (hex string with 0x prefix?), the type-string syntax (Solidity ABI types, tuples, arrays?), or whether dynamic types are supported.

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 gives a specific verb+resource: 'Decode calldata back to readable values against a type list.' That is clearly distinguishable from the encode sibling and from unrelated decode tools like jwt_decode or text_decode. It stops short of naming an alternative, but the core action 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?

'Blind signing dies here: see exactly what you sign' implies the use case — pre-signature inspection of transaction calldata — but never states when to use this versus eth_abi_encode, eth_eip712, or eth_selector. There are no exclusions or prerequisites, so the agent must infer the workflow context.

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.