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 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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

A4/5.0
Behavior4/5

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

Annotations already cover read-only and non-destructive status, and the description adds what they cannot: it is local with no network calls, it changes nothing, it is billed per call ($0.01 via x402/card key, first 25 free, failures free), and repeats are explicitly not free — which usefully reinforces idempotentHint=false. Minor tension: the description says "no network" while openWorldHint=true is asserted, which an agent could read as inconsistent even though the safety hints align.

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?

Front-loaded with the core behavior and organized as a per-input-type enumeration, so an agent can scan for its case quickly. It is dense but nearly every sentence carries information; the pricing/clause near the end is the least essential part and could be tightened.

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 polymorphic dispatcher with only two parameters and no output schema, the description covers the input modes well. The notable gap is the response shape — an agent does not know what fields come back when an input matches multiple interpretations, nor what the error/degenerate-case behavior looks like beyond "failed calls free".

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 100%, so the baseline is 3, but the description adds real meaning: it explains that `input` is auto-detected rather than declared by the caller, and maps each accepted shape to its resulting conversions, plus notes decimals default to 18 and "any decimals" are supported. It does not say how ambiguous inputs (a hex string that could be calldata, a value, or a hash) are disambiguated.

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 states a specific verb-and-resource with a dispatch model: it inspects an EVM value and converts it, enumerating each input type and its outputs (address→EIP-55 + bytes32, signature→selector/topic, calldata→decoded, bytes32→uint256/address/units, number→wei/gwei/ether, text→keccak256). That is far more specific than the title alone. It does not name the overlapping siblings (evm_checksum, evm_decode_calldata, keccak, units_convert) it supersedes, so the differentiation is inferential rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear applicability ("Use for building or debugging contracts and agents") plus a concrete worked input example, which is enough for an agent to recognize the right moment. It offers no explicit when-not conditions and never routes the agent away from the single-purpose sibling tools that do overlapping work.

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.