Skip to main content
Glama

Beggar Bot

abi_decode

Decode transaction and contract ABI / calldata decoder API: paste transaction input data, get the decoded function name and arguments - auto-detects common ERC-20, NFT, Uniswap, permit, USDC EIP-3009 and Multicall selectors, or uses your ABI / signature; flags unlimited approvals. Pure compute. ABI decode / function selector. Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC via x402.

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": "abi_decode"
  }
}

Input Schema

NameRequiredDescriptionDefault
sigNooptional function signature(s), ';'-separated
dataYes0x calldata hex
typesNooptional comma list of ABI types for raw (no-selector) decode

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares 'Pure compute', lists exactly which selector families are auto-detected (ERC-20, NFT, Uniswap, permit, EIP-3009, Multicall), and discloses billing behavior (charged only on 2xx, input errors never charged). Remaining gaps are the response shape and what happens when a selector cannot be matched, which are not described.

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?

The core action and auto-detection list are front-loaded, and the payment clause is compact. The keyword-style fragment 'ABI decode / function selector' is redundant filler, but the rest of the text is dense and informative rather than padded.

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 three-parameter compute tool with no annotations and no output schema, the description covers the important unknowns: what input to provide, detection coverage, approval flagging, and cost/charging semantics. It could still say more about the decoded output structure and failure behavior, but nothing critical to correct invocation is missing.

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 description coverage is 100%, so the schema already defines data, sig, and types. The description reinforces the data and signature paths ('paste transaction input data', 'or uses your ABI / signature') but never mentions the types parameter or the raw no-selector decode mode, so it adds little beyond the schema.

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 concrete verb and resource: decode transaction/contract calldata, returning the function name and arguments with auto-detection of common selectors. The purpose is unambiguous. It does not distinguish itself from close siblings like abi_decode_api, decode_tx, or raw_tx_decode, so an agent still has to guess which decoder to pick.

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?

Usage is implied by 'paste transaction input data' and by the two decode modes (auto-detect vs. supply your own ABI/signature), and the note that unlimited approvals are flagged hints at a security-review use case. However, there is no explicit when-to-use or when-not-to-use guidance, and no routing to or away from the many sibling decode tools.

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.