Skip to main content
Glama
AndresMuelas2004

tldraw MCP Server

tldraw_create_highlight

Create translucent highlight strokes on a canvas by specifying points and color, emphasizing areas with a highlighter effect.

Instructions

Create a highlighter stroke shape from an array of points. Similar to draw but with translucent highlight appearance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYesX position on canvas
yYesY position on canvas
sizeNoStroke sizem
colorNoHighlight coloryellow
pageIdYesTarget page ID (e.g. 'page:xxx')
pointsYesArray of points for the highlight stroke
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)
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It accurately describes the tool as creating a translucent stroke but does not disclose side effects, permissions, or return value. The description is adequate but lacks depth given the absence of annotations.

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 purpose and input, second provides differentiation. No extraneous information. Perfectly concise for the tool's simplicity.

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?

The description covers the core purpose and input, but omits what the output is (no output schema) and any post-creation behavior. Given the tool's simplicity and the comprehensive schema, it is marginally adequate but could benefit from mentioning that the shape is added to the document.

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 adds no parameter-specific detail beyond referencing 'array of points', which is already in the schema. No additional meaning is provided for parameters beyond what the schema already conveys.

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 highlighter stroke shape from points. It distinguishes from the sibling 'tldraw_create_draw' by noting the translucent highlight appearance, making it easy for an agent to select this tool when a highlight effect is desired.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides comparative context: 'Similar to draw but with translucent highlight appearance.' This implies usage for highlight effects versus regular draw strokes. While not exhaustive, it gives sufficient guidance for distinguishing from a key sibling.

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