Skip to main content
Glama
diagrammo
by diagrammo

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
render_diagramA

Render DGMO markup to SVG or PNG. Returns SVG text or base64 PNG image. When format is "png", also saves the image to a temp file and returns the path. For DGMO syntax call get_language_reference (e.g. color a label with a trailing color name: "Sales red").

share_diagramA

Generate a shareable diagrammo.app URL for a DGMO diagram.

open_in_appA

Open a DGMO diagram in the Diagrammo desktop app (macOS only). Falls back to browser preview if the app is not installed.

list_chart_typesA

List all supported DGMO chart types with descriptions.

get_language_referenceC

Get the DGMO language reference documentation. Optionally filter by chart type.

preview_diagramA

Render one or more DGMO diagrams and open an HTML preview in the browser. Supports theme toggle and optional source display. For DGMO syntax call get_language_reference (e.g. color a label with a trailing color name: "Sales red").

generate_reportA

Generate a polished HTML report with multiple DGMO diagrams, table of contents, and optional source blocks. Opens in browser by default. For DGMO syntax call get_language_reference (e.g. color a label with a trailing color name: "Sales red").

validate_diagramA

Validate DGMO markup without rendering. Returns structured parse errors and warnings. Much faster than render_diagram โ€” use this to check syntax before rendering.

suggest_chart_typeA

Suggest the best DGMO chart type for a user's plain-English diagram request.

ALWAYS CALL THIS FIRST when creating a new diagram โ€” it prevents guessing and is the authoritative selection mechanism.

Returns: confidence banner (high/medium/ambiguous), up to 3 ranked candidates with descriptions, matched trigger phrases, and pointers to get_examples for starter DGMO stubs.

get_examplesA

Get example DGMO diagrams for a chart type. Returns real-world examples from the gallery that demonstrate syntax patterns. Use these as few-shot references when generating new diagrams.

migrate_diagramA

Migrate legacy DGMO content (pre-0.18.0) to the unified ยง1.4 same-line metadata grammar. Input is the source of a .dgmo file or a single fenced ```dgmo block; output is the migrated source plus a unified-style diff. The | metadata delimiter was removed in 0.18.0 in favor of Foo k: v, k: v inline. Use this when you encounter a .dgmo file authored against 0.17.x that emits E_PIPE_OPERATOR_REMOVED diagnostics.

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/diagrammo/dgmo-mcp'

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