Skip to main content
Glama

nuclei_execute

Destructive

Launches an approved exact vulnerability scan and polls job status until completion or failure, requiring a plan ID and approval token.

Instructions

Start an approved exact scan. install_if_missing=true requires separate user consent for official component downloads.

Poll fofa_job_status until completed or failed. Keep the MCP server running.

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": {
      "plan_id": "<plan_id>",
      "approval_token": "<approval_token>"
    },
    "name": "nuclei_execute"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYes
approval_tokenYes
install_if_missingNo

Output Schema

NameRequiredDescriptionDefault
dataNo
summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.2
    • addedInput schema / properties / install_if_missing
      Added value: +{
      +  "default": false,
      +  "title": "Install If Missing",
      +  "type": "boolean"
      +}
  2. First observedv2.0.1

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already flag destructive, openWorld and non-idempotent, so the safety profile is covered structurally. The description adds genuinely new context beyond that: install_if_missing=true triggers official component downloads requiring separate user consent, the operation is asynchronous and must be polled, and the MCP server must stay alive. It still does not say what the scan mutates or how broad the network footprint is, which keeps it below a 5.

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?

Three short sentences, front-loaded with the action and followed by the operational constraints. No filler, though the sentence fragments ("Poll fofa_job_status until completed or failed. Keep the MCP server running.") read as terse notes rather than a cohesive instruction block.

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 not be described, and the async polling model plus server-lifetime requirement are adequately conveyed. What is missing is the prerequisite chain (approved plan → token) and the scan's target/scope semantics, which matter for a destructive, open-world execution tool.

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?

Schema description coverage is 0%, so the description carries the full burden for three parameters. It explains only install_if_missing (consent gate for downloads) and passes over plan_id and approval_token entirely, leaving the agent to guess where those values come from and what format they take.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Start an approved exact scan" gives a verb (start) and a resource (scan), and the word "approved" hints that it consumes a prior plan and approval token. However, "exact scan" is opaque — the description never says what is scanned (Nuclei templates against selected targets) or that this is the execution stage of the plan workflow, so the agent must infer the tool's role 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?

The description sketches a workflow: start the scan, then poll fofa_job_status until completed or failed, and keep the server running. That tells the agent what to do after invoking, but there is no explicit statement of prerequisites (a plan from nuclei_plan and a valid approval token) or when to prefer this over nuclei_plan / nuclei_select_targets.

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