advancedrawio
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DRAWIO_BIN | No | Path to the draw.io CLI executable. Autodetected if not set. | |
| ADVANCEDRAWIO_OUT | No | Output directory for generated diagrams. | ./diagramas |
| ADVANCEDRAWIO_CACHE | No | Cache directory for the icon index. | ~/.cache/advancedrawio |
| ADVANCEDRAWIO_ICONS | No | Directory containing custom SVG icons. | ./icons |
| ADVANCEDRAWIO_NO_SANDBOX | No | Set 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| arquitecto_drawio | Agente que diseña, construye y corrige el diagrama hasta que pase la revisión. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
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.
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.
11 tools is well-scoped for a diagram generation server, covering search, construction (3 variants), examples, validation, rendering, and environment checks without unnecessary bloat.
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.