Skip to main content
Glama

Roam Research MCP Server

by mickm3n
1
  • Apple

write_to_page

Add hierarchical markdown content to a specific Roam Research page, creating nested bullet points with automatic indentation and maintaining parent-child block relationships. The content is appended to the end of the page.

Instructions

Write hierarchical markdown content to a specific page in Roam Research.

Creates a new block structure on the specified page with automatic indentation
detection. Supports nested bullet points and maintains proper parent-child
relationships between blocks. Content is appended to the end of the page.

Args:
    page_name: Exact name of the target page (case-sensitive, must exist)
    content: Hierarchical markdown content using '- ' prefix and indentation
            Format: "- Main topic
- Subtopic
    - Details"
            Supports any indentation level with automatic detection
            
Returns:
    JSON string containing:
    - result: "success" if completed
    - blocks_created: Total number of blocks created (including children)
    - details: Array of individual block creation results
    
Examples:
    write_to_page("Project Notes", "- New milestone
- Task 1
- Task 2")
    write_to_page("信用卡", "- [[銀行/國泰]]
- 現金回饋 2%")

Input Schema

NameRequiredDescriptionDefault
contentYes
page_nameYes

Input Schema (JSON Schema)

{ "properties": { "content": { "title": "Content", "type": "string" }, "page_name": { "title": "Page Name", "type": "string" } }, "required": [ "page_name", "content" ], "title": "write_to_pageArguments", "type": "object" }

Other Tools from Roam Research MCP Server

Related Tools

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

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