Skip to main content
Glama

x402 agent toolkit: service finder, payment safety, Solana & web tools

Hash / encode / decode

hash_encode
Read-onlyIdempotent

sha256/sha1/sha512/md5/keccak256, function selector, HMAC-SHA256, base64(url), hex, URL encoding, UUIDs, JWT decode (unverified), EVM checksum address. Free: 10 calls/day; then $0.001/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]

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": {
      "op": "<op>"
    },
    "name": "hash_encode"
  }
}

Input Schema

NameRequiredDescriptionDefault
opYesoperation, e.g. sha256, keccak256, selector, base64-decode, jwt-decode
keyNoHMAC key
inputNoinput text
inputEncodingNoutf8 (default) | hex | base64

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered; the description adds genuinely new context by flagging that JWT decoding is unverified and by disclosing the rate limit and payment mechanism (x402 via _meta or X-API-Key). It does not cover error behavior for unsupported ops, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The capability list is front-loaded and dense, but it is a single run-on sentence of slash-separated tokens with the commercial terms appended in brackets, which reads more like a marketing tagline than structured documentation. No sentence is truly wasted, yet the layout makes scanning harder.

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 an output schema present, return values need no description, and the definition covers the op vocabulary, pricing constraints, and a key behavioral caveat (unverified JWT). For a 4-parameter multi-operation tool it is nearly complete, missing only error-handling and per-op input expectations.

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, and the description goes beyond the schema by enumerating many more valid 'op' values than the schema's single example ('selector') and implicitly scoping 'key' to HMAC operations. It still does not explain the interaction of inputEncoding with specific ops.

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 enumerates concrete capabilities — sha256/sha1/sha512/md5/keccak256, function selector, HMAC-SHA256, base64(url), hex, URL encoding, UUID, JWT decode, EVM checksum — so an agent can tell it is a general hashing/encoding utility rather than an ABI tool like abi_encode or a file digest tool like content_hash. It never states a clean verb+resource phrase, but the capability list functions as one.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no reference to siblings such as abi_encode, calldata_decode, or content_hash, which overlap with 'selector' and hashing operations. The only routing information given is commercial (free tier, then paid), not semantic.

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