Skip to main content
Glama

Create a whiteboard (board) page

create_board

Creates a new Excalidraw whiteboard page in Folio Wiki from a compact sketch DSL or raw scene, validating elements before saving.

Instructions

Creates a new Excalidraw whiteboard page. Prefer sketch — a compact {background?, nodes, edges} DSL (nodes: rectangle/ellipse/diamond/text/frame with x/y/label/color; edges: from/to/label with orthogonal routing by default) — over scene, a full raw Excalidraw JSON {elements, appState?, files?}, unless you need manual control over exact element geometry. Provide exactly one of sketch/scene. The scene is selfchecked (dangling bindings, bound text overflowing its container, an element sticking out of its frame all reject the call with a clear error) before anything is written. Requires 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": {
      "space": "<space>",
      "parentPath": "<parentPath>",
      "title": "<title>"
    },
    "name": "create_board"
  }
}

Input Schema

NameRequiredDescriptionDefault
sceneNoFull raw Excalidraw scene {elements, appState?, files?} for manual control.
spaceYesSpace slug
titleYesBoard title
sketchNoPreferred. {background?, nodes: [{id,type,label?,x,y,w?,h?,color?,background?,fontSize?,frame?,link?,align?,valign?,overflow?}], edges: [{id?,from,to,label?,elbowed?,start?,end?,color?,fromSide?,toSide?}]}
parentPathYesParent directory path relative to the space root; "" for the space root

Output Schema

NameRequiredDescriptionDefault
idYesPage id
iconNoEmoji icon, if the page has one
kindYesPage kind: doc, board, table, form, base, canvas, artifact, pdf or office
pathYesPath relative to the space root
coverNoCover image URL, if the page has one
orderYesPosition among its siblings
spaceYesSpace slug the page belongs to
titleYesPage title
statusYesPage status
updatedAtYesLast change, ISO timestamp

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond annotations: it discloses that the scene is self-checked (dangling bindings, bound text overflow, element escaping its frame) and that failures reject the call before anything is written, which tells the agent the write is effectively atomic. It also states the auth requirement ("Requires a write-scoped token"), filling a gap the annotations leave open.

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?

A single front-loaded paragraph with no filler sentences — purpose first, then format preference, validation, and auth. The nested parentheticals describing DSL contents are dense but earn their place as the rationale for choosing sketch.

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?

For a write tool with nested objects and an output schema, the definition covers the decisions an agent must make: which format, exclusivity, validation failure behavior, and token scope. Return-value details are rightly omitted because an output schema exists; only edge cases like title collisions are unmentioned.

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, but the description adds real meaning the schema does not encode: node kinds (rectangle/ellipse/diamond/text/frame with x/y/label/color), edge shape (from/to/label, orthogonal routing by default), and the mutual-exclusivity rule between sketch and scene that is absent from the JSON schema (no oneOf).

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?

Opens with a specific verb + resource: "Creates a new Excalidraw whiteboard page." That distinguishes it from generic siblings such as create_page and from convert_canvas_to_board / update_board, which operate differently on existing artifacts.

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 an explicit preference rule for the two input formats ("Prefer `sketch` ... over `scene` ... unless you need manual control over exact element geometry") plus the hard constraint "Provide exactly one of sketch/scene." It does not address when to pick this tool over sibling creation tools, but the primary usage decision an agent faces is covered.

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