Skip to main content
Glama

md5sum

Read-only

Compute MD5 hash digests of files or stdin for fast integrity checks and data deduplication. Returns JSON with hash values and byte counts.

Instructions

Compute MD5 hash digests of files or stdin. Read-only, no side effects. Returns JSON with per-file hash values and byte counts. Use for fast non-cryptographic integrity checks and data deduplication. Not for security or cryptographic verification — MD5 is collision-broken; use 'sha256sum' or 'b2sum' for security. See also 'sha256sum', 'hash'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
checkNoRead checksums from FILE(s) and verify them.
pathsNoFiles to hash, or '-' for stdin (omit with --check).
encodingNoText encoding (default: utf-8). Use 'auto' for BOM/autodetection.utf-8
show_encodingNoInclude encoding detection metadata in JSON result.
encoding_errorsNoHow to handle encoding errors (default: replace).replace
encoding_profileNoLocale-aware encoding fallback profile for auto-detection.
Behavior5/5

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

Confirms read-only, no side effects, matching annotations. Discloses output format (JSON with hash values and byte counts) and warns about MD5 security weakness, adding value beyond annotations.

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 action. No redundant information; each sentence serves a purpose: action, nature, output, usage guidance, and warnings.

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

Completeness5/5

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

Given 6 parameters (all described in schema) and no output schema, the description adequately explains output and use cases. Provides critical security warning and links to alternatives, making it complete for its complexity.

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 coverage is 100%, so baseline is 3. Description adds context like 'or '-' for stdin' and 'Read checksums from FILE(s) and verify them', improving understanding beyond schema.

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?

Specifies action 'Compute MD5 hash digests' with resource 'files or stdin'. Distinguishes from siblings by noting security differences and naming alternatives like sha256sum and b2sum.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use ('fast non-cryptographic integrity checks, data deduplication') and when not to use ('Not for security or cryptographic verification'). Recommends alternative tools for security.

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/caseSHY/AI-CLI'

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