Skip to main content
Glama
luiacuaniello

PerspectiveGraph

explain_attack_path

Read-onlyIdempotent

Get the full kill chain for an attack route: each hop, relationship type, probability, and MITRE technique, with provenance showing which evidence is observed and which is estimated.

Instructions

Give the full kill chain for one route: every hop, the relationship type, that hop's probability, where the probability came from (kev/epss/runtime are observed evidence; cvss/severity/heuristic are estimates), and the MITRE ATT&CK technique. Use this before explaining or acting on a route - the hop provenance is what tells you which parts of the story are evidence and which are assumption.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
path_idYesThe id from list_attack_paths.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context: it reveals that the tool distinguishes observed evidence (kev/epss/runtime) from estimates (cvss/severity/heuristic), which is a key behavioral trait an agent needs to interpret results correctly. It doesn't describe output format, but with no output schema and read-only semantics, the provenance explanation is the most important behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the core purpose and the full list of what's included, followed by a usage directive. Every sentence earns its place; no filler or repetition of schema details.

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?

For a read-only, single-parameter tool, the description is nearly complete. It explains what the tool returns, why to use it, and how to interpret the provenance field. The only minor gap is that it doesn't explicitly state the output format or whether the response includes remediation steps, but the description's focus on the kill chain and provenance is sufficient for an agent to select and invoke it correctly.

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 coverage is 100% and the single parameter path_id is described as 'The id from list_attack_paths.' The description doesn't add much beyond that, but the parameter is simple and self-explanatory. Baseline 3 is appropriate since the schema fully documents the parameter.

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

Purpose5/5

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

The description states a specific verb ('explain') and resource ('attack path'), and enumerates exactly what the full kill chain includes: every hop, relationship type, probability, provenance, and MITRE technique. It clearly distinguishes itself from sibling tools like list_attack_paths by focusing on a single route's detailed breakdown.

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

Usage Guidelines5/5

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

The description explicitly says 'Use this before explaining or acting on a route' and explains why: the hop provenance tells you which parts are evidence and which are assumption. This gives clear when-to-use guidance and implicitly contrasts with list_attack_paths (which lists paths) and routes_to_target (which finds routes).

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