Skip to main content
Glama

ScorpTech x402 Tools

Hash Encode

hash_encode
Read-onlyIdempotent

Hashing, HMAC and encoding toolkit: digests (MD5, SHA-1/2/3, Keccak-256 as used by Ethereum, RIPEMD-160, Whirlpool, CRC32/CRC32C, Adler-32, FNV-1a, xxHash32/64/3/128, MurmurHash3), HMAC (SHA-1/2/3, MD5) with hex or base64 output, encode/decode between UTF-8, hex, base64, base64url, base32, base58 and URL encoding, identification of what a string is (hash type by length, UUID version, JWT, bcrypt/argon2, EVM address with EIP-55 checksum, Bitcoin/Solana address, base64, timestamps) and UUID v4/v7 or random-bytes generation. Offline. Price: $0.005 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/hash-encode

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNoInput string (max 100 KB), interpreted per input_encoding
hashesNoDigest algorithms, or "all" (default md5, sha1, sha256, sha512, sha3-256, keccak256, crc32b)
generateNoOptional generation instead of / besides input: {"uuid": "v4"|"v7", "count": 1-100} and/or {"random_bytes": 1-1024}
hmac_keyNoOptional HMAC key (never echoed)
identifyNoGuess what the input string is (default true)
encodingsNoOutput encodings (default hex, base64, base64url, base32, base58, url)
input_encodingNoutf8 (default), hex, base64, base64url, base32, base58 or url: decode the input to bytes first
hmac_algorithmsNoHMAC algorithms (default sha256)
hmac_key_encodingNoutf8 (default), hex, base64, base64url

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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 openWorld, so the safety profile is covered. The description adds genuinely new context beyond them: the tool is offline, costs $0.005 USDC per successful call via x402 on Solana, and the HMAC key is never echoed — all material to an agent deciding whether and how to call it.

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 capability category, then a dense but information-bearing enumeration; nothing is redundant filler. The long algorithm lists are heavy to read but each item narrows scope for the agent rather than repeating structured fields.

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 9-parameter tool with a nested object and no output schema, the description enumerates what can be produced (digests, HMAC, encodings, identification, generated UUIDs/bytes) so the agent can anticipate results. It stops short of stating the response shape or how multiple requested operations are combined in one result.

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 each parameter already documents its defaults and accepted values, so the schema carries the semantic load. The description adds only light reinforcement (e.g. hex or base64 HMAC output) and does not explain how the nested `generate` object or `identify` interaction behaves beyond the schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise verb-and-resource set: hashing, HMAC, encoding/decoding, identification and UUID/random generation, with concrete algorithm names (Keccak-256, xxHash, base58, EIP-55). An agent can tell this is a crypto/encoding utility distinct from siblings like format_convert or jwt_decode without opening the schema.

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?

The description makes the applicable task domain obvious (hash/HMAC/encode/identify/generate) but never routes the agent between this tool and close siblings such as jwt_decode, format_convert, password_strength or regex_test, and offers no when-not guidance. It does at least note the HTTPS/x402 access path as an alternative invocation channel.

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