Skip to main content
Glama
AndresMuelas2004

tldraw MCP Server

tldraw_create_geo

Create geometric shapes in tldraw diagrams with 20 subtypes like rectangle, ellipse, star, and cloud. Supports text labels, custom colors, and rotation.

Instructions

Create a geometric shape. 20 subtypes available: rectangle, ellipse, triangle, diamond, pentagon, hexagon, octagon, star, rhombus, rhombus-2, oval, trapezoid, arrow-right, arrow-left, arrow-up, arrow-down, x-box, check-box, cloud, heart. Supports text labels inside the shape.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hNoHeight
wNoWidth
xYesX position on canvas
yYesY position on canvas
geoNoGeometry subtyperectangle
dashNoDash styledraw
fillNoFill stylenone
fontNoFont for text labeldraw
sizeNoSize stylem
textNoText label inside the shape
alignNoHorizontal text alignmentmiddle
colorNoShape colorblack
pageIdYesTarget page ID (e.g. 'page:xxx')
opacityNoOpacity from 0 to 1 (default 1)
isLockedNoWhether the shape is locked (default false)
parentIdNoParent frame or group ID for nesting
rotationNoRotation in radians (default 0)
labelColorNoLabel text colorblack
verticalAlignNoVertical text alignmentmiddle
Behavior2/5

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

No annotations are provided, and the description does not disclose side effects, permissions, or return values. It only states the creation action without behavioral context beyond the schema.

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?

Two sentences: first states the purpose, second lists subtypes and text label support. Every word earns its place with no redundancy.

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 19 parameters, no output schema, and no annotations, the description is incomplete. It lacks information on return values, error conditions, or what happens after creation (e.g., shape ID returned).

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?

Schema coverage is 100% with individual descriptions. The description adds value by summarizing the 20 subtypes and mentioning text label support, providing an overview that helps the agent understand the key parameter options quickly.

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 it creates a geometric shape, lists 20 subtypes, and notes text label support. This distinguishes it from sibling tools like tldraw_create_text or tldraw_create_arrow, which serve different shape types.

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 tool versus alternatives (e.g., tldraw_create_arrow for arrows, tldraw_create_text for text). The description only states what it does, not when it is appropriate.

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