Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

hakrawler_crawl

Discover web endpoints and URLs by crawling a target URL with configurable depth, forms, robots, sitemap, and Wayback options.

Instructions

Execute Hakrawler for web endpoint discovery with enhanced logging.

Note: Uses standard Kali Linux hakrawler (hakluke/hakrawler) with parameter mapping:

  • url: Piped via echo to stdin (not -url flag)

  • depth: Mapped to -d flag (not -depth)

  • forms: Mapped to -s flag for showing sources

  • robots/sitemap/wayback: Mapped to -subs for subdomain inclusion

  • Always includes -u for unique URLs

Args: url: Target URL to crawl depth: Crawling depth (mapped to -d) forms: Include forms in crawling (mapped to -s) robots: Check robots.txt (mapped to -subs) sitemap: Check sitemap.xml (mapped to -subs) wayback: Use Wayback Machine (mapped to -subs) additional_args: Additional Hakrawler arguments

Returns: Web endpoint discovery 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": {
      "url": "<url>"
    },
    "name": "hakrawler_crawl"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
depthNo
formsNo
robotsNo
sitemapNo
waybackNo
additional_argsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. It does usefully reveal invocation mechanics (URL piped via stdin rather than a flag, always adding -u, and that robots/sitemap/wayback all collapse onto the same -subs flag), which is real behavioral value. But it discloses nothing about network egress and side effects, permission/authorization expectations, request volume, or result size — the things an agent needs before running an active crawl against a live target.

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?

Front-loaded with a one-line purpose, then a tightly scoped mapping list followed by Args. The Args block largely restates schema titles, but given 0% schema coverage that repetition earns its place. The 'Returns: Web endpoint discovery results' line is low-value given an output schema exists.

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 7-parameter tool with no annotations and an existing output schema, the description covers the invocation mechanics and all parameters adequately; return values need not be explained. The remaining gap is decision-support: no guidance on choosing this crawler over siblings or on scope/safety preconditions before issuing an active crawl.

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 description coverage is 0%, so the description must compensate, and it does: all seven parameters are enumerated with their underlying flag mappings. The mappings are also load-bearing rather than cosmetic — the agent learns that forms maps to -s and that robots, sitemap, and wayback are aliases of -subs, so those three toggles are effectively redundant. The mapping for forms and robots is semantically confusing (a 'check robots.txt' toggle becoming 'subdomain inclusion'), which keeps it from a 5.

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?

States a specific verb and resource: 'Execute Hakrawler for web endpoint discovery', plus a qualifier about enhanced logging. An agent immediately knows this is a crawler/endpoint-enumeration tool. However, no sibling differentiation is offered, even though 'katana_crawl' in the sibling list is an equally plausible crawler and the description never says how they differ.

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?

There is no when-to-use or when-not-to-use guidance anywhere in the description. Nothing tells the agent when to prefer this over katana_crawl or the recon workflows, nor whether it's appropriate against an in-scope target only. Usage must be inferred entirely from the tool name.

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