Skip to main content
Glama

500Toolbox

Argon2 Verify

argon2-verify
Read-onlyIdempotent

Verifies whether a password matches a stored Argon2 hash, reading the cost parameters from the hash itself. 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>",
      "hash": "<hash>"
    },
    "name": "argon2-verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYesThe stored Argon2 hash to test against.
passwordYesPlaintext password to test.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real value on top: a per-call cost of 3 credits, plus the behavioral fact that verification parameters are derived from the hash rather than supplied. It does not describe the response shape (boolean vs. detailed result), which is the remaining gap.

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?

Two tight sentences, zero filler: the matching semantics come first, the cost-parameter behavior second, and the pricing last. Every clause carries information an agent can act on.

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 two-input verification tool with rich annotations and a fully documented schema, the definition covers the essentials. The only shortfall is that it never states what comes back — presumably a boolean match result — which matters slightly more because there is no output schema.

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?

With 100% schema description coverage, the schema already documents both 'password' and 'hash' with examples and length bounds, so the baseline is 3. The description adds only the nuance that the hash is stored and self-describing; it introduces no format, encoding, or validation detail beyond the 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?

States a specific verb and resource ('Verifies whether a password matches a stored Argon2 hash') and pins the algorithm, which cleanly separates it from argon2-hash (generation) and bcrypt-verify (different algorithm) in the sibling list. An agent can pick it without opening the schema.

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?

The clause 'reading the cost parameters from the hash itself' implicitly tells the caller not to look for memory/iterations inputs, which is useful selection context. However, there is no explicit when-to-use vs. when-not guidance and no named alternative (e.g., pointing to argon2-hash for creating a hash).

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