Skip to main content
Glama

Hash Hash

hash_hash

Compute an MD5, SHA-1, SHA-256 or SHA-512 hex digest of text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the output form ('hex digest') and the algorithm set, which implies a deterministic, side-effect-free computation, but it never explicitly confirms no state is modified and says nothing about input size limits or rate limits.

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?

A single front-loaded sentence with no filler; the verb, the algorithms and the output format are all in the first clause. Every word earns its place.

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 one-shot pure function with no output schema, the description covers the essential purpose, but it leaves the nested payload object and the required text field undocumented, so an agent still has to open the schema to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It lists the four algorithm names, partially covering the 'algorithm' field, but says nothing about the required 'text' field or the nested payload-wrapper structure, and never maps the algorithm names to the schema's md5|sha1|sha256|sha512 pattern.

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 names a specific verb+resource ('Compute ... hex digest of text') and enumerates supported algorithms, so the agent knows exactly what it produces. It does not, however, distinguish itself from the sibling hash_hmac, which is the nearest lookalike in the toolset.

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 guidance and no mention of the alternative: an agent choosing between plain hashing and hash_hmac gets no help here. Only the algorithm enumeration hints at scope, and even that is left implicit.

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.