Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

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

Render text box diagrams as SVG, 1:1. Draft the diagram, call check_diagram, apply the hints until status is ok and the edges are what you meant, then call render_diagram with a preset for the destination.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
render_diagramA

Render an ASCII/Unicode box diagram as SVG (or a web page), keeping every character in its exact cell. Writes output_path and returns a JSON report: read 'status' (ok | warnings | self_check_failed | bad_input) and 'summary'. For warnings, apply each 'hint' (it names the row/col to fix) and render again. Pick 'preset' from where the diagram is going. Run check_diagram first on a new diagram.

check_diagramA

Validate an ASCII/Unicode box diagram without writing anything. Returns 'status', 'summary', warnings with concrete 'hint's (e.g. 'the arrowhead v at row 5 col 5 is one column right'), and the structure: boxes and edges (which box each arrow connects). Use it to confirm a diagram means what you intended before rendering.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: check_diagram is read-only validation, render_diagram writes output. The descriptions even specify the intended call order (check first, then render), leaving no realistic risk of misselection.

Naming Consistency5/5

Both names follow the same verb_noun pattern (render_diagram, check_diagram) with identical snake_case styling and a shared domain noun, so the pattern is immediately predictable.

Tool Count3/5

Two tools is on the thin side, though the server's purpose (ASCII diagram to SVG conversion plus validation) is genuinely narrow. Each tool earns its place, but the surface is borderline minimal and could feel under-served without any discovery or option tools.

Completeness4/5

The validate-then-render lifecycle fully covers the core workflow with structured status/hints for recovery. Minor gaps remain, such as no way to enumerate available presets or output modes before calling render_diagram, which an agent must learn by trial.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues