Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

netexec_scan

Execute NetExec protocol scans to enumerate network services and authenticate with credentials or hashes across SMB, SSH, and WinRM targets during penetration testing.

Instructions

Execute NetExec (formerly CrackMapExec) for network enumeration with enhanced logging.

Args: target: The target IP or network protocol: Protocol to use (smb, ssh, winrm, etc.) username: Username for authentication password: Password for authentication hash_value: Hash for pass-the-hash attacks module: NetExec module to execute additional_args: Additional NetExec arguments

Returns: Network enumeration 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": {
      "target": "<target>"
    },
    "name": "netexec_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
moduleNo
targetYes
passwordNo
protocolNosmb
usernameNo
hash_valueNo
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 supplied, the description carries the full disclosure burden and largely drops it. It hints at authenticated operation via username/password/hash_value and pass-the-hash, but never states permission requirements, whether the scan is intrusive or noisy, whether it modifies target state, or what 'enhanced logging' actually means. 'Returns: Network enumeration results' is a restatement, not behavioral context.

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 purpose sentence is front-loaded and efficient, but the Args/Returns block is auto-generated docstring boilerplate that largely mirrors the schema. The 'Returns' line adds nothing, since an output schema already exists. Half the text earns its place; the rest is structural filler.

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?

This is a complex, credential-dependent offensive tool with seven parameters and zero annotations, and the description leaves the operationally important parts unstated: authentication prerequisites per protocol, module selection, and safety/impact profile. The presence of an output schema excuses it from explaining return values, but that does not offset the missing invocation and prerequisite context.

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 must carry all parameter meaning, and it does gloss every one of the seven params in the Args block. The glosses are shallow, though: 'module: NetExec module to execute' gives no module names or discovery path, hash_value lacks a format, and additional_args gives no syntax or examples. It covers the surface but not enough to invoke correctly on the non-obvious parameters.

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 opening sentence gives a specific verb and resource — 'Execute NetExec (formerly CrackMapExec) for network enumeration' — and the alias clarifies which real-world tool is wrapped, which helps disambiguate it from wrapper siblings. It does not, however, contrast itself with adjacent SMB/host enumeration tools, so an agent still has to infer why it would pick this over the alternatives.

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 guidance at all: nothing says which protocols need credentials, when to use hash_value versus password, or when this is preferable to another enumeration tool. The only implied usage cue is the word 'enumeration' in the first sentence. An agent gets no exclusion rules or preconditions for a tool that can require authentication.

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