Skip to main content
Glama
getoolkit-mcp

getoolkit-mcp

by qwehkkk

Hash text

hash_text

Compute deterministic hash digests of UTF-8 strings using MD5, SHA-1, SHA-256, or SHA-512 locally. Use SHA-256 as default for secure checksums; MD5/SHA-1 only for legacy.

Instructions

Compute the hash digest of a UTF-8 string using MD5, SHA-1, SHA-256, or SHA-512. Deterministic and local. MD5 and SHA-1 are provided for legacy checksums only — both are broken for security purposes; use sha256 as the default.

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": {
      "algorithm": "<algorithm>",
      "text": "<text>"
    },
    "name": "hash_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesUTF-8 text to hash
encodingNoDigest output encodinghex
algorithmYesHash algorithm

Output Schema

NameRequiredDescriptionDefault
digestYes
algorithmYes
length_bitsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. 'Deterministic and local' usefully signals no network or state and confirms repeatable output, and the legacy-algorithm caveat warns of a security pitfall. It adds no other behavioral context beyond what the schema already formats, but its pure-function nature makes the description adequate rather than misleading.

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?

Three short sentences, front-loaded with the action and supported algorithms, followed by the behavioral note and the algorithm-selection caveat. Nothing is redundant.

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

Completeness5/5

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

The tool is simple, its output schema exists so return format need not be explained, and all parameters are documented in the schema. The description adds the remaining behavioral essentials: locality, determinism, and algorithm safety.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already defines all three parameters and the output encoding default. The description goes further by naming sha256 as the default algorithm, a selection hint absent from the schema.

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 a specific verb (compute), resource (hash digest), input type (UTF-8 string), and the four supported algorithms. An agent can immediately distinguish it from siblings like base64 or generate_uuid without consulting any schema.

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?

Gives explicit algorithm-selection guidance: MD5/SHA-1 are legacy-only and broken for security, sha256 is the recommended default. It does not explicitly say when to choose this tool over sibling tools such as base64, but for a hashing utility the algorithm guidance is the decision that actually matters.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.