Skip to main content
Glama
Discourse Graph MCP Server

Discourse Graph MCP Server

Official

canvas_page_create

Creates a new tldraw page inside an existing Roam canvas, adding a numeric suffix if the requested name collides and failing at the 40-page limit.

Instructions

Create a new tldraw page INSIDE an existing canvas. A canvas is one Roam page holding one board; nesting and multi-page organization happen by adding tldraw pages within it, never by creating another canvas page. Colliding names get a numeric suffix; the returned name is the one actually used. Fails loudly at the app's 40-page cap.

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": {
      "canvas": "<canvas>",
      "name": "<name>"
    },
    "name": "canvas_page_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName for the new tldraw page
graphNoGraph name or nickname. Auto-selects if only one graph is configured.
canvasYesCanvas page title (e.g. 'Canvas/My Map') or its 9-char page uid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and delivers notable behavior: name collisions get a numeric suffix, the returned name may differ from the requested one, and the operation fails loudly at a 40-page cap. It also implies an existing canvas is a prerequisite. It stops short of permission/auth requirements or whether the cap check is pre-flight or post-hoc.

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?

Four tight sentences with the scope constraint front-loaded, followed by conceptual clarification, then edge-case behavior (suffix, cap). Nothing repeats the schema or the title, and every sentence adds information.

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 3-parameter creation tool with no annotations and no output schema, the description covers prerequisites, name-collision return semantics, and the failure boundary. It is slightly thin on the full shape of the returned object and on any authorization prerequisites for writing into a canvas.

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 earns an extra point by disambiguating the 'canvas' parameter conceptually (a Roam page that holds one board) and by defining the collision-resolution semantics that govern the 'name' parameter beyond the schema's plain 'Name for the new tldraw page.'

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 resource ('Create a new tldraw page') plus the mandatory scope ('INSIDE an existing canvas'), then explicitly separates this from creating a canvas page at all. An agent can distinguish this from canvas_create and the canvas_add_* siblings from the description alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit routing rule: nesting and multi-page organization are done by adding tldraw pages within a canvas, 'never by creating another canvas page.' That is a concrete when-to-use and when-not-to-use statement tied to the client's organizational model.

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