Skip to main content
Glama

roam_search_hierarchy

Find parent or child blocks in Roam Research's hierarchy by searching up or down from a specific block to navigate connections.

Instructions

Search for parent or child blocks in the block hierarchy. Can search up or down the hierarchy from a given block.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parent_uidNoOptional: UID of the block to find children of
child_uidNoOptional: UID of the block to find parents of
page_title_uidNoOptional: Title or UID of the page to search in (UID is preferred for accuracy).
max_depthNoOptional: How many levels deep to search (default: 1)
graphNoTarget graph key from ROAM_GRAPHS config. Defaults to ROAM_DEFAULT_GRAPH. Only needed in multi-graph mode.
write_keyNoWrite confirmation key. Required for write operations on non-default graphs when write_key is configured.

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/2b3pro/roam-research-mcp'

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