Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DRAWIO_BINNoPath to the draw.io CLI executable. Autodetected if not set.
ADVANCEDRAWIO_OUTNoOutput directory for generated diagrams../diagramas
ADVANCEDRAWIO_CACHENoCache directory for the icon index.~/.cache/advancedrawio
ADVANCEDRAWIO_ICONSNoDirectory containing custom SVG icons../icons
ADVANCEDRAWIO_NO_SANDBOXNoSet to '1' to run draw.io without the Chromium sandbox (only if needed on Linux).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_iconsB

Busca iconos (GCP, AWS, Azure, marcas...). Usa el título exacto devuelto como 'product'.

spec_referenceC

Formato del spec JSON de build_diagram.

build_diagramC

Construye el diagrama (layout ELK, capas, leyenda) y devuelve rutas + PNG para revisarlo.

find_examplesC

Busca entre los 770 ejemplos oficiales de jgraph. Sin argumentos devuelve los tipos disponibles. patron: capas, capas-interactivas, contenedores, tablas, metadatos, links, iconos-imagen, multi-pagina, anidado.

get_exampleC

Receta de un ejemplo: estilos por rol (zonas, nodos, iconos, edges, textos), capas, textos reemplazables y su imagen. Copia los styles al spec en vez de inventarlos.

search_shapesA

Stencils vectoriales (AWS, Azure, Cisco, BPMN, UML, redes, P&ID...) con su style y tamaño, para usar como node {"style":..., "w":..., "h":...}. Para iconos GCP usa search_icons.

build_from_mermaidA

Construye desde Mermaid (ER, secuencia, clases, estados, gantt, mindmap, git). draw.io lo convierte en shapes nativos editables y los acomoda.

build_from_exampleB

Copia un ejemplo oficial y reemplaza sus textos ({"texto viejo": "texto nuevo"}). Para planos, infografías, wireframes, canvases de negocio: todo lo que depende del diseño y no del layout.

lint_diagramB

Revisión objetiva de un .drawio: solapes, edges que cruzan nodos, nodos aislados, proporción.

renderA

Renderiza un .drawio existente a PNG para revisarlo visualmente.

doctorB

Verifica que draw.io Desktop y el índice de iconos estén disponibles.

Prompts

Interactive templates invoked by user choice

NameDescription
arquitecto_drawioAgente que diseña, construye y corrige el diagrama hasta que pase la revisión.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 11 tools

Disambiguation4/5

Tools are mostly distinct, but search_icons and search_shapes could be confused as both search for visual assets. The descriptions clarify their separate domains (brand icons vs vector stencils), preventing real misselection.

Naming Consistency4/5

Most tools follow a consistent verb_noun pattern in snake_case (search_, build_, find_, get_, lint_, render_), but spec_reference and doctor deviate from this convention, making the naming slightly inconsistent.

Tool Count5/5

11 tools is well-scoped for a diagram generation server, covering search, construction (3 variants), examples, validation, rendering, and environment checks without unnecessary bloat.

Completeness4/5

The tool surface covers the full diagram creation workflow: search assets, build from scratch or examples, validate, and render. Minor gaps like editing existing diagrams or exporting other formats exist, but they can be worked around.

Maintenance

ActivityMaintained
ResponsivenessNo issues