Skip to main content
Glama
bsahane

kali-mcp-server

by bsahane

dir_bruteforce

Discover hidden directories and files on a web app by brute-forcing content paths with a wordlist.

Instructions

Brute-force web content paths/directories (gobuster dir mode).

TOOL_NAME=dir_bruteforce DISPLAY_NAME=Directory/Content Brute-Force USECASE=Discover hidden directories and files on an in-scope web app using a wordlist INSTRUCTIONS=1. Ensure host is in scope, 2. Provide the base URL, 3. Optionally set wordlist/extensions, 4. Call INPUT_DESCRIPTION=target (base URL, e.g. http://host); wordlist (path, default common.txt); extensions (e.g. "php,txt,html") OUTPUT_DESCRIPTION=Dict with status, discovered paths in output, command and mode EXAMPLES=dir_bruteforce("http://10.0.0.5", extensions="php,html") PREREQUISITES=Host authorized and in scope; wordlist available (mount into /wordlists for the container) RELATED_TOOLS=vhost_enum, nikto_scan

Args: target: Base URL to enumerate (must be in scope). wordlist: Path to a wordlist (defaults to a common list). extensions: Comma-separated file extensions to append.

Returns: Structured result dict.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYes
wordlistNo
extensionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses the tool's underlying mode (gobuster dir), output structure (dict with status, discovered paths, command, mode), and operational prerequisites (wordlist mounted into /wordlists, host authorized). It does not mention potential aggressive network behavior or rate limits, but the core behavior is clear.

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 well-structured with sections (USECASE, INSTRUCTIONS, INPUT_DESCRIPTION, etc.) and front-loaded with a clear summary. There is slight redundancy between sections (e.g., INPUT_DESCRIPTION vs Args), but each section adds value like examples and prerequisites.

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?

Given the tool's complexity (brute-forcing with wordlists and extensions), the description covers prerequisites, input parameters, output structure, an example invocation, and related tools. The presence of an output schema also reduces the need to explain return values, but the description already does.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully explains each parameter: target (base URL, must be in scope), wordlist (path, default common.txt), extensions (comma-separated). This adds significant meaning beyond the bare type information in the input schema.

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

Purpose5/5

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

The description clearly states a specific action: 'Brute-force web content paths/directories (gobuster dir mode)' and its use case 'Discover hidden directories and files on an in-scope web app using a wordlist.' This distinguishes it from sibling tools like vhost_enum or nikto_scan.

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 description provides clear usage context: 'Ensure host is in scope, Provide the base URL, Optionally set wordlist/extensions, Call.' It also lists prerequisites and related tools. However, it does not explicitly compare when to use this tool versus alternatives beyond naming them.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bsahane/kali-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server