Skip to main content
Glama

Convert a canvas to a board

convert_canvas_to_board

Create a new editable Folio board from an Obsidian canvas page without changing the canvas; groups become frames, cards become linked rectangles, connections become arrows, and losses are reported.

Instructions

Makes a NEW editable Folio board (Excalidraw) from an Obsidian canvas page (kind "canvas"), like "Convert to Folio board" in the web app; the canvas itself is not changed. Groups become frames, cards become labelled rectangles (notes and files as their title with a link), connections become arrows; what could not be carried over is listed in report.losses. The board goes next to the canvas unless parentPath is given, and is committed at once as the connected user. Requires read access to the canvas, an editor role in the space and a write-scoped token.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "convert_canvas_to_board"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPage id of the canvas (kind "canvas")
titleNoTitle of the new board (default "<canvas title> (board)")
parentPathNoFolder for the board, relative to the space root (default: the canvas's folder)

Output Schema

NameRequiredDescriptionDefault
boardYesThe new board page
reportYesWhat the conversion lost

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only say non-read-only, non-destructive, non-idempotent), it discloses the concrete mapping (groups→frames, cards→labelled rectangles, connections→arrows), that unmappable content surfaces in report.losses, that the board is committed immediately as the connected user, and the auth/token requirements. That is exactly the mutation and side-effect context annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first clause, followed by conversion semantics, output/report behavior, defaults, then auth requirements in a logical order. It is one dense paragraph with no filler, though the long run-on sentences and the appended credential sentence could be split for faster scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-idempotent mutating conversion with an output schema already describing the return (including report.losses), the description covers side effects, loss reporting, destination defaults, immediacy of commit, and authorization. An agent has everything needed to decide and call correctly.

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 the baseline is 3; the description still adds useful framing by explaining that the board lands next to the canvas unless parentPath is given and by pinning id to a page of kind "canvas". It does not restate the title default in new terms, so the lift is modest above 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?

States a specific verb and both endpoints: turns an Obsidian canvas page (kind "canvas") into a NEW editable Folio/Excalidraw board, and notes the canvas itself is unchanged. The source-to-destination framing plus the web-app analogue ("Convert to Folio board") makes it unmistakable next to create_board, which starts from nothing rather than an existing canvas.

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?

Gives clear preconditions to invoke it: the page must be kind "canvas", the caller needs read access, an editor role in the space, and a write-scoped token. It also mirrors the web app's "Convert to Folio board" so an agent can map intent. It stops short of explicitly contrasting with create_board or board_ops, so there is no stated when-not-to-use.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.