Skip to main content
Glama

graph_path

Read-onlyIdempotent

Trace the ordered ownership and control hops linking two entities via a bounded breadth-first search; results are capped, so a no-path answer is not proof of no connection.

Instructions

Find how two entities are connected: a bounded breadth-first search over ownership and control edges in both directions, returning the ordered hops from one to the other. WARNING, AND IT CHANGES HOW YOU MUST REPORT THE RESULT: this search is BOUNDED, NOT EXHAUSTIVE. At most 15 edges are followed per entity, per direction, per hop, so a genuine connection running through a heavily-connected intermediary can be missed. found: false means NO PATH WAS FOUND WITHIN THOSE BOUNDS — it is NOT evidence that the two entities are unconnected, and must never be reported as a clean result. The response always carries exhaustive: false, a structured verdict (e.g. 'connected_within_bounds') and a bounds_note restating this. AND THE DEPTH YOU GET IS NOT THE DEPTH YOU ASK FOR: the response echoes its own max_depth plus depth_capped, and those are the authority. Measured 2026-08-11 anonymously — max_depth=3 and max_depth=4 both came back as max_depth: 2, depth_capped: true, plan: 'free'. So a free-tier found: false is a two-hop negative however many hops you requested; say two hops, not four.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "graph_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesEnd entity uuid.
fromYesStart entity uuid.
max_depthNoMax hops to request (default 3). Reduced by the plan — anonymous callers measured at 2 — so read the response's `max_depth` and `depth_capped`. Depth 4 is measurably slower on densely connected entities; request it deliberately.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.11

TDQS

A4.4/5.0
Behavior5/5

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

Annotations cover safety (readOnly, idempotent, non-destructive), and the description goes far beyond them: it discloses the fan-out bound of 15 edges per entity/direction/hop, the exact response fields signalling non-exhaustiveness (exhaustive, verdict, bounds_note), and the plan-driven depth cap with measured evidence. This is precisely the behavioural context an agent needs to avoid over-claiming a negative result.

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 purpose is front-loaded and nearly every sentence carries operational information, but the bounds warning is restated three times (found:false caveat, bounds_note reference, 'say two hops, not four') and the all-caps emphasis adds noise rather than structure.

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

Completeness5/5

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

There is no output schema, and the description compensates fully by enumerating the returned fields (found, exhaustive, verdict, bounds_note, echoed max_depth, depth_capped, plan) and their interpretation. Nothing an agent needs to call this correctly or report it honestly is missing.

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%, so baseline is 3. The description's parameter content largely restates the max_depth schema text (plan reduction, depth_capped, depth 4 being slower); the only genuinely new element is the measured 2026-08-11 observation and the reporting implication, which is marginal over the schema.

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: breadth-first search over ownership and control edges in both directions, returning ordered hops between two entities. The scope and directionality are explicit, so an agent can distinguish this from a neighbourhood or ownership-trace tool without opening the schema.

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

Usage Guidelines4/5

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

Gives clear conditions for interpreting results and a strong warning about when this tool's answer is not authoritative, plus the 'request depth 4 deliberately' cost guidance. It does not explicitly name a sibling alternative or state when a different tool should be preferred over this one.

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