Skip to main content
Glama
Discourse Graph MCP Server

Discourse Graph MCP Server

Official

canvas_move

Move shapes to new canvas positions, re-aim arrow endpoints, and move shapes into frames or between tldraw pages using absolute coordinates.

Instructions

Move shapes to new positions, re-aim arrows, or move shapes to another tldraw page. All coordinates are ALWAYS absolute canvas coordinates (converted to frame-local storage automatically). Pass x/y to move a shape. For an arrow, pass start and/or end points instead to re-aim it (bound terminals, e.g. from canvas_connect, follow their shape and cannot be re-aimed). Pass into_frame (a frame's shape id or name) to move the shapes into that frame; pass into_frame:'page' to pop them out to the top level. Pass into_page (a tldraw page name or id) to move shapes between the board's pages.

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>",
      "moves": "<moves>"
    },
    "name": "canvas_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
graphNoGraph name or nickname. Auto-selects if only one graph is configured.
movesYes
canvasYesCanvas page title (e.g. 'Canvas/My Map') or its 9-char page uid
into_pageNoTldraw page (name or page record id) to move the shapes to. x/y become optional (shapes keep their coordinates). A bound arrow follows when both its endpoints move; a move that would split one across pages is refused.
into_frameNoFrame shape id or name to move the shapes into, or 'page' to un-frame them

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose non-obvious behavior: coordinates are always absolute and are converted to frame-local storage automatically, bound terminals follow their shape, and (via the into_page note) a move that would split a bound arrow across pages is refused. It does not cover permissions or the shape of the response, which keeps it below a 5.

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?

Front-loaded with purpose, then one sentence per parameter path, so an agent can scan to the relevant mode quickly. There is minor redundancy in the first sentence repeating 'move shapes', but no filler or hedging.

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 multi-mode mutation tool with no annotations and no output schema, the description covers coordinates, arrow re-aiming, framing, and page moves adequately. The remaining gap is return/result behavior after a move (e.g., what is echoed back or how partial failures in the moves array are reported).

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 80%, so the baseline is 3; the description still adds meaning by explaining the mutually exclusive parameter paths (x/y vs start/end) and the special sentinel into_frame:'page' that pops shapes to the top level. It also clarifies that the start/end form is arrows-only, which the schema only hints at with 'Arrows only'.

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 and resource ('Move shapes to new positions, re-aim arrows, or move shapes to another tldraw page'), enumerating the three distinct operation modes in the first sentence. An agent can immediately tell this apart from canvas_connect (which creates bound arrows) and canvas_add_arrow, since re-aiming versus creating is explicitly called out.

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 per-case routing: 'Pass x/y to move a shape', 'For an arrow, pass start and/or end points instead', 'Pass into_frame ... to move the shapes into that frame', 'Pass into_page ... to move shapes between pages'. It also gives an explicit non-applicable case: bound terminals from canvas_connect cannot be re-aimed. It stops just short of naming sibling tools to use instead for other operations.

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