Skip to main content
Glama

Run Pw Inspector

run_pw_inspector

Filter password wordlists by minimum and maximum length to match target policies, reducing invalid candidates and optimizing Hydra brute-force attempts.

Instructions

Filters a password wordlist based on length criteria to optimize Hydra attacks. Tags: network, security, pentest, brute-force

Usage Guide:

  • Pre-filter wordlists to match target password policies (e.g., minimum 8 chars).

  • This reduces the number of attempts Hydra makes by skipping invalid candidates.

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": {
      "input_list": "<input_list>",
      "output_list": "<output_list>"
    },
    "name": "run_pw_inspector"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_lenNoMaximum password length to include.
min_lenNoMinimum password length to include.
input_listYesPath to the source wordlist.
output_listYesPath where the filtered wordlist will be saved.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full disclosure burden. It reveals that the tool reads a source wordlist and writes a new filtered file to output_list, but says nothing about overwriting an existing output file, error behavior on a missing input path, or whether ordering and duplicates are preserved.

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?

The opening sentence is front-loaded with the core action, and the two usage bullets are short and additive. The 'Tags:' line contributes little information but is only one line and does not obstruct the payload.

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?

With only four simple parameters, full schema coverage, and an output schema to describe the return value, the description covers purpose and usage sufficiently. The remaining gap is file-handling behavior on the output path, which is a minor omission given the tool's simplicity.

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 description coverage is 100%, so min_len, max_len, input_list, and output_list are already documented in the schema. The description only restates that filtering is length-based and does not clarify interactions such as min_len exceeding max_len, which is the baseline 3 case.

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 definition states a specific verb and resource ('Filters a password wordlist based on length criteria') and ties it to a distinct role: preprocessing for Hydra ('to optimize Hydra attacks'). That separates it from the execution-oriented siblings like run_hydra, although no sibling is named explicitly.

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?

The 'Usage Guide' section gives concrete when-to-use conditions ('Pre-filter wordlists to match target password policies') and the rationale for doing so (fewer invalid attempts). It lacks explicit when-not-to-use guidance or a named alternative to skip this step.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.