Skip to main content
Glama

500Toolbox

Argon2 Hash

argon2-hash
Read-onlyIdempotent

Produces an Argon2id hash. Argon2 is memory-hard as well as slow, which is what makes it resistant to GPU and ASIC cracking in a way BCrypt is not. Prefer this over BCrypt for new systems. Costs 3 credits per call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "password": "<password>"
    },
    "name": "argon2-hash"
  }
}

Input Schema

NameRequiredDescriptionDefault
passwordYesPlaintext password to hash. Sent over TLS and never stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, idempotent, open-world. The description adds genuinely new operational context: a per-call cost of 3 credits and the security rationale for the algorithm. It does not disclose whether a random salt is used or what format the returned hash takes, which are the remaining behavioral gaps.

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?

Front-loaded with the core action, then the rationale, then the alternative, then the cost. The memory-hard versus GPU/ASIC sentence is the longest but supports the sibling preference, so it earns its place; the prose could still be tightened.

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?

A one-parameter tool with a fully described schema and annotations covering the safety profile; cost and algorithm choice are covered. The only missing piece is the shape of the returned hash, which matters slightly for downstream argon2-verify use.

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 coverage is 100% and the single password parameter is already documented with length bounds, an example, and a TLS/not-stored note. The description adds no further meaning about the parameter, so the baseline 3 applies.

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 and resource ('Produces an Argon2id hash') and immediately differentiates itself from the sibling bcrypt-hash by naming it explicitly. An agent can pick between the two hashing tools without opening either schema.

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?

Gives an explicit preference rule: use this over BCrypt for new systems, with a rationale (memory-hardness). It does not mention when to reach for the companion argon2-verify tool or when a legacy system should stay on BCrypt, so it is clear context rather than a full decision tree.

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