Skip to main content
Glama

500Toolbox

BCrypt Verify

bcrypt-verify
Read-onlyIdempotent

Verifies whether a password matches a stored BCrypt hash. The work factor is read from the hash itself, so verification costs the same as the hashing did. Costs 2 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": "bcrypt-verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYesThe stored BCrypt 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 declare readOnly, idempotent, non-destructive, open-world. The description adds genuinely new behavioral facts: cost is derived from the hash's embedded work factor, so latency scales with the hash rather than the input, and each call costs 2 credits. That credit/latency disclosure is exactly the kind of context annotations cannot carry.

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 short sentences, front-loaded with what the tool does, then the cost/timing note, then the billing note. No filler and nothing buried.

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-parameter, fully documented, annotation-covered verification call, the description covers purpose, cost, and timing. The only gap is not stating the return shape (boolean match vs mismatch), though 'verifies whether' strongly implies it and no output schema exists.

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%, so both parameters are already documented. The description adds one useful detail beyond the schema — that the hash must contain its own work factor — but gives no format or encoding guidance for the password. 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 ('verifies') and resource ('password' vs 'stored BCrypt hash'), and naming BCrypt explicitly distinguishes it from the argon2-verify sibling without needing to reference it.

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?

Usage is implied by the verb-resource pairing, but there is no explicit guidance on when to prefer this over argon2-verify, nor a pointer to bcrypt-hash for creating the hash in the first place. An agent must infer the workflow.

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