Skip to main content
Glama

Benchline

Hash text or bytes

hash_data
Read-onlyIdempotent

Compute MD5, SHA-1, SHA-256, and SHA-512 for UTF-8 text or base64 bytes. Pass hmacKey for HMAC and expected to see which digest matches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoUTF-8 text to hash. Use this or base64.
base64NoRaw bytes as standard base64.
hmacKeyNoUTF-8 HMAC key. Omit it for a plain digest.
expectedNoHex or base64 digest to compare.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hmacYes
hashesYes
matchesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world), so the bar is lower. The description adds useful behavioral context: HMAC mode is opt-in via hmacKey, and supplying expected produces a match result across the digests.

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 tight sentences, front-loaded with the core purpose and algorithms, followed by the two optional behaviors. No wasted text.

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?

An output schema exists so return values need not be explained, and annotations cover safety. The description is complete for correct invocation, with the only shortfall being no explicit sibling differentiation from hash_password.

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 all four parameters are already documented in the schema. The description restates the input types and the role of hmacKey/expected but adds little syntax or format detail beyond the schema, so the baseline 3 applies.

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 (Compute) and enumerates the exact resource (MD5, SHA-1, SHA-256, SHA-512) plus the accepted input forms (UTF-8 text or base64 bytes). It does not explicitly differentiate from the closest sibling hash_password, which is a minor gap.

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 description gives conditional usage for parameters (pass hmacKey for HMAC, pass expected to check matches) but offers no when-to-use guidance or alternatives against siblings like hash_password. Usage is implied rather than routed.

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