Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

john_crack

Crack password hashes using John the Ripper with a specified wordlist and hash format, while capturing enhanced logs for security testing.

Instructions

Execute John the Ripper for password cracking with enhanced logging.

Args: hash_file: File containing password hashes wordlist: Wordlist file to use format_type: Hash format type additional_args: Additional John arguments

Returns: Password cracking results

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": {
      "hash_file": "<hash_file>"
    },
    "name": "john_crack"
  }
}

Input Schema

NameRequiredDescriptionDefault
wordlistNo/usr/share/wordlists/rockyou.txt
hash_fileYes
format_typeNo
additional_argsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It mentions 'enhanced logging' but never explains it, and it says nothing about runtime characteristics (cracking can run for hours), resource consumption, or whether the wordlist path must exist. The only behavioral disclosure is the Returns line, and an output schema already covers that.

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 description is appropriately short with an Args/Returns structure and is front-loaded with the operative sentence. The Args block is mostly redundant with the schema titles, but the total length is not excessive.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter offensive-security tool with no annotations, the description covers the surface but omits what matters most: run duration, permission or authorization expectations, and error behavior on malformed hashes. The presence of an output schema relieves it of explaining return values.

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 0%, so the description lists and glosses all four parameters. However, the glosses restate the parameter names almost verbatim (e.g., 'hash_file: File containing password hashes'), and it never explains accepted values for format_type or the default rockyou.txt wordlist that the schema supplies silently.

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 description names a specific verb and resource: 'Execute John the Ripper for password cracking,' plus a scope note about enhanced logging. It is clearly a cracking tool, but it never distinguishes itself from the sibling hashcat_crack, which an agent would also see as a candidate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance is given beyond naming the underlying tool. There is no statement about when to prefer this over hashcat_crack, no prerequisites on hash format or wordlist selection, and no guidance on what additional_args are appropriate.

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

Deploy Server

Other Tools