Skip to main content
Glama

kali_network_nmap_scan

Perform network port scanning to discover hosts, services, and potential vulnerabilities using Nmap capabilities including TCP/UDP scans, service detection, and OS fingerprinting.

Instructions

Perform network port scanning using Nmap.

Nmap (Network Mapper) is a powerful network scanner for discovering hosts, services, and potential vulnerabilities.

Capabilities:

  • TCP SYN, Connect, UDP, and stealth scans

  • Service version detection (-sV)

  • OS fingerprinting (-O, requires root)

  • NSE script execution

  • Multiple output formats

Usage Notes:

  • TCP SYN scan requires root privileges

  • Use appropriate timing for stealth vs speed

  • Large port ranges increase scan time significantly

Example:

  • Quick scan: target="192.168.1.1", ports="22,80,443"

  • Full scan: target="10.0.0.0/24", ports="-", timing="aggressive"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesTarget IP address, hostname, or CIDR range (e.g., '192.168.1.1', 'example.com', '10.0.0.0/24')
portsNoPort specification (e.g., '22', '1-1000', '22,80,443', '-' for all ports). Default: top 1000 ports
scan_typeNoNmap scan type (tcp_syn requires root)tcp_syn
timingNoTiming template: paranoid (T0) to insane (T5)normal
os_detectionNoEnable OS detection (-O, requires root)
service_versionNoProbe for service versions (-sV)
script_scanNoNSE script(s) to run (e.g., 'vuln', 'default', 'http-*')
aggressiveNoEnable aggressive scan (-A: OS, version, script, traceroute)
output_formatNoOutput formattext
timeoutNoScan timeout in seconds
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well by disclosing key behavioral traits: root requirements for certain scans, performance implications ('Large port ranges increase scan time significantly'), and practical constraints like timing trade-offs. It doesn't cover everything (e.g., network impact, error handling) but adds substantial value beyond basic functionality.

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

Conciseness5/5

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

The description is well-structured with clear sections (Capabilities, Usage Notes, Example), front-loaded with the core purpose, and every sentence adds value without redundancy. It's appropriately sized for a complex tool with 10 parameters, efficiently conveying essential information in a digestible format.

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?

Given the tool's complexity (10 parameters, no annotations, no output schema), the description is largely complete—it covers purpose, behavioral traits, and usage context. However, it lacks details on output format interpretation or error scenarios, which would be helpful since there's no output schema. Still, it provides sufficient guidance for effective use.

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 100%, so the schema already documents all 10 parameters thoroughly. The description adds minimal parameter semantics beyond the schema—it mentions 'ports' and 'timing' in examples but doesn't explain parameter interactions or provide additional context. Baseline 3 is appropriate as the schema does the heavy lifting.

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 the tool's purpose as 'Perform network port scanning using Nmap' with specific verbs ('scanning', 'discovering') and resources ('hosts', 'services', 'vulnerabilities'). It distinguishes from sibling tools like kali_network_masscan_scan by specifying Nmap's unique capabilities (e.g., OS fingerprinting, NSE scripts) that other scanning tools may not offer.

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 context for when to use this tool through 'Usage Notes' (e.g., 'TCP SYN scan requires root privileges', 'Use appropriate timing for stealth vs speed'), and examples illustrate different scenarios. However, it doesn't explicitly compare to alternatives like kali_network_nmap_discover or kali_network_masscan_scan, missing explicit when-not-to-use guidance.

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/azza39925/kali-mcp-server'

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