Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WS_PORTNoWidget WS server port4000
TLDRAW_WS_URLNoWidget WebSocket URLws://localhost:4000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_shape

Create a shape on the canvas (rectangle, ellipse, text, note, etc.)

update_shape

Update properties of an existing shape

delete_shapes

Delete one or more shapes from the canvas

connect_shapes

Connect two shapes with an arrow

get_snapshot

Get current state of all shapes on the canvas

clear_canvas

Remove all shapes from the canvas

zoom_to_fit

Zoom the canvas to fit all shapes in view

create_frame

Create a frame to group shapes together

create_flowchart

Create a flowchart diagram with nodes and connections. Nodes are auto-arranged.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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

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