Skip to main content
Glama

get_neighbors

Traverse knowledge graphs from seed nodes to discover related concepts and relationships for depth-first exploration and structured insight generation.

Instructions

Traverse the graph from seed nodes to find related concepts and relationships. Useful for depth-first discovery.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
graphIdYesThe graph ID
seed_node_idsYesArray of node IDs to start traversal from
userIdYesUnique identifier for the user (Required)
relationship_typesNoFilter by relationship types
depthNoTraversal depth (default 1, max 2)
limitNoMaximum results (default 50)

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/piers-fawkes/fodda'

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