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_diagram

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. DGMO color syntax: color a label by appending a lowercase color name as its trailing whitespace-delimited token — "Sales red" yields value "Sales" colored red. The 11 colors are red, orange, yellow, green, blue, purple, teal, cyan, gray, black, white. Capitalize ("Red") to use a color word as a literal label. Parentheses in labels are literal text, not color notation.

share_diagram

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

open_in_app

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

list_chart_types

List all supported DGMO chart types with descriptions.

get_language_reference

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

preview_diagram

Render one or more DGMO diagrams and open an HTML preview in the browser. Supports theme toggle and optional source display. DGMO color syntax: color a label by appending a lowercase color name as its trailing whitespace-delimited token — "Sales red" yields value "Sales" colored red. The 11 colors are red, orange, yellow, green, blue, purple, teal, cyan, gray, black, white. Capitalize ("Red") to use a color word as a literal label. Parentheses in labels are literal text, not color notation.

generate_report

Generate a polished HTML report with multiple DGMO diagrams, table of contents, and optional source blocks. Opens in browser by default. DGMO color syntax: color a label by appending a lowercase color name as its trailing whitespace-delimited token — "Sales red" yields value "Sales" colored red. The 11 colors are red, orange, yellow, green, blue, purple, teal, cyan, gray, black, white. Capitalize ("Red") to use a color word as a literal label. Parentheses in labels are literal text, not color notation.

validate_diagram

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_type

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_examples

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.

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