MCP tool reference
Every tool the Alara Space MCP server offers, with its inputs and what it needs.
25 tools: 11 that only read and 14 that change content. Read-only tokens see only the read tools. Page content goes in and comes out as Markdown. Ids are the ones the tools return (or the last part of a page's address in the browser).
Read tools
whoami
Any tokenThe user and workspace this connection acts as, and whether it can write.
No inputs.
list_spaces
Any tokenEvery active space in the workspace, with its id, name, icon and description. Archived spaces are left out.
No inputs.
get_space
Any tokenOne space, with how many live and trashed pages it holds, and whether it is archived (read-only).
| Input | Type | Description |
|---|---|---|
spaceId | id | The space id |
get_page_tree
Any tokenThe page hierarchy of a space as { tree, truncated }: nested nodes (id, title, type: page | folder | whiteboard, childCount, children). At most 2,000 nodes, nearest levels first; when truncated is true, call it again with parentId (a folder) and depth to see further down. Use it to find pages and parents.
| Input | Type | Description |
|---|---|---|
spaceId | id | The space id |
parentIdoptional | id | Only what is inside this page or folder (default: the whole space) |
depthoptional | integer 1 to 50 | At most this many levels down (default: all, up to the node limit) |
get_page
Any tokenA page with its content as Markdown. Whiteboards return their written text and element count; folders return their children.
| Input | Type | Description |
|---|---|---|
pageId | id | The page id |
search_pages
Any tokenFull-text search across page titles and content in the workspace, best matches first. Archived spaces are searched only when spaceId names one.
| Input | Type | Description |
|---|---|---|
query | string | What to look for (supports "quoted phrases", OR, -exclude) |
spaceIdoptional | id | Only search this space |
limitoptional | integer 1 to 50 | At most this many results (default 20) |
list_recent_pages
Any tokenThe most recently edited pages in the workspace (or one space), newest first.
| Input | Type | Description |
|---|---|---|
spaceIdoptional | id | Only this space |
limitoptional | integer 1 to 50 | At most this many (default 20) |
list_comments
Any tokenThe comment threads on a page, oldest first, each with its replies.
| Input | Type | Description |
|---|---|---|
pageId | id | The page id |
list_versions
Any tokenThe 50 most recent saved versions of a page, newest first (number, title, author, reason, date).
| Input | Type | Description |
|---|---|---|
pageId | id | The page id |
list_attachments
Any tokenFiles attached to a page (id, name, type, size).
| Input | Type | Description |
|---|---|---|
pageId | id | The page id |
read_attachment
Any tokenThe text of an attached text, Markdown, CSV, JSON or code file (up to 200 KB; longer files are truncated with a notice). Binary files (PDF, Word, images…) return their details only.
| Input | Type | Description |
|---|---|---|
attachmentId | id | The attachment id |
Write tools
create_space
Read & write tokenCreate a new space in the workspace.
| Input | Type | Description |
|---|---|---|
name | string | Space name |
descriptionoptional | string | What the space is for |
iconoptional | string | An emoji |
update_space
Read & write tokenChange a space's name, description or icon.
| Input | Type | Description |
|---|---|---|
spaceId | id | The space id |
nameoptional | string | |
descriptionoptional | string | |
iconoptional | string |
create_page
Read & write tokenCreate a document page from Markdown, at the top of a space or under a parent page or folder.
| Input | Type | Description |
|---|---|---|
spaceId | id | The space id |
title | string | Page title |
markdownoptional | string | Page body in Markdown (GitHub-flavoured): headings, **bold**, *italic*, ~~strike~~, `code`, links, bullet/numbered/task lists, code blocks, quotes, tables. Raw HTML is kept as text. |
parentIdoptional | id | Put the page under this page or folder |
create_folder
Read & write tokenCreate a folder (a container for pages) in a space.
| Input | Type | Description |
|---|---|---|
spaceId | id | The space id |
title | string | Folder name |
parentIdoptional | id | Put the folder under this folder or page |
update_page
Read & write tokenChanges or removes contentReplace the body of a document page with Markdown, or append Markdown to the end. A version of the old content is saved first when replacing, so it can be restored. On a page that needs its owner's approval, the change is sent to them as a suggestion instead (status "suggested").
| Input | Type | Description |
|---|---|---|
pageId | id | The page id |
markdown | string | Page body in Markdown (GitHub-flavoured): headings, **bold**, *italic*, ~~strike~~, `code`, links, bullet/numbered/task lists, code blocks, quotes, tables. Raw HTML is kept as text. |
modeoptional | "replace" | "append" | replace (default) or append |
create_whiteboard
Read & write tokenCreate a whiteboard in a space, optionally drawn with shapes and arrows. Shapes without x/y are laid out automatically along their connections.
| Input | Type | Description |
|---|---|---|
spaceId | id | The space id |
title | string | Board title |
parentIdoptional | id | Put the board under this page or folder |
shapesoptional | array | |
connectionsoptional | array | |
directionoptional | "TB" | "LR" | "BT" | "RL" | Which way auto-placed shapes flow: TB (down, default) or LR (right) |
add_to_whiteboard
Read & write tokenAdd shapes and arrows to a whiteboard. Arrows can connect new shapes (by id) and shapes already on the board (by their label). New shapes are placed beside what is there unless you give x/y. On a board that needs its owner's approval, this becomes a suggestion (status "suggested").
| Input | Type | Description |
|---|---|---|
pageId | id | The whiteboard id |
shapesoptional | array | |
connectionsoptional | array | |
directionoptional | "TB" | "LR" | "BT" | "RL" | Which way auto-placed shapes flow: TB (down, default) or LR (right) |
diagram_to_whiteboard
Read & write tokenChanges or removes contentDraw a Mermaid flowchart ("flowchart TD" / "graph LR": nodes, shapes, arrows, arrow labels) as editable shapes on a whiteboard. mode "append" (default) adds it beside what is there; "replace" clears the board first and saves a version of it. Other Mermaid diagram types are not supported.
| Input | Type | Description |
|---|---|---|
pageId | id | The whiteboard id |
mermaid | string | Mermaid flowchart source |
modeoptional | "append" | "replace" |
rename_page
Read & write tokenChange the title of a page, folder or whiteboard.
| Input | Type | Description |
|---|---|---|
pageId | id | The page id |
title | string |
move_page
Read & write tokenMove a page (and everything under it) under another parent in the same space, or to the top level.
| Input | Type | Description |
|---|---|---|
pageId | id | The page to move |
parentIdoptional | id | null | |
positionoptional | integer 0 to 9007199254740991 | 0-based position among its new siblings |
trash_page
Read & write tokenChanges or removes contentMove a page and everything under it to the trash. It can be restored with restore_page.
| Input | Type | Description |
|---|---|---|
pageId | id | The page id |
restore_page
Read & write tokenBring a page back from the trash.
| Input | Type | Description |
|---|---|---|
pageId | id | The page id |
add_comment
Read & write tokenComment on a page, or reply to a comment by giving its id as parentId.
| Input | Type | Description |
|---|---|---|
pageId | id | The page id |
body | string | The comment text |
parentIdoptional | id | Reply to this comment |
save_version
Read & write tokenSave a named version of a page's current content to its history.
| Input | Type | Description |
|---|---|---|
pageId | id | The page id |
reasonoptional | string | A short note, e.g. "Before restructuring" |