Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

discover_attack_chains

Discovers multi-stage attack chains for target software by correlating vulnerabilities, with configurable depth and zero-day inclusion, to reveal exploit paths and success probabilities.

Instructions

Discover multi-stage attack chains for target software with vulnerability correlation.

Args: target_software: Target software/system (e.g., "Apache HTTP Server", "Windows Server 2019") attack_depth: Maximum number of stages in attack chain (1-5) include_zero_days: Include potential zero-day vulnerabilities in analysis

Returns: Attack chains with vulnerability combinations, success probabilities, and exploit availability

Example: discover_attack_chains("Apache HTTP Server 2.4", 4, True)

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_software": "<target_software>"
    },
    "name": "discover_attack_chains"
  }
}

Input Schema

NameRequiredDescriptionDefault
attack_depthNo
target_softwareYes
include_zero_daysNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full load. It does disclose the nature of the output (vulnerability combinations, success probabilities, exploit availability) and clarifies that zero-days included are 'potential' rather than confirmed, which is genuinely useful framing. It says nothing about cost, runtime, determinism, or how speculative the probability estimates are for a tool that performs multi-stage correlation.

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?

The docstring layout (one-line purpose, Args, Returns, Example) is front-loaded and easy to scan, and each argument line earns its place. The Args block slightly restates parameter names already visible in the schema, which is mild redundancy but standard for this format.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the Returns section is a bonus rather than a necessity, and it is consistent with what the structured output would describe. Combined with the concrete parameter ranges and an example call, an agent has enough to invoke this correctly. The remaining shortfall is behavioral context around analysis cost and result trustworthiness for an unannotated tool.

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 gives concrete example values for target_software, states the 1-5 bound on attack_depth (a constraint the schema itself does not encode), and explains include_zero_days as pulling potential zero-days into the analysis. The one gap is what happens when attack_depth exceeds 5 or what the default depth of 3 means in practice.

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 opens with a specific verb+resource: 'Discover multi-stage attack chains for target software with vulnerability correlation'. That is far more informative than the bare name. It stops short of distinguishing itself from close siblings such as create_attack_chain_ai, so an agent must still infer whether this generates or analyzes chains.

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 only implied: the tool is framed as an analysis step over a named software target, and the example invocation shows a realistic call. There is no explicit statement of when to prefer this over the sibling chain-creation or attack-suite tools, and no prerequisites or exclusions are given.

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

Deploy Server

Other Tools