Skip to main content
Glama

crypto.hash

Read-onlyIdempotent

Computes UTF-8 string hashes as lowercase hex using SHA-256 (default), SHA-512, or BLAKE2b for integrity fingerprints; not intended for password storage.

Instructions

문자열을 UTF-8 로 인코딩해 해시를 소문자 16진수 hex 로 반환한다. algorithm 은 sha256(기본) | sha512 | blake2b(64바이트 출력)이며 대소문자를 구분하지 않는다. 무결성 지문 확인용이고, 솔트와 반복이 없어 비밀번호 저장에는 쓰지 않는다.

Input Schema

NameRequiredDescriptionDefault
dataYes
algorithmNosha256

Output Schema

NameRequiredDescriptionDefault
hexYes
_metaNo서버가 붙이는 영수증(integrity), 엔진, 힌트
traceYes계산 근거(tool, formula, inputs, steps, output)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, closed-world), and the description adds genuinely new behavior: the encoding applied to input, the exact hex casing of output, the blake2b 64-byte output length, and the security limitation of unsalted/uniterated hashing. It does not state error behavior for unsupported algorithm values, which keeps it from a 5.

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 sentences, front-loaded with output format, then algorithm options, then the usage caveat. No filler or restatement of the tool name.

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 details need not be restated, and the description nevertheless pins down the hex format. Only edge cases (e.g., unsupported algorithm names, empty input) are unaddressed.

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 description coverage is 0%, so the description must carry the parameter burden, and it does: algorithm's allowed values, its default (sha256), its case-insensitivity, and the differing output size for blake2b. The data parameter gets only an implied meaning (string, UTF-8 encoded) rather than an explicit statement.

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 (hash) and resource (a UTF-8 string) plus the exact output form (lowercase hex). It is trivially distinguishable from the neighboring crypto tools, which are number-theoretic (gcd, modinv, modpow) or certificate-related (crypto.crt).

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?

Explicitly frames the tool as an integrity-fingerprint function and explicitly excludes password storage ("솔트와 반복이 없어 비밀번호 저장에는 쓰지 않는다"), which is strong when/when-not guidance. It does not name an alternative to use for password hashing, but no sibling offers one, so the gap is minor.

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

Deploy Server

Other Tools