Skip to main content
Glama

nmap_parse_output

Parses nmap XML output to analyze previously saved scan results, enabling detailed review of host and service data.

Instructions

Parse nmap XML output from a previous scan or file. Useful for analyzing saved scan results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xmlContentYesRaw XML content from nmap -oX output
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It only states the action (parse) and the input source, but does not describe what the output looks like, how invalid XML is handled, or any side effects. This leaves a significant gap in understanding the tool's behavior.

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 exactly two sentences and every word earns its place. It states the core function first, then adds a usage note. No redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple tool with one parameter and no output schema. The description conveys the basic purpose and usage context, but because there are no annotations or output schema, it would benefit from specifying what the parsed output contains (e.g., hosts, ports, services). For its low complexity, the description is minimally adequate but not fully complete.

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?

The schema already provides a description for xmlContent with 100% coverage, so the baseline is 3. The tool description adds no extra parameter-level detail, but the schema sufficiently explains the parameter's meaning and format.

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 uses a specific verb "Parse" with a clear resource "nmap XML output", immediately distinguishing it from sibling scan tools. It also mentions the source (previous scan or file), making the tool's function unambiguous.

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 phrase "from a previous scan or file" and "Useful for analyzing saved scan results" clearly indicate when this tool should be used (when XML output already exists). It does not explicitly compare to alternatives, but the context is sufficient for a simple parser.

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/schwarztim/sec-nmap-mcp'

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