Skip to main content
Glama

DocParse

Hash / HMAC

hash
Read-only

Hash or HMAC a string: md5, sha1, sha256, sha384, sha512, sha3-256, sha3-512; hex or base64 output; input as utf8, base64 or hex. Price: $0.001 per successful call via x402 (eip155:8453); 5 free calls/day across all tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesData to hash
outputNohex (default) or base64
hmac_keyNoIf set, compute HMAC with this key
algorithmNoDefault sha256
key_encodingNoutf8 (default), base64 or hex
input_encodingNoutf8 (default), base64 or hex

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=true), so the bar is lower. The description adds genuinely useful behavioral context not in the annotations: the per-call price, the x402/eip155:8453 payment rail, and the shared 5-call/day free quota, all of which affect whether an agent should invoke it.

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?

A single dense sentence front-loads the core operation and algorithm list before the pricing clause; nothing is padded. The semicolon-chained fragments are efficient, though slightly compressed.

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?

For a 6-parameter, no-output-schema utility with light annotations, the description covers the operation, algorithm and encoding options, and the billing model. The one omission is that it never states what is returned (the digest string), but that is minor for a tool whose contract is self-evident.

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 already documents all six parameters, including defaults (sha256, hex, utf8). The description largely restates the algorithm and encoding options without adding 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 (hash or HMAC) and resource (a string), and enumerates the supported algorithms and encodings, which lets an agent distinguish it from encoding siblings like base64 or uuid. It stops short of explicitly naming any sibling it should not be confused with, so it is clear but not fully differentiated.

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 implied by the operation and its parameter list, and the description usefully discloses the commercial terms ($0.001 per successful call, 5 free calls/day). However, it gives no when-to-use vs when-not guidance and never routes the agent to or away from a sibling tool.

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