Skip to main content
Glama

Attack paths

attack_paths
Read-only

Retrieve graph-derived relationship paths for a security engagement from the Neo4j mirror, and return an empty list when Neo4j is unavailable rather than fabricating results.

Instructions

Return graph-derived relationship paths from the Neo4j mirror.

When Neo4j is not configured this reports that SQL is authoritative and returns an empty path list rather than inventing graph results.

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": {
      "engagement_id": "<engagement_id>"
    },
    "name": "attack_paths"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
engagement_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description still earns credit by disclosing the important degraded behavior: when Neo4j is absent it reports SQL as authoritative and returns an empty list rather than fabricating results. That is exactly the kind of non-obvious runtime trait annotations cannot express.

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, front-loaded with the core action and followed by the failure-mode caveat. No filler or repetition. The hard line breaks inside sentences add nothing and slightly hurt readability.

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 shape need not be explained, and the fallback behavior is well covered. However, the parameters are entirely undocumented and there is no routing guidance against sibling retrieval tools, leaving the definition only minimally complete for a two-parameter query 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% for two parameters. The description never mentions engagement_id (the required scoping parameter) or limit (default 50), so it adds nothing about what engagement_id scopes or whether limit caps paths per call. This is a clear gap that the description should have compensated for.

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 gives a concrete verb and resource: 'Return graph-derived relationship paths from the Neo4j mirror.' An agent knows it is a graph-path retrieval against Neo4j-backed data. It does not distinguish the tool from likely neighbors such as graph_topology or relations_list, so it falls short of a 5.

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

Usage Guidelines2/5

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

The only conditional guidance is the degraded-mode case (Neo4j unconfigured). There is no statement of when an agent should choose attack_paths over graph_topology or relations_list, nor any prerequisite about the engagement scope. An agent must guess its place in the catalog.

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