Skip to main content
Glama
excalidraw-mcp

excalidraw-mcp

by thiendt1608

import_file

Loads an existing .excalidraw file from a specified path into memory so you can inspect or edit the diagram.

Instructions

Load an existing .excalidraw file into memory.

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": {
      "filePath": "<filePath>"
    },
    "name": "import_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYesPath to .excalidraw file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/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 entire behavioral burden. 'Into memory' hints at a state change but it never says whether the current canvas is replaced or merged, whether the operation is reversible, or what happens if the file is missing or malformed.

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?

A single front-loaded sentence with no filler; the verb and resource lead. It is arguably under-specified rather than verbose, but nothing in it is wasted.

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 one-parameter load tool with no output schema and no annotations, the essentials are present but the critical in-memory side effect (replacing existing scene content) and failure behavior are unaddressed, leaving an agent to guess at consequences before calling.

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?

Only one parameter exists and the schema already documents it at 100% coverage ('Path to .excalidraw file'). The description adds no format details, relative-vs-absolute path semantics, or examples, so it sits at the baseline for a fully documented single parameter.

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?

Specific verb ('Load') plus specific resource (an existing .excalidraw file) and destination (into memory). It is naturally distinguishable from the sibling export_file, but the description never explicitly contrasts the two or states whether loading replaces the current scene.

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 on when to use this instead of alternatives such as get_scene_json or create_element, and no prerequisites stated (e.g., that the path must exist, or that current in-memory content may be overwritten). Usage must be fully inferred from the name.

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