Skip to main content
Glama
creativedswork

excalidraw-editor-mcp

Apply Excalidraw canvas changes

apply_canvas_changes

Apply semantic element and canvas changes atomically at a base revision to ensure consistent Excalidraw updates.

Instructions

Atomically applies semantic element and canvas changes at one base revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
changesYes
canvasPathYesFull workspace-relative canvas path under projectPath, for example designs/m3/main.excalidraw. Never pass only main.excalidraw.
mutationIdYes
projectPathYesFull workspace-relative project path, for example designs/m3.
baseRevisionYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.0.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two real behavioral traits: atomicity (all-or-nothing application) and the base-revision requirement, which implies the call will not blindly overwrite newer state. However, it does not disclose conflict behavior on stale revisions, whether this is a destructive write, or how failures surface. 'Atomically' also misleadingly implies the description is complete when it is not.

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?

A single dense sentence with zero filler. The verb and the atomicity constraint are front-loaded, and the base-revision qualifier earns its place by explaining the concurrency contract. This is appropriately sized for what it attempts to convey.

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

Completeness2/5

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

This is one of the most complex tools in the set (5 required params, an 11-op changes union, 200-item batches, no output schema, no annotations), yet the description is a single sentence. It omits how to construct changes (e.g., from inspect_canvas), the meaning of clientRefs, what happens on a revision mismatch, and the return/conflict behavior. The agent is left to infer critical operational details.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 40%, so the description must compensate. It partially does: 'element and canvas changes' maps to the changes parameter, and 'at one base revision' explains baseRevision's purpose. But mutationId's role (e.g., idempotency/deduplication) is never explained, and the clientRef-vs-elementId referencing model that pervades the changes schema is absent. The description adds a little meaning but leaves most parameter semantics to the schema.

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 description states a specific verb ('applies'), a clear resource ('semantic element and canvas changes'), and a defining constraint ('atomically... at one base revision'). This communicates a batch-commit operation with optimistic concurrency semantics. However, it does not explicitly distinguish itself from siblings like push_canvas, replace_canvas, or save_canvas_copy, which an agent may confuse it with.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives such as push_canvas (full-state commit) or replace_canvas. The 'at one base revision' phrase implies a concurrency-aware workflow, but no explicit when-to-use, prerequisites, or exclusions are stated. For a tool with 24 siblings, this is a significant gap.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/creativedswork/excalidraw-editor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server