Skip to main content
Glama

UUIDs, Random Bytes and Hashes

uuid_hash
Read-onlyIdempotent

Generates UUID v4s or random bytes, or hashes text with sha256, sha1, sha384, sha512, sha3-256 or md5 (hex or base64). Returns the values requested. Use it for IDs, test data or checksums. Limits: md5 and sha1 are for checksums only, not security; count and byte length are capped.

Input Schema

NameRequiredDescriptionDefault
bytesNo
countNo
inputNotext to hash
actionNo
encodingNo
algorithmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a read-only, idempotent, closed-world operation, so safety is covered. The description goes beyond that by disclosing caps on count and byte length and the security caveat on weak hash algorithms, which is meaningful behavioral context the annotations do not provide.

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?

Three compact sentences, front-loaded with the core capability, followed by use cases and limits. Every clause carries information; only minor tightening is possible.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter tool with no output schema and thin schema descriptions, the description covers capabilities, algorithms, encodings, use cases, and limits well, but leaves the mode-selection semantics of 'action' and the exact effect of bytes/count underspecified.

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 only 17%, with just one parameter ('input') described, so the description must carry more weight. It lists algorithms and encodings that map to the enum-bearing parameters and mentions byte length and count limits, but it does not clarify the role of 'action' in selecting the operating mode or the relationship between bytes/count and each action.

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 precise verbs and resources: generates UUID v4s, random bytes, or hashes text, and enumerates the supported algorithms and encodings. No sibling tool overlaps this function, so the purpose is unambiguous.

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?

Provides clear use cases (IDs, test data, checksums) and adds an explicit limitation: md5 and sha1 are for checksums only, not security. It doesn't name alternatives, but none exist among siblings, so the practical guidance is strong.

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.