Skip to main content
Glama

LeakData

Check a password hash prefix

leakdata.password_prefix_check
Read-only

Call this only when the current user message supplies a locally computed five-character SHA-1 hash prefix and asks to check it. Never invent a prefix or reuse one from an earlier message. For general questions about password checks, explain local SHA-1 computation and sharing only its first five hexadecimal characters without calling a tool. Never accept a plaintext password or complete hash. Report only the aggregate values actually returned by this call. Results describe a prefix group only. A matching prefix does not establish whether a particular password is exposed. Do not report confirmed password exposure or recommend changing a password based only on this result. An empty group does not prove that a password is safe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prefixYesFive-character SHA-1 hash prefix supplied in the current user message. Never infer it from earlier messages.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
foundYesWhether any known hashes share this five-character prefix. A match does not establish that a particular password is exposed.
totalOccurrencesYesTotal occurrences across all hashes in the prefix group, not an exposure count for one specific password.
candidateHashCountYesNumber of distinct known hashes sharing the prefix, not matches for one specific password.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the read-only annotation by explaining interpretive limits: a matching prefix is only a group-level aggregate, not confirmation of exposure; an empty group does not prove a password is safe; and the tool returns aggregate values only. These are critical semantic warnings the agent needs to avoid overstating results.

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?

The description is front-loaded with the condition for use and every sentence adds safety or scoping guidance. There is no filler; warnings about inventing prefixes, accepting plaintext, and misinterpreting results are each distinct and necessary. The length is justified by the safety-critical nature of the tool.

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?

With one required parameter, a rich schema description, output schema present, and read-only annotations, the description covers the remaining gaps: when to avoid calling the tool, how to handle general password questions, and how to phrase results responsibly. No important usage context is missing.

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 the baseline is 3. The description adds meaningful provenance constraints beyond the schema: the prefix must be locally computed by the user, must not be invented or reused, and plaintext passwords must never be accepted. These are behavioral constraints rather than format constraints, adding real value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title and opening directive ('Call this only when... a five-character SHA-1 hash prefix') make the tool's trigger condition clearociative. The description repeatedly frames the tool as reporting aggregate values for a prefix, which conveys the core purpose. However, it never states in one explicit sentence that this tool looks up a hash prefix against breach data, so the primary action is more implied than directly named.

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?

The description gives explicit when-to-call conditions: only for a locally computed five-character SHA-1 hash prefix from the current message. It also gives clear exclusions: never for plaintext passwords, never for earlier or invented prefixes, and never for general password questions, where local computation guidance should be provided instead.

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