Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

dirsearch_scan

Discovers hidden directories and files on a target URL using wordlist-based scanning, with configurable extensions, threads, and recursion to map exposed web paths.

Instructions

Execute Dirsearch for advanced directory and file discovery with enhanced logging.

Args: url: The target URL extensions: File extensions to search for wordlist: Wordlist file to use threads: Number of threads to use recursive: Enable recursive scanning additional_args: Additional Dirsearch arguments

Returns: Advanced directory 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": "dirsearch_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
threadsNo
wordlistNo/usr/share/wordlists/dirsearch/common.txt
recursiveNo
extensionsNophp,html,js,txt,xml,json
additional_argsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

C2.8/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, yet it says nothing about the intrusive nature of the scan, request volume implied by threads, whether results are persisted or logged, or expected runtime. 'Enhanced logging' is mentioned but never explained, so it conveys little actionable behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is short and front-loads the purpose, but the Args/Returns docstring scaffolding adds overhead, and the Returns line is redundant given that an output schema exists.

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

Completeness2/5

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

The presence of an output schema excuses not explaining return values, but for a six-parameter scanning tool with no annotations and zero schema description coverage, the definition omits defaults, formats, and any behavioral or safety context an agent would need to invoke it responsibly.

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 all six parameters rely on the description, which lists each one — url, extensions, wordlist, threads, recursive, additional_args. However, the glosses largely restate the parameter names and omit the defaults that exist in the schema, the expected formats (comma-separated extensions, wordlist path), and what additional_args accepts, so the compensation is only partial.

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 states a specific verb and resource: executing Dirsearch for directory and file discovery, plus a mention of enhanced logging. That is clear enough for an agent to know what the tool does. It does not, however, distinguish this from the many sibling content-discovery scanners (dirb_scan, gobuster_scan, feroxbuster_scan, ffuf_scan), leaving differentiation to the agent.

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 guidance is given on when to use this versus the other directory-brute-forcing tools, nor on prerequisites such as target authorization or network reachability. Usage is only implied by the tool's name and the word 'Execute'.

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