Skip to main content
Glama

Hash Generator

HashGenerator
Read-only

Hash Generator: Hash Generator computes cryptographic hashes for any text string across algorithms such as MD5, SHA-256, SHA-512, and BLAKE2. It outputs digests for single or multiple algorithms in one request. (Cost: 1 credit)

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": "HashGenerator"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to hash
algorithmsNoComma-separated list of algorithms or 'all'all

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful non-annotation context: a 1-credit cost and the fact that multiple algorithms can be requested in a single call. It does not cover error behavior (e.g. an unsupported algorithm name) or output format, though an output schema exists.

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 tight sentences plus a cost note, front-loaded with what is hashed and which algorithms are supported. The redundant 'Hash Generator: Hash Generator' lead-in and the title/name repetition are the only waste.

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 two-parameter, read-only compute tool with full schema coverage and an output schema, the description covers purpose, algorithm breadth, batching and cost. The only meaningful omission is how it relates to the adjacent HMAC/MurmurHash tools, which is a differentiation gap rather than a missing fact.

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 coverage is 100%, so both parameters are already documented in the schema, which sets the baseline at 3. The description contributes modest extra meaning by listing concrete algorithm names and clarifying that several digests can be produced in one request, but the accepted spelling and comma syntax for `algorithms` are still only in the schema.

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?

States a specific verb and resource: computes cryptographic hashes of a text string, and names example algorithms (MD5, SHA-256, SHA-512, BLAKE2). It does not differentiate itself from hashing siblings such as HMACGenerator (keyed hashes) or MurmurHash (non-cryptographic hashes), so an agent must infer the difference from the names alone.

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 explicit when-to-use or when-not-to-use guidance and no named alternative. The agent is left to infer that this is the right tool for plain unkeyed digests rather than HMACGenerator, and nothing addresses cases like hashing binary data or needing a secret key.

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.