Skip to main content
Glama

nuclei_plan

Creates an exact, expiring Nuclei scan plan and a one-time approval token for controlled vulnerability scanning, with scanning required to be enabled.

Instructions

Create an exact, expiring Nuclei plan and one-time approval token. Scanning must be enabled.

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": {
      "request": "<request>"
    },
    "name": "nuclei_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault
dataNo
summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv2.0.2
    • addedInput schema / $defs / ScanPlanRequest / properties / allow_oast
      Added value: +{
      +  "default": false,
      +  "title": "Allow Oast",
      +  "type": "boolean"
      +}
    • addedInput schema / $defs / ScanPlanRequest / properties / concurrency
      Added value: +{
      +  "default": 2,
      +  "maximum": 20,
      +  "minimum": 1,
      +  "title": "Concurrency",
      +  "type": "integer"
      +}
    • addedInput schema / $defs / ScanPlanRequest / properties / enable_code
      Added value: +{
      +  "default": false,
      +  "title": "Enable Code",
      +  "type": "boolean"
      +}
    • addedInput schema / $defs / ScanPlanRequest / properties / enable_file
      Added value: +{
      +  "default": false,
      +  "title": "Enable File",
      +  "type": "boolean"
      +}
    • addedInput schema / $defs / ScanPlanRequest / properties / enable_headless
      Added value: +{
      +  "default": false,
      +  "title": "Enable Headless",
      +  "type": "boolean"
      +}
    • addedInput schema / $defs / ScanPlanRequest / properties / max_duration
      Added value: +{
      +  "default": 300,
      +  "maximum": 3600,
      +  "minimum": 10,
      +  "title": "Max Duration",
      +  "type": "integer"
      +}
    • addedInput schema / $defs / ScanPlanRequest / properties / protocols
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 10,
      +  "title": "Protocols",
      +  "type": "array"
      +}
    • addedInput schema / $defs / ScanPlanRequest / properties / rate_limit
      Added value: +{
      +  "default": 5,
      +  "maximum": 100,
      +  "minimum": 1,
      +  "title": "Rate Limit",
      +  "type": "integer"
      +}
    • addedInput schema / $defs / ScanPlanRequest / properties / request_timeout
      Added value: +{
      +  "default": 10,
      +  "maximum": 60,
      +  "minimum": 1,
      +  "title": "Request Timeout",
      +  "type": "integer"
      +}
    • addedInput schema / $defs / ScanPlanRequest / properties / retries
      Added value: +{
      +  "default": 0,
      +  "maximum": 3,
      +  "minimum": 0,
      +  "title": "Retries",
      +  "type": "integer"
      +}
  2. First observedv2.0.1

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already establish non-read-only, non-idempotent, open-world behavior, so the description's credit is for adding that the plan expires and that the token is one-time — both material facts an agent cannot get from the annotations. It stops short of saying whether creating a plan also launches scanning or requires a separate execute call, which is the key remaining ambiguity.

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?

Two short sentences with the core action front-loaded and no filler. The trailing "Scanning must be enabled" is a terse fragment whose referent (a server config flag? a prerequisite role?) is unclear, and "exact" is never defined.

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?

For a complex 17-field mutation that emits an approval token, the description leaves the end-to-end workflow unexplained: what the token is used for, whether the plan runs the scan, and how it relates to nuclei_execute. An output schema exists so return values needn't be described, but the planning/approval contract an agent must follow is not conveyed.

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

Parameters2/5

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

The single `request` parameter expands to 17 nested fields (targets, templates, template_ids, all_templates, severities, rate_limit, ttl_seconds, enable_headless, etc.) with 0% schema description coverage. The description explains none of them — notably the mutually exclusive-sounding template selection flags or what ttl_seconds governs — so an agent must guess semantics from field names and bounds alone.

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?

"Create an exact, expiring Nuclei plan and one-time approval token" gives a specific verb (create) and a specific artifact (plan + approval token), which is clearly distinct from siblings like nuclei_execute or nuclei_select_targets. It never names the sibling it complements, so an agent must infer the plan-then-execute relationship from the name alone.

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?

"Scanning must be enabled" is a real precondition, which usefully implies the tool fails otherwise. However, there is no explicit when-to-use vs. nuclei_execute guidance, no statement of what to do with the returned approval token, and no exclusions for cases where a plan is unnecessary.

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