Skip to main content
Glama
excalidraw-mcp

excalidraw-mcp

by thiendt1608

create_elements_batch

Create multiple Excalidraw elements in a single call to build diagrams in fewer steps. Add shapes, text, and other elements together instead of one at a time.

Instructions

Create multiple Excalidraw elements in a single call.

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": {
      "elements": "<elements>"
    },
    "name": "create_elements_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
elementsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for a mutation tool. It states only that multiple elements are created in one call and omits whether the operation is atomic, how partial failures are handled, whether validation occurs, or what the caller should expect on success or failure.

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?

The description is a single front-loaded sentence with no filler. Every phrase contributes to explaining the action and batch nature of the tool.

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?

For a batch mutation tool with no annotations, no output schema, and 0% parameter description coverage, the definition is too thin. It tells the agent what the tool broadly does but not how to construct valid elements or interpret the outcome, leaving major gaps for correct invocation.

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 0%, and the only parameter is described merely as an array of objects in the schema. The description adds 'Excalidraw elements', which gives some semantic meaning beyond the generic schema, but it does not explain required element fields, allowed shapes, or constraints on array contents.

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 uses a clear verb-resource pair ('Create ... Excalidraw elements') and adds batch scope ('multiple ... in a single call'). It implicitly distinguishes from the sibling create_element by emphasizing multiple elements at once, though it does not explicitly name the alternative.

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?

The phrase 'multiple ... in a single call' implies when this tool is appropriate versus a single-element create tool. However, there is no explicit guidance on when to prefer batch creation over repeated single calls, nor any note on limits, prerequisites, or exclusions.

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