Skip to main content
Glama

Hash Generator API - MD5, SHA-1, SHA-256, SHA-512 of text or a file

hash_generator
Read-onlyIdempotent

Hash text or a file with MD5, SHA-1, SHA-256 and SHA-512, and compare against a hash you already have. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/hash-generator.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "abc"
    },
    "name": "hash_generator"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoThe text
filesNoOr several files: [{fileName, fileContent (base64)}]
fileNameNoFile name with extension, e.g. report.pdf
compareWithNoA hash you have, to compare (optional)
fileContentNoOr send a file as base64 (a data: URI is fine) instead of text

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds genuinely new behavior: files are deleted right after the call with nothing stored, and there is a hard 5 calls/day per-IP free limit with two paid auth paths (X-API-Key header or x402 payment). Those privacy and rate-limit facts are exactly the kind of context annotations cannot carry.

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 sentences, front-loaded with capability before terms, with no filler. The second sentence is dense with URLs and pricing detail, but that information is operationally necessary given the paywall.

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?

With no output schema, the description never states what is returned (e.g. digests for each requested algorithm, and a match/no-match for compareWith), which is the main remaining gap. Everything else an agent needs to call it correctly, including auth and cost, is present.

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 100%, so the schema itself documents text, files, fileName, fileContent and compareWith. The description only restates the text/file split and the comparison use case, adding no format or mutual-exclusivity details beyond the schema. Baseline 3 applies.

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 names the specific verb (hash), both input resources (text or a file), and enumerates all four algorithms, plus a secondary capability (compare against an existing hash). An agent can tell exactly what this tool produces without opening the schema.

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 only implied through the 'compare against a hash you already have' clause; there is no explicit when-to-use versus when-not guidance or named alternative. The pricing/free-tier sentence is access guidance rather than selection guidance, so it does not raise this dimension much.

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