Skip to main content
Glama

Run Nuclei

run_nuclei

Scans URLs, hosts, or target lists for vulnerabilities using template-based checks, with filters for tags, severity, and scan modes.

Instructions

Nuclei is a powerful, template-based vulnerability scanner used for reconnaissance and security testing. Tags: vulnerability-scanner, security, pentest, automation, network, web, reconnaissance

Usage Guide:

  • Basic Scanning: Use target for a single URL or targets_file for a list of hosts.

  • Automation: Enable auto_scan to automatically detect technologies and run relevant templates.

  • Filtering: Use tags (e.g., 'cve,exposure') or severity (e.g., 'critical,high') to limit scan scope.

  • Advanced Modes: Enable headless for JavaScript-heavy apps, dast for fuzzing, or passive for non-intrusive analysis.

  • Performance: Control speed with rate (requests per second) and concurrency (parallel templates).

  • OSINT: Use uncover with uncover_query and uncover_engine to scan targets from Shodan/Censys.

  • Maintenance: Set update_templates to True to update the nuclei engine and templates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_nuclei"
  }
}

Input Schema

NameRequiredDescriptionDefault
dastNoEnable dynamic application security testing/fuzzing templates.
rateNoMaximum requests per second (default 50).
tagsNoComma-separated list of tags to filter templates (e.g., cve,config).
headerNoCustom HTTP header/cookie (e.g., 'Cookie: session=123').
silentNoShow only findings in the output.
targetNoSingle target URL or host to scan (e.g., http://example.com).
passiveNoEnable passive inspection of HTTP responses.
uncoverNoEnable OSINT search engine integration.
headlessNoEnable templates requiring a headless browser.
severityNoComma-separated list of severities (critical, high, medium, low, info).
auto_scanNoAutomatic technology detection and template mapping.
proxy_urlNoRoute traffic through a proxy (e.g., http://127.0.0.1:8080).
concurrencyNoNumber of templates to run in parallel (default 25).
json_outputNoFile path to save results in JSON format.
targets_fileNoPath to a file containing a list of targets.
new_templatesNoOnly run templates added in the latest release.
template_pathNoPath to specific template or template directory.
uncover_queryNoSearch query for uncover engine (e.g., 'app:apache').app:'Apache'
uncover_engineNoSearch engine for uncover (shodan, censys, fofa).shodan
markdown_outputNoDirectory path to save results in Markdown format.
update_templatesNoUpdate nuclei engine and community templates.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the whole behavioral burden. It implies active/intrusive scanning by contrasting 'passive' as non-intrusive and exposes rate/concurrency controls, but never states that these are live offensive requests against a target, what authorization is assumed, or roughly how long a scan takes. Return values are covered by the output schema, so no penalty there.

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 bulleted usage guide is well organized and front-loaded on the core target/targets_file choice. The opening line describes Nuclei as a product rather than stating what the tool does, and the 'Tags: vulnerability-scanner, security, pentest...' line is metadata noise that adds nothing for an agent.

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?

For a 21-parameter scanner with zero annotations, the description covers the major modes but omits a key operational fact: no parameter is formally required, so the agent is never told that at least one of target or targets_file must be supplied. It also gives no indication of scan duration or output volume expectations, which matter for an agent deciding how to invoke it.

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 explains all 21 parameters with examples. The description adds grouping and usage context (tags combined with severity to limit scope, uncover together with uncover_query/uncover_engine) but mostly restates what the schema says with the same example values.

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 the verb and resource clearly enough: it executes a Nuclei template-based vulnerability scan against a target, and the usage guide makes the scan scope concrete. It does not differentiate from sibling scanners (run_nikto_scan, run_ffuf, run_masscan), so an agent must know externally why to choose Nuclei over those.

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 'Usage Guide' block gives explicit conditions for each mode: target vs targets_file, auto_scan for tech detection, tags/severity for narrowing, headless/dast/passive for special modes, uncover for OSINT, update_templates for maintenance. No when-not-to-use guidance and no reference to sibling tools as alternatives.

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