Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get-selected-cell

This tool allows you to retrieve selected cell (whether vertex or edge) on the current page of a Draw.io diagram. The response is a JSON containing attributes of the cell.

add-rectangle

This tool allows you to add new Rectangle vertex cell (object) on the current page of a Draw.io diagram. It accepts multiple optional input parameter.

add-edge

This tool creates an edge, sometimes called also a relation, between two vertexes (cells).

delete-cell-by-id

Deletes a cell, whether it is a vertex or edge.

get-shape-categories

Retrieves available shape categories from the diagram's library. Library is split into multiple categories.

get-shapes-in-category

Retrieve all shapes in the provided category from the diagram's library. A shape primarily contains style based on which you can create new vertex cells.

get-shape-by-name

Retrieve a specific shape by its name from all available shapes in the diagram's library. It returns the shape and also the category it belongs.

add-cell-of-shape

This tool allows you to add new vertex cell (object) on the current page of a Draw.io diagram by its shape name. It accepts multiple optional input parameter.

set-cell-shape

Updates the visual style of an existing vertex cell to match a library shape by name.

set-cell-data

Sets or updates a custom attribute on an existing cell.

edit-cell

Update properties of an existing vertex/shape cell by its ID. Only provided fields are modified; unspecified properties remain unchanged.

edit-edge

Update properties of an existing edge by its ID. Only provided fields are modified; unspecified properties remain unchanged.

list-paged-model

Retrieves a paginated view of all cells (vertices and edges) in the current Draw.io diagram. This tool provides access to the complete model data with essential fields only, sanitized to remove circular dependencies and excessive data. It allows to filter based on multiple criteria and attribute boolean logic. Useful for programmatic inspection of diagram structure without overwhelming response sizes.

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/lgazo/drawio-mcp-server'

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