Skip to main content
Glama
AndresMuelas2004

tldraw MCP Server

tldraw_create_draw

Create freehand drawing shapes on a tldraw canvas by providing an array of points. Supports custom styling including dash, fill, size, color, and opacity.

Instructions

Create a freehand drawing shape from an array of points. Points are encoded into tldraw's internal format automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYesX position on canvas
yYesY position on canvas
dashNoDash styledraw
fillNoFill style (for closed shapes)none
sizeNoStroke sizem
colorNoStroke colorblack
pageIdYesTarget page ID (e.g. 'page:xxx')
pointsYesArray of points for the freehand stroke
opacityNoOpacity from 0 to 1 (default 1)
isClosedNoWhether the shape is closed
isLockedNoWhether the shape is locked (default false)
parentIdNoParent frame or group ID for nesting
rotationNoRotation in radians (default 0)
Behavior3/5

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

With no annotations, the description must cover behavior. It adds detail about automatic point encoding, but does not mention side effects, permissions, or that the shape is a path. For a create tool, this is adequate but not comprehensive.

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 sentence with 17 words, front-loading the purpose and key input. No superfluous information.

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?

Given 13 parameters, many sibling tools, and no output schema, the description is too minimal. It lacks context about when to use this vs. other creators, what the return value is, and how to handle edge cases (e.g., empty points array).

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 baseline is 3. The description does not add meaning beyond the schema for individual parameters (the encoding detail is a general behavior, not per-parameter).

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

Purpose5/5

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

The description clearly states the tool creates a freehand drawing shape from points, distinguishing it from other shape creation tools (geo, text, arrow, etc.) by specifying 'freehand drawing' and mentioning automatic encoding of points.

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 description implies usage for freehand strokes but does not explicitly contrast with sibling creation tools (e.g., use this for organic shapes vs. tldraw_create_geo for geometric shapes). No when-not-to-use or alternative guidance is provided.

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

Install Server

Other Tools

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/AndresMuelas2004/tldraw-mcp-server'

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