Skip to main content
Glama

scan-vulnerabilities

Run Nmap Scripting Engine (NSE) vulnerability scans against a target to discover known vulnerabilities, including CVE identifiers. Uses safe scripts by default.

Instructions

Scan for known vulnerabilities using Nmap Scripting Engine (NSE).

Runs NSE vulnerability detection scripts against the target. Uses safe script categories by default. Results include CVE identifiers when available.

IMPORTANT: Only scan targets you are authorized to scan. Vulnerability scanning may trigger security alerts on the target network.

Returns: VulnScanResult with discovered vulnerabilities and their details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesTarget to scan: IP address or hostname.
portsNoPort specification. If omitted, scans nmap default ports.
scriptsNoNSE script specification. Examples: "vuln", "auth", "default,safe", "http-vuln-*". Only categories from {auth, default, discovery, safe, version, vuln} are allowed. If omitted, uses "vuln" category.
timingNoTiming template. Default: "normal".normal
timeoutNoMaximum scan duration in seconds. Default: 600.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesThe nmap command that was executed (sanitized)
vulnerabilitiesNoDiscovered vulnerabilities
hosts_scannedNoNumber of hosts scanned
raw_outputNoRaw nmap output text
warningsNoScan warnings
Behavior4/5

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

No annotations are provided, so the description carries full disclosure burden. It explains the use of safe script categories by default, inclusion of CVE identifiers, and the return type VulnScanResult. It also warns about triggering security alerts.

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 extremely concise and well-structured with a brief overview, important note, and return type section. Every sentence adds necessary information without redundancy.

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 complexity of 5 parameters and the existence of an output schema, the description adequately covers the tool's purpose, usage, and behavioral traits. It differentiates from siblings through specific vulnerability scanning focus.

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?

Schema coverage is 100%, so baseline is 3. The description adds value by clarifying allowed script categories and default behaviors for ports, scripts, timing, and timeout, which is not fully captured in the parameter descriptions alone.

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 verb 'scan' and the specific resource 'known vulnerabilities using Nmap Scripting Engine (NSE)'. It distinguishes from sibling tools like detect-os, detect-services, and scan-ports, which have different purposes.

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 includes an important usage warning about authorization and potential security alerts. It implies usage for vulnerability scanning but does not explicitly compare to alternatives like quick-scan or scan-ports.

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/Vorota-ai/nmap-mcp'

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