Skip to main content
Glama

find_reachable

Read-only

Find nodes reachable from a source node to analyze impact and discover dependencies. Specify target kinds and traversal depth.

Instructions

Find nodes of the given kinds reachable from a source node (impact analysis).

Use this to answer "what depends on / is connected to this object?" — for blast-radius and dependency discovery. Requires Infrahub 1.10+.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchNoBranch to query. Defaults to the default branch.
sourceYesSource node: a UUID or kind-qualified HFID.
max_depthNoMaximum traversal depth (1-30).
max_resultsNoMaximum distinct reachable nodes to return (1-200).
target_kindsYesNode kinds to search for, reachable from the source.
shortest_paths_onlyNoReturn only the shortest path to each target.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true, so description does not need to restate safety. It adds version requirement (Infrahub 1.10+), but no further behavioral disclosure (e.g., performance, rate limits). Score 3 is appropriate given annotations.

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?

Two sentences, front-loaded with purpose, then usage guidance. No wasted words or redundant information.

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?

Description covers core purpose and usage context. With output schema existing and annotations present, it provides sufficient guidance. Lacks mention of branch or depth parameters, but these are detailed in schema.

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 description coverage is 100%, so baseline is 3. Description does not add additional parameter meaning beyond schema; it only summarizes purpose.

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 clearly states the tool finds reachable nodes of given kinds from a source node for impact analysis. It uses specific verbs and resource, and distinguishes from siblings like find_paths by focusing on reachability rather than paths.

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?

Provides explicit use case ('what depends on / is connected to this object?') and context (blast-radius, dependency discovery). Does not name alternative tools explicitly but implies when to use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/opsmill/infrahub-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server