Skip to main content
Glama

Crypto, web, finance and app data tools

Hash & Encode

hash_text

MD5, SHA-1, SHA-256, SHA-512, SHA3-256, Keccak-256, BLAKE2b and CRC32 of a text or hex/base64 bytes, plus base64 and hex encodings, in one call. Use for integrity checks, IDs, signatures and Ethereum selectors.

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": {
      "text": "<text>"
    },
    "name": "hash_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
encodingNoutf8

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the disclosure burden. It does useful work by conveying that many digests and encodings are returned from a single call and that input can be text or raw hex/base64 bytes, but it omits determinism/side-effect statements and doesn't say whether every algorithm is always computed or selectable.

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?

Two dense sentences, front-loaded with the algorithm list so the agent sees scope immediately. The enumeration of eight algorithms is long but the information is high-value; little is wasted.

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?

An output schema exists, so return-value explanation is legitimately omitted, and with only two parameters the description covers the essential surface. The remaining gap is the unspecified encoding values, which prevents a 5.

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 0% across 2 params, so the description must compensate. 'text or hex/base64 bytes' hints at the role of the encoding parameter, but the accepted encoding values (utf8/hex/base64) and their effect are never stated explicitly, leaving the parameter semantics only partially clarified.

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 specific operation (computing MD5/SHA-1/SHA-256/SHA-512/SHA3-256/Keccak-256/BLAKE2b/CRC32 plus base64/hex encoding) on a named resource (text or hex/base64 bytes), and the 'in one call' framing makes it distinguishable from single-purpose siblings like text_stats, jwt_decode, or decode_calldata.

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?

Explicitly names the contexts where the tool applies (integrity checks, IDs, signatures, Ethereum selectors), which tells the agent when to reach for it. It stops short of naming when-not or an alternative sibling, so it does not reach the top band.

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