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.

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

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_referenceA

Returns the reference for writing a Zpup scene: the scene format, every shape and its options, conventions for axes and angles, and common mistakes. Read it once before writing a scene.

check_sceneA

Checks a scene without drawing it. Returns every error with its path and how to fix it, and warnings for things that are valid but probably not intended (angles in radians, shapes outside the image, shapes of different colors passing through each other). A scene is plain JSON: { width, height, rotate?, children: [...] } with shapes such as dot, path, ellipse, rect, polygon, box, pyramid, cylinder, cone and hemisphere placed with translate and rotate (degrees). x is right, y is down, z is toward the viewer. Call get_reference once before writing a first scene. The server remembers the last valid scene: a later call can leave scene out to draw it again, or pass changes to edit it.

get_sceneA

Returns the scene the server remembers, as JSON: the last valid scene sent, with every change applied since. Use it to see the current indexes after several edits, or to keep the scene.

render_sceneA

Draws a small 3D scene as a flat SVG picture and returns a PNG of it to look at, the SVG text, and any warnings. An invalid scene draws nothing and returns every error with its path and how to fix it. Pass views to see the same scene from several angles in one call, which is the quickest way to find a shape that is in the wrong place. views and pose change only this picture: an angle or a pose set with changes stays in the remembered scene. A scene is plain JSON: { width, height, rotate?, children: [...] } with shapes such as dot, path, ellipse, rect, polygon, box, pyramid, cylinder, cone and hemisphere placed with translate and rotate (degrees). x is right, y is down, z is toward the viewer. Call get_reference once before writing a first scene. The server remembers the last valid scene: a later call can leave scene out to draw it again, or pass changes to edit it.

render_spinA

Makes an SVG that turns the scene forever about one axis, with no JavaScript in the file, so it plays inside an tag or a README. Returns PNG stills at even steps of the turn, so you can see what the animation shows. These files are large (tens to hundreds of KB), so pass save_to; the SVG text comes back only when it is small. A scene is plain JSON: { width, height, rotate?, children: [...] } with shapes such as dot, path, ellipse, rect, polygon, box, pyramid, cylinder, cone and hemisphere placed with translate and rotate (degrees). x is right, y is down, z is toward the viewer. Call get_reference once before writing a first scene. The server remembers the last valid scene: a later call can leave scene out to draw it again, or pass changes to edit it.

render_spritesA

Draws one scene from every side, turned in equal steps about its vertical axis, and lays the pictures out as one transparent PNG sprite sheet for a game: the same object in 4, 8 or 16 directions, all from one scene, so they agree with each other. With poses it draws every direction in every pose, for a walk cycle: one row per direction, one column per pose. With save_to it also writes the frame list next to the PNG as JSON, in the form TexturePacker writes (JSON hash) and Phaser, PixiJS and other engines read. Returns the sheet to look at. Every cell has the scene's own frame, so check that nothing is cut off as the object turns, or pass fit to have the frame set for you. Keep the scene's own view angle for the tilt: rotate x around -30 for a view from above. A scene is plain JSON: { width, height, rotate?, children: [...] } with shapes such as dot, path, ellipse, rect, polygon, box, pyramid, cylinder, cone and hemisphere placed with translate and rotate (degrees). x is right, y is down, z is toward the viewer. Call get_reference once before writing a first scene. The server remembers the last valid scene: a later call can leave scene out to draw it again, or pass changes to edit it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
referenceHow to write a Zpup scene. The same text get_reference returns.

TDQS

A4.1/5.0

Scored across 6 tools

Disambiguation4/5

The three render tools are distinguished by output type (static PNG/SVG, looping spin animation, sprite sheet), and check_scene is explicitly a draw-free validator. The only mild overlap is between get_reference (docs) and get_scene (state), both sharing a 'get_' prefix, but descriptions clearly separate them.

Naming Consistency5/5

All six tools follow a consistent verb_noun snake_case pattern (get_reference, get_scene, check_scene, render_scene, render_spin, render_sprites). Verbs map predictably to intent: get retrieves, check validates, render produces output.

Tool Count5/5

Six tools is well-scoped for a scene-description-and-rendering server. Each tool covers a distinct need (learn format, validate, retrieve state, static render, animation, sprite sheet) with no filler.

Completeness4/5

The surface covers the full workflow: read the format, validate, retrieve the remembered scene, and render in three useful modes. Minor gaps exist—there is no explicit tool to clear or reset the remembered scene, and file export is folded into render parameters rather than being its own operation.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues