Skip to main content
Glama

Graph topology

graph_topology
Read-only

Retrieves an engagement's graph topology projection, mapping connected entities and relationships from its engagement ID for scope and structure review.

Instructions

Return the graph topology projection for an engagement.

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": "graph_topology"
  }
}

Input Schema

NameRequiredDescriptionDefault
engagement_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/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 adds nothing beyond that: no indication of result size, whether the topology is engagement-scoped or cross-engagement, whether it requires the engagement to be in a particular state, or any performance characteristics for what could be a large graph.

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?

A single short sentence with no filler, front-loading the action and resource. It is efficient but so terse that brevity comes at the cost of informativeness rather than enabling it.

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?

An output schema exists, so return values need not be explained, but the description leaves the core ambiguity of "projection" unresolved and provides no usage context or parameter sourcing. For a tool whose output is presumably a complex graph structure, this is insufficient for confident invocation.

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 the single required parameter, so the description must compensate for the undocumented engagement_id. Saying "for an engagement" only weakly signals that an engagement identifier is needed and provides no format, source, or lookup guidance (e.g., from engagement_list or engagement_get).

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?

States a verb ("Return") and a resource ("graph topology projection") scoped to an engagement, so the basic operation is identifiable. However, "projection" is undefined — an agent cannot tell what the output contains (nodes, edges, clusters?) or how this differs from siblings such as relations_list or attack_paths, which likely surface related graph data.

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 description gives no when-to-use guidance, no prerequisites, and no mention of any alternative tool. An agent has no signal for choosing this over relations_list or attack_paths when it needs relationship or path data.

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