Skip to main content
Glama

hash.compute

Compute cryptographic hashes (SHA-256, MD5, SHA-1, SHA-3, etc.) for any input string, with configurable input and output encodings.

Instructions

Compute one or more cryptographic hashes (sha256, sha512, md5, sha1, sha3, etc.) over an input.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesThe data to hash.
algorithmNoSingle algorithm shortcut.
algorithmsNo
inputEncodingNoutf8
outputEncodingNohex
Behavior2/5

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

No annotations are provided, so the description must carry the burden of behavioral disclosure. It does not mention idempotency, security considerations, performance characteristics, or any limitations (e.g., input size limits). The description is minimal and adds little beyond the obvious.

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?

The description is a single, front-loaded sentence with 18 words. It efficiently conveys the core purpose without any wasted words. It is appropriately sized for a simple tool.

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

Completeness2/5

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

Given the tool has 5 parameters (1 required) and no output schema, the description should explain parameter relationships and usage. It covers the core 'compute hashes' but omits details on how to specify multiple algorithms, encoding defaults, and what the output looks like. This leaves significant gaps for an AI agent.

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

Parameters2/5

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

Schema description coverage is 40%. The description lists algorithm options but does not explain the relationship between 'algorithm' and 'algorithms' (single vs. array), nor does it clarify the meaning of inputEncoding and outputEncoding beyond what is in the schema. The description provides minimal added value over the parameter names.

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?

The description clearly states the verb 'Compute' and the resource 'cryptographic hashes', listing specific algorithms and indicating multiple hashes are possible. This is specific and distinguishes it from sibling tools, none of which compute hashes.

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?

No explicit guidance on when to use this tool versus alternatives. While the tool's purpose is clear, there is no context about when to choose specific algorithms or when this tool is preferred over others (e.g., crypto.address-validate for different crypto operations).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/2s-io/sdk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server