Skip to main content
Glama

henosis

traverse

Read-only

Bounded, directed, cycle-safe trace over one kind: network relationship — every node and edge reachable from entity_id within max_depth hops in ONE call (nodes carry their entity_type and depth; the origin is depth 0). Use this to follow a network instead of chaining get_relationships hop by hop. direction="outbound" goes downstream (well → … → plant); direction="inbound" goes upstream — e.g. from a pipeline back to the wells that feed it: traverse(pipeline_id, 'feeds', direction='inbound') then keep the nodes whose entity_type == 'Well'. Capped at max_depth=5. Reads the synced graph index (henosis sync).

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": {
      "entity_id": "<entity_id>",
      "relationship": "<relationship>"
    },
    "name": "traverse"
  }
}

Input Schema

NameRequiredDescriptionDefault
directionNooutbound
entity_idYes
max_depthNo
max_nodesNo
relationshipYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description reinforces safety by documenting cycle-safety, bounded traversal, and the depth cap. It also discloses the data source (the synced graph index, refreshed via `henosis sync`), warning implicitly about staleness. The one omission is what max_nodes=60 does when exceeded (truncation vs. error).

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?

Front-loaded with the core definition, then constraints, then a usage example — a sensible order. The two direction examples are useful rather than filler, though the pipeline example is slightly belabored for a five-parameter tool.

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?

With an output schema present, return values needn't be explained, and the description covers semantics, directionality, depth limits, and data source. The unresolved gap is result-size behavior (max_nodes), which matters for a traversal that can fan out widely.

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 carries the burden — and it explains entity_id (origin, depth 0), relationship (single network kind), direction (outbound downstream / inbound upstream with examples), and max_depth (capped at 5). However, the max_nodes parameter (default 60) is never mentioned, leaving one of five parameters undocumented anywhere.

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?

States a specific verb and resource: a bounded, directed, cycle-safe trace over one `kind: network` relationship returning every reachable node and edge in one call. It defines scope precisely (origin at depth 0, nodes carry entity_type and depth) and explicitly contrasts with the sibling get_relationships, so an agent can choose without reading either schema.

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?

Gives an explicit when-to-use rule (follow a network instead of chaining get_relationships hop by hop) and disambiguates the direction parameter with concrete downstream/upstream examples, including a worked pipeline→wells call. It also states a hard limit (max_depth=5) that constrains usage.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.