Skip to main content
Glama
excalidraw-mcp

excalidraw-mcp

by thiendt1608

clear_canvas

Remove all elements from the Excalidraw canvas to reset the workspace for a new diagram.

Instructions

Clear all elements from the Excalidraw canvas.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clear_canvas"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does signal that the operation is broad and destructive ('all elements'), but says nothing about irreversibility, whether the clear is undoable, whether it persists to the underlying scene/file, or what the tool returns after clearing.

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 sentence with the action front-loaded and zero redundant wording. Nothing is padded or buried, and the scope qualifier ('all elements') is placed where it matters.

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

Completeness3/5

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

For a zero-parameter tool this is close to sufficient, but the absence of annotations and an output schema leaves the destructive semantics, reversibility, and post-clear state undescribed. An agent can call it correctly but cannot predict the consequences of doing so.

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?

The tool takes zero parameters, so there is no parameter meaning to add; the baseline for a parameterless tool applies. The description correctly frames the action as operating on the entire canvas, which is consistent with an empty input 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?

Names a specific verb ('Clear') and resource ('all elements from the Excalidraw canvas'), which is unambiguous about the scope being the whole canvas rather than a single element. It implicitly contrasts with element-level siblings like delete_element, but never names them, so it stops short of full sibling differentiation.

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?

There is no explicit when-to-use or when-not-to-use guidance. The word 'all' hints that this is the bulk alternative to delete_element, but the agent must infer that from the sibling list rather than from the definition itself, and there is no mention of prerequisites or confirmation.

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