Skip to main content
Glama

Replace a whiteboard's content

update_board
DestructiveIdempotent

Replaces an existing board page's entire scene with a new sketch or raw Excalidraw scene. Use it to rewrite a board's diagram content in one write, with a selfcheck before saving.

Instructions

Replaces an existing board page's whole scene. Prefer sketch over scene — see create_board's description for the DSL shape and the selfcheck this goes through before writing. Provide exactly one of sketch/scene. 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": {
      "id": "<id>"
    },
    "name": "update_board"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesBoard page id
sceneNoFull raw Excalidraw scene {elements, appState?, files?} for manual control.
sketchNoPreferred — see create_board.

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

A3.7/5.0
Behavior4/5

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

Beyond the annotations (destructive, idempotent, not read-only), the description adds meaningful context: the replacement is wholesale, a write-scoped token is required, and a selfcheck runs before writing. It does not say what happens on selfcheck failure or whether prior content is recoverable.

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?

Three short sentences, front-loaded with the destructive scope, then the parameter rule, then the auth requirement. The only inefficiency is deferring the DSL explanation and selfcheck details to create_board's description, which forces an extra lookup.

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?

With an output schema present and full schema description coverage, the description need not explain returns. It covers the destructive scope, parameter exclusivity, and auth, though it omits failure behavior and the effect of replacement on anything other than the scene.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 does add real value the schema lacks: the mutual exclusivity of sketch and scene and the preference for sketch, which the schema does not encode via oneOf.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb and resource: it replaces the whole scene of an existing board page, which is clearly distinct from creation. It references create_board for the DSL rather than stating the boundary, so sibling differentiation is implied rather than spelled out.

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

Usage Guidelines3/5

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

It gives usable in-tool guidance ('Provide exactly one of sketch/scene', 'Prefer sketch over scene') and a precondition (write-scoped token). It does not say when to reach for update_board instead of create_board or board_ops, so cross-tool selection is left to inference.

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