Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

nmap_scan

Scans a target host for open ports and service versions with real-time logging. Use it to map exposed services during penetration testing or network reconnaissance.

Instructions

Execute an enhanced Nmap scan against a target with real-time logging.

Args: target: The IP address or hostname to scan scan_type: Scan type (e.g., -sV for version detection, -sC for scripts) ports: Comma-separated list of ports or port ranges additional_args: Additional Nmap arguments

Returns: Scan results with enhanced telemetry

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": "nmap_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
portsNo
targetYes
scan_typeNo-sV
additional_argsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

B3/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 disclosure burden. It mentions 'real-time logging' and 'enhanced telemetry', but never states that this generates active network traffic against a target, whether authorization is required, how long a scan may run, whether it can disrupt services, or that additional_args is an unvalidated passthrough.

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 action sentence followed by compact Args and Returns sections; every line is informative. Some filler remains in the adjectives 'enhanced' and 'enhanced telemetry', which add no operational meaning.

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?

An output schema exists, so the Returns section is fine to be thin. But for a network-scanning tool with zero annotations and no sibling differentiation, the description omits the things an agent most needs: authorization/safety expectations, relative cost versus the other scan tools, and how additional_args interacts with scan_type and ports.

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?

With 0% schema description coverage, the description fully compensates: it explains target, gives concrete examples for scan_type (-sV, -sC), and specifies that ports is a comma-separated list or ranges. Only minor gaps remain — the scan_type default of -sV and the unrestricted nature of additional_args are not called out.

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 an enhanced Nmap scan against a target'. The 'enhanced' qualifier and the 'real-time logging' detail hint at a differentiator, but the description never distinguishes this from the sibling nmap_advanced_scan, so the agent cannot tell which Nmap variant to pick from the text alone.

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. Nothing says how this differs from nmap_advanced_scan, rustscan_fast_scan, or intelligent_smart_scan, nor whether prerequisites (network reachability, authorization) or intensity/duration tradeoffs should drive selection.

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