Skip to main content
Glama
AndresMuelas2004

tldraw MCP Server

tldraw_create_asset

Create an asset record for images, videos, or bookmarks to obtain an asset ID needed for adding shapes like images or videos.

Instructions

Create an asset record (image, video, or bookmark). Use the returned asset ID with shape creation tools like tldraw_create_image or tldraw_create_video.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hNoHeight in pixels (for image/video)
wNoWidth in pixels (for image/video)
srcYesSource URL or data URI for the asset
typeYesAsset type
titleNoTitle (for bookmark assets)
fileNameNoOriginal file name
mimeTypeNoMIME type (e.g. 'image/png')
descriptionNoDescription (for bookmark assets)
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the creation of an asset record and hints at the return value (asset ID for shape tools), but does not elaborate on side effects, permissions, or storage details. Adequate but could be more informative.

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, front-loaded with the core purpose. Every word is functional and there is no redundancy. Ideal structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description explains the return value's usage (asset ID for shape tools), which is critical. It addresses the tool's role within a workflow. However, it could mention required vs optional parameters or default values to improve completeness.

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 parameter-specific details beyond what the schema provides (e.g., types, dimensions). It mentions the asset types broadly but no additional semantics for individual parameters.

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 verb 'Create' and the resource 'asset record', and lists the three asset types (image, video, bookmark). It also distinguishes from sibling shape creation tools by noting the returned ID is used with 'tldraw_create_image' or 'tldraw_create_video'.

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 explicitly instructs to use the returned asset ID with shape creation tools, providing clear context on when to use this tool (before shape creation). It implies alternatives (the shape creation tools themselves), though it does not explicitly state when not to use it.

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