Skip to main content
Glama
Falcon MCP AI PT

Falcon MCP AI PT

by Abdulmnom

run_masscan

Scan target IPs and port ranges with Masscan, returning JSON or XML output for penetration testing and security assessments.

Instructions

šŸš€ Run Masscan high-speed port scanner (auto-routed to tmux).

ports: Port range (e.g., "1-1000", "80,443,8080") rate: Packets per second (default: 10000) output_format: "json" or "xml"

Example: run_masscan(target="10.10.10.0/24", ports="80,443,8080,8443")

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

Input Schema

NameRequiredDescriptionDefault
rateNo
portsNo1-65535
targetYes
output_formatNojson

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden. It does add one genuinely useful trait — that execution is routed through tmux — but it omits whether root/privileged access is required, whether results stream or must be polled from the tmux session, expected runtime for large ranges, and any caution about scanning rate against production hosts.

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 with the purpose, then a compact parameter block and a single concrete example; every line earns its place. The rocket emoji is decorative noise but does not impair comprehension.

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?

An output schema exists so return values need no explanation, and all four parameters are covered. What is missing for a privileged network-scanning tool is operational context: permission/root requirements, how to retrieve results from the tmux session, and rough duration expectations.

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 description coverage is 0%, so the description must compensate, and it largely does: it documents the port range syntax with concrete examples, states the rate default of 10000 packets/sec, and constrains output_format to 'json' or 'xml' — an enum-like restriction the free-string schema does not express. Only 'target' is left undocumented, and its meaning is self-evident.

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 — 'Run Masscan high-speed port scanner' — plus a distinguishing behavioral note that it is auto-routed to tmux. An agent can tell this is a port scanner, though nothing here separates it from the sibling run_nmap beyond the word 'high-speed'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the scanner's nature and an example invocation is given, but there is no explicit statement of when to choose this over run_nmap or the broader recon tools, and no prerequisites or exclusions. The agent must infer the selection criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.