nyyon-figures
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NYYON_FIGURES_INK | No | Foreground color (ink) | |
| NYYON_FIGURES_OUT | No | Output directory for rendered PNGs | $TMPDIR/nyyon-figures |
| NYYON_FIGURES_PAPER | No | Background color (paper) | |
| NYYON_FIGURES_ACCENT | No | Accent hex color (default #6C5CE7) | #6C5CE7 |
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": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_templatesA | List every diagram template (16) and the featured cover with their slot schemas. Call this first to learn what shapes exist and exactly which slots each render tool expects. |
| get_reasoning_promptA | Return nyyon's reasoning prompt for turning an article into a SET of figures + a cover: which template fits which idea, anchoring each to a sentence, and varying shapes. Pass the article (title/excerpt/body_text) to get the full ready-to-use prompt with the article embedded; omit it to get just the rules + template menu. Use the prompt to produce the figure-spec JSON, then call render_figure / render_cover. |
| get_settingsB | Return the active brand theme — colors (incl. the accent), fonts, canvas sizes, and the env vars that override them. |
| render_figureA | Render a single in-article diagram to a PNG. Provide the template name and its slots (see list_templates for each template's slot schema). Returns the file path. Renders at 2x for crisp output. |
| render_coverC | Render the 1200x630 featured/hero cover (OG ratio): the nyyon wordmark, kit shapes wired to an accent hub, and the headline with one word in the accent colour. Returns the file path. |
| render_setA | Render a full article set in one call: an array of figures (each { template, slots }) plus an optional cover. Returns the list of written paths. Convenience over calling render_figure repeatedly. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a distinct purpose: reasoning prompt, settings, template listing, and three rendering variants. No overlap in functionality, so an agent can clearly distinguish them.
All tool names follow a consistent verb_noun snake_case pattern (get_, list_, render_). This predictability aids agent selection and code generation.
With 6 tools covering the core workflow (prompt, settings, templates, rendering), the count is well-scoped for figure generation without being too few or excessive.
The tool surface covers the essential workflow: obtaining a prompt, checking settings, listing templates, and rendering figures/covers. A minor gap is the lack of a tool to retrieve or delete rendered files, but this is not critical for typical usage.