Skip to main content
Glama

roam_fetch_page_full_view

Fetch a complete page view with its own content and all backlinks grouped by source, including ancestor breadcrumb context and children expanded to a specified depth.

Instructions

Fetch a complete page view that mirrors what Roam Research shows in its UI: the page's own content, plus all linked references (backlinks) grouped by source page, each with their ancestor breadcrumb context and children expanded to the specified depth. Use this when you need the full picture of a page — both what is written on it and everything else in the graph that references it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesTitle of the page to fetch. For date pages use ordinal format e.g. "January 2nd, 2025".
children_depthNoHow many levels deep to expand children of each referring block. Defaults to 4.
max_referencesNoMaximum number of linked references to return. Prevents timeouts on heavily-referenced pages (e.g. TODO, common tags). Defaults to 200.
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.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It describes the output (page content, linked references with breadcrumbs and children expanded) and mentions parameters like max_references to prevent timeouts. It does not explicitly state that it is a read-only operation, but the nature of 'fetch' implies no side effects. The write_key parameter is included but described as for write operations, which may cause confusion for a fetch tool.

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?

The description is two sentences, front-loaded with the tool's purpose and key features. Every sentence adds value: the first defines what it does, the second states when to use it. No unnecessary words or repetition.

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?

Given no annotations and no output schema, the description covers the main aspects: what is returned (page content, linked references with breadcrumb context and children), and key parameter roles (max_references for timeouts, children_depth for expansion). It does not detail output structure or error handling, but for a fetch tool with schema descriptions, it is sufficiently complete.

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 coverage is 100%, so baseline is 3. The description adds extra guidance: for the 'title' parameter, it specifies date page format ('January 2nd, 2025'), and for 'max_references' it explains it prevents timeouts on heavily-referenced pages. This additional context improves parameter understanding beyond 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?

The description clearly states the tool fetches a complete page view mirroring Roam's UI, including page content and all linked references with breadcrumb context. This distinguishes it from simpler tools like roam_fetch_page_by_title (a sibling) that likely only fetch page content.

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?

The description explicitly says 'Use this when you need the full picture of a page' and describes both page content and backlinks. It does not explicitly mention when not to use or directly name alternatives, but the context is clear. For a more explicit guideline, it could have suggested roam_fetch_page_by_title for simpler cases.

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

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