Skip to main content
Glama

EVM developer utilities toolbox: checksum, keccak, selectors, units

pack_evm_toolbox
Read-only

One call that works out what an EVM value is and converts it every useful way: an address gets its EIP-55 checksum and bytes32 form; a signature its 4-byte selector and event topic; calldata is decoded (ERC-20, NFT, permit, EIP-3009); a bytes32 becomes uint256, address and units; a number converts between wei, gwei, ether (or any decimals) and hex; text gets keccak256. Local, no network. Use for building or debugging contracts and agents. Example: input=transfer(address,uint256). Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "input": "<input>"
    },
    "name": "pack_evm_toolbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesAn address, signature, calldata, hex value, number or text
decimalsNoToken decimals for unit conversions (default 18)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior2/5

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

The description actually discloses useful behavior: it is purely local, changes nothing, and every call is billed ($0.01 via x402 USDC or card key, first 10 free, failed calls free, repeats not free replaying a cached result). Those are real traits the annotations do not carry. The problem is that 'Local, no network' directly contradicts the declared openWorldHint=true, so part of its behavioral disclosure is inconsistent with the structured metadata.

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?

It is front-loaded with the dispatch behavior and then enumerates cases, so the important material comes first. The semicolon-chained run-on is dense to parse and the pricing sentence reads like marketing boilerplate, but it does carry behavioral weight rather than padding.

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?

With no output schema, the description does the necessary work by telling the caller what comes back for each input flavor, plus cost and side-effect profile. The only gap is the shape of the response object (e.g. how multiple derived values are returned in one call), which matters for a catch-all dispatcher.

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% and the schema already says input is 'An address, signature, calldata, hex value, number or text' with decimals defaulting to 18. The description restates that same enumeration and adds the input-type→output mapping, which is mildly useful but not information the schema lacks. Baseline 3 applies.

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 names a concrete aggregation tool and enumerates specific verb+resource pairs: address→EIP-55 checksum and bytes32, signature→4-byte selector and event topic, calldata→decoded ERC-20/NFT/permit/EIP-3009, bytes32→uint256/address/units, number→wei/gwei/ether/hex, text→keccak256. That is far beyond a tautology. It stops short of a 5 because it never distinguishes itself from overlapping siblings such as evm_checksum, keccak, units_convert and evm_decode_calldata; the reader must infer that this tool subsumes them.

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 a use context ('building or debugging contracts and agents') and a worked example ('input=transfer(address,uint256)'), and the per-input-type mapping implicitly tells the caller how to drive it. However, there is no when-not guidance and no statement about when to prefer this one-shot tool over the narrower siblings that do the same jobs, which is exactly the decision the caller faces.

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