Skip to main content
Glama

mechacut

hash_digest

Digests (md5/sha1/sha256/sha512/blake2b) over text, base64 or hex input. A model cannot hash and will confidently fake one - this is the call that replaces that failure. Free.

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": {
      "data": "<data>"
    },
    "name": "hash_digest"
  }
}

Input Schema

NameRequiredDescriptionDefault
algoNosha256
dataYes
input_kindNotext

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 disclosure burden; it does add useful context by noting the tool is 'Free' and framing it as a substitute for unreliable model-generated hashes. What it omits is the output shape — whether the result is lowercase hex, the length per algorithm, or how errors on malformed base64/hex input are reported (no output schema exists to cover this).

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?

Two short sentences, zero padding: the capability statement comes first and the rationale second. Nothing repeats the schema or the tool name.

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 simple, stateless computation this is close to sufficient, and the anti-hallucination framing is genuinely valuable. However, with no annotations and no output schema, the description should say what the return value looks like and how invalid `data` under a given `input_kind` is handled — both are absent.

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 0%, so the description must compensate and it only partially does: it lists the five algorithm names and the three input kinds, which map directly onto the `algo` and `input_kind` enums. It never explains that `input_kind` governs how `data` is decoded, nor mentions the sha256 default, leaving real gaps for a 3-parameter schema with zero property documentation.

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?

It states a specific verb and resource — 'digests (md5/sha1/sha256/sha512/blake2b) over text, base64 or hex input' — enumerating both the algorithm family and the accepted input encodings, so the agent knows exactly what computation happens. It doesn't explicitly contrast with the sibling hash_hmac (keyed hashing), so the distinction is only implicit from the absence of a key parameter.

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?

It gives a clear, memorable trigger condition: when a model would otherwise fabricate a hash, this is the call to use. That is stronger than generic 'use this to hash' guidance. It stops short of a 5 because it names no explicit alternative or exclusion (e.g. 'use hash_hmac when you have 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.