Skip to main content
Glama

Lookup Kit

hash

Read-only

Hash generator: SHA-256, MD5, SHA-1, SHA-512 and HMAC. Hash text with SHA-256, SHA-1, SHA-384, SHA-512 or MD5 (hex and Base64), or an HMAC with a key. Nothing is stored or logged. Price: $0.002 per call (x402, USDC on Base).

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

Input Schema

NameRequiredDescriptionDefault
textYes
hmac_keyNo
algorithmNosha256

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, but the description adds material context beyond them: 'Nothing is stored or logged' reassures on data retention, and the pricing/auth disclosure ('$0.002 per call (x402, USDC on Base)') tells the agent a payment handshake is required before invocation. That cost/auth detail is exactly the kind of behavioral trait an agent needs and is not derivable from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is front-loaded and short, but the first sentence's algorithm list is redundant with the second and internally inconsistent: SHA-384 is supported by the enum and named in sentence two but missing from sentence one. That duplication wastes space and introduces ambiguity about the actual algorithm set.

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?

With no output schema, the description should clarify the return value; 'hex and Base64' hints at output encoding but leaves it unclear whether both are returned, one is selectable, or which is default. Combined with the missing default algorithm, the definition is adequate but leaves small gaps for a simple three-parameter tool.

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 carry parameter meaning. It does map the algorithm enum to concrete choices and clarifies that hmac_key produces an HMAC and that output can be hex or Base64, but it omits the default algorithm (sha256), the 8000-character text limit, and the 500-character key limit that the schema imposes.

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 and resource ('Hash generator') and enumerates the supported algorithms (SHA-256, MD5, SHA-1, SHA-512, HMAC), so the agent knows exactly what the tool produces. It does not explicitly contrast itself with the sibling 'base64', which is the nearest conceptual alternative (encoding vs. one-way hashing), so sibling differentiation is left implicit.

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?

The phrase 'or an HMAC with a key' implicitly tells the agent to supply hmac_key for keyed hashing, which is useful context. However, there is no guidance on when to pick one algorithm over another, when to use this versus 'base64', or any prerequisites/limitations — usage is only implied.

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