text2d
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pixelize_imageA | Imports an external image file (PNG) and converts it to authentic 2D retro pixel art with downsampling, palette quantization, and dithering. |
| create_canvasA | Initializes a new in-memory pixel canvas with specified dimensions and palette. |
| list_canvasesA | Lists all active canvases and their metadata in the current session. |
| get_canvas_infoA | Returns metadata, dimensions, and palette information for a specific canvas. |
| delete_canvasA | Deletes a canvas from memory. |
| set_pixelA | Sets a single pixel at (x, y) with a hex color or palette index. |
| set_pixel_batchC | Efficiently sets multiple pixels at specified coordinates. |
| draw_shapeB | Draws a pixel-art rasterized geometric primitive (line, rect, circle). |
| flood_fillA | Fills a contiguous area of matching color starting at (x, y). |
| generate_textureB | Procedurally synthesizes a 2D retro pixel art texture (wood, stone, brick, grass, metal, water) using deterministic algorithms. |
| apply_ditherB | Applies ordered Bayer matrix dithering across the canvas. |
| apply_outlineB | Generates a 1px pixel-perfect outline around shapes on the canvas. |
| export_textureB | Exports the pixel canvas to a PNG file, Base64 Data URI, ASCII preview grid, or JSON grid. |
| list_palettesA | Lists all available built-in retro palettes (PICO-8, DB32, Endesga32, GameBoy, NES, Cyberpunk). |
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 14 tools
Each tool targets a distinct operation on the canvas or palette: lifecycle, drawing primitives, pixel manipulation, filters, and export. There is little to no overlap between tool purposes, making selection unambiguous.
Tool names consistently follow a verb_noun (or verb_noun_batch) pattern with lowercase underscores. The parallel create/list/get/delete and set/apply/export groupings make the API predictable and easy to navigate.
14 tools is within the ideal scope for a specialized pixel-art canvas server. Each tool covers a distinct editing, transformation, or I/O operation, so none feel redundant and the surface remains manageable.
The server covers a solid canvas lifecycle including creation, metadata access, deletion, multiple pixel-editing operations, filters, texture generation, and export. The main minor gap is the lack of a direct tool for reading individual pixel values, though export_texture can partially compensate by outputting a JSON grid.