Skip to main content
Glama

Breached Password Check

password_check
Read-only

Check a password's SHA-1 against Have I Been Pwned's Pwned Passwords list. It takes the full SHA-1, never the password. Only its first 5 hex digits leave this server.

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": {
      "sha1_hash": "<sha1_hash>"
    },
    "name": "password_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
sha1_hashYesSHA-1 of the password: 40 hex digits, either case

Output Schema

NameRequiredDescriptionDefault
foundYestrue when breach_count is above 0.
creditsYes
summaryYesOne sentence that states breach_count in words.
hash_prefixYesThe first 5 hex digits of the hash, in upper case. Only they are sent to Have I Been Pwned.
breach_countYesTimes the password was seen in breach data. It does not count breaches. 0 when not found.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description doesn't need to explain that it is a safe outbound read. It still adds genuinely useful behavioral context by disclosing the k-anonymity privacy property — only the first 5 hex digits leave the server — which is not derivable from the annotations or schema.

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 the action and source, followed by the two constraints that matter. Nothing is padded and no sentence is redundant.

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?

For a single-parameter, annotated, read-only lookup with an output schema, this covers everything needed: what it does, what to pass, and the privacy behavior of the call. Return-value explanation is unnecessary because an output schema exists.

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, and the description goes beyond the schema by emphasizing that the value is a 40-hex SHA-1 of the password and that no raw password should ever be sent. That distinction is meaningful semantics an agent could otherwise get wrong.

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?

Names a specific verb and resource ('Check a password's SHA-1 against Have I Been Pwned's Pwned Passwords list') plus the exact data source, and immediately clarifies the input is the full SHA-1 rather than the password. An agent can tell precisely what this does and how it differs from the other single-purpose check tools.

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?

It gives an important calling constraint ('It takes the full SHA-1, never the password'), which prevents the most likely misuse. However it offers no when-to-use framing relative to siblings (e.g., credential-hygiene checks vs email_address_check) and no statement of prerequisites or limits.

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.