Skip to main content
Glama

nmap_udp_scan

Scan UDP ports to discover services like DNS, DHCP, and SNMP. Identify open UDP ports on a target system using Nmap's -sU scan.

Instructions

UDP 端口扫描(-sU),探测 UDP 服务

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYes
portsNo53,67,68,123,137,161,162,500,514,520,1900,5353
sudoNo
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions using the -sU flag and probing UDP services, but lacks details on required permissions (though sudo parameter hints at root), timeouts, impact (non-destructive), or output. For a security scanning tool, more transparency is expected.

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 description is extremely short (single sentence), which is concise but overly vague. It could be expanded with key parameter details while remaining succinct. It is front-loaded with the purpose, but the lack of structure harms clarity.

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?

Given the tool has four parameters, no annotations, and an output schema (though not shown), the description is insufficient. It does not explain what the output might be, how to interpret results, or the significance of the sudo and timeout parameters. The brevity leaves significant gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description should explain parameters. It does not mention any of the four parameters (target, ports, sudo, timeout) beyond what is in the schema. This is a critical gap, leaving the agent without guidance on port formats or default behavior.

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 description clearly states that the tool performs UDP port scanning (-sU) and probes UDP services. It is specific about the resource (UDP ports) and the action (scan). However, it does not explicitly distinguish from sibling tools like nmap_service_scan, which might also involve UDP, but the focus on UDP ports is clear.

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?

No guidance on when to use this tool versus alternatives (e.g., nmap_service_scan or nmap_comprehensive). No prerequisites, exclusions, or contextual hints are provided. The agent is left to infer usage solely from the tool name and brief description.

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/fb0sh/mcptools'

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