Skip to main content
Glama

Alomo: Developer utilities

Hash, Base64, URL and hex encoder/decoder

hash_encode_decode
Read-onlyIdempotent

Hashes text (MD5, SHA-1, SHA-256, SHA-384, SHA-512, as hex), or encodes and decodes Base64, Base64URL, URL percent-encoding and hex. Text is treated as UTF-8; decoded bytes that aren't valid UTF-8 come back as hex. Computed in memory; input is never logged or stored. Up to 100 KB of input.

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

Input Schema

NameRequiredDescriptionDefault
textYesThe input text (up to 100 KB).
operationYesOne of: hash, base64_encode, base64_decode, base64url_encode, base64url_decode, url_encode, url_decode, hex_encode, hex_decode.
algorithmsNoFor hash: any of md5, sha1, sha256, sha384, sha512 (default all).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so the safety profile is covered; the description still earns credit by adding non-obvious behavior: UTF-8 treatment of input, the fallback to hex output for non-UTF-8 decoded bytes, in-memory computation with no logging or storage, and a 100 KB input cap. What is missing is failure behavior for malformed Base64/hex or invalid hash algorithm names.

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

Conciseness5/5

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

Three tight sentences with zero filler: capability first, byte-handling edge case second, security/size constraints last. Every clause carries information an agent would otherwise have to guess.

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?

There is no output schema, and the description compensates reasonably by specifying hash output format and the hex fallback for non-UTF-8 bytes. The size limit and stateless privacy note round out what an agent needs. It stops short of describing error responses for malformed input, which for a decoder tool is the remaining meaningful gap.

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 description coverage is 100%, so baseline is 3; the description adds meaning beyond the schema by stating that text is interpreted as UTF-8 and that hash output is hex-encoded, which clarifies the semantics of both the required `text` parameter and the result. The `algorithms` parameter's default-all behavior is already in the schema, so no further credit there.

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?

The description opens with a specific verb list (hashes, encodes, decodes) tied to concrete resources (MD5/SHA family, Base64, Base64URL, URL percent-encoding, hex), and the nine operation values map directly onto that capability set. No sibling tool in the list performs text encoding/hashing, so the tool is trivially distinguishable.

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?

Usage is implied through the enumeration of operation modes, so an agent knows which operation value corresponds to which task. However, there is no explicit 'use this when' framing, no mention of when to prefer hashing versus encoding, and no named alternative or exclusion. Adequate but relies on the agent inferring intent from the operation names.

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