text2d
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@text2dpixelize this car image to 32x32 PICO-8 with dithering"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
text2d — 2D Retro Pixel Art Texture MCP Server
A high-performance Model Context Protocol (MCP) server that empowers AI assistants to procedurally generate, manipulate, and export 2D retro pixel art textures and tilesets for game development.
Features
Image to Retro Pixel Art Conversion: Ingest external PNG files and automatically downscale, quantize to retro palettes, and apply Bayer dithering via
pixelize_image.Procedural Texture Synthesis: Deterministic generation of
wood,stone(cobblestone/rock),brick,grass,metal(brushed plates with rivets), andwatercaustics.Pixel-Level Primitives: Full control via
set_pixel,set_pixel_batch,draw_shape(lines, rects, circles), andflood_fill.Retro Palettes & Quantization: Built-in authentic color palettes including
PICO-8,DawnBringer 32 (DB32),Endesga 32,GameBoy,NES Classic, andCyberpunk Neon.Pixel-Art Post-Processing: Bayer ordered dithering (2x2, 4x4, 8x8) and 1px inner/outer pixel-perfect outlines.
Export Options: PNG files with nearest-neighbor integer scaling, Base64 Data URIs, ASCII Unicode block previews, and 2D JSON color grids.
Related MCP server: aseprite_mcp
Visual Examples & Gallery
1. Image Pixelization (pixelize_image)
Convert high-resolution realistic photos or assets into authentic retro pixel art with automatic palette quantization and Bayer dithering.
Original Input | Endesga 32 (32x32) | PICO-8 (32x32) | GameBoy (32x32) |
DawnBringer 32 (48x48) | Cyberpunk Neon (64x64) |
2. Procedural Texture Synthesis (generate_texture)
Generate seamless, deterministic retro textures in seconds without external assets.
Wood ( | Stone ( | Brick ( |
Grass ( | Metal ( | Water ( |
MCP Tools Matrix
Tool Name | Description | Key Parameters |
| Ingests external PNG and converts to 2D retro pixel art |
|
| Initializes a new in-memory pixel canvas |
|
| Synthesizes a procedural retro texture |
|
| Sets a single pixel at (x, y) |
|
| Batch updates multiple coordinates |
|
| Draws rasterized line, rect, or circle |
|
| Contiguous area flood fill |
|
| Applies Bayer ordered dithering |
|
| Draws 1px pixel-perfect outline |
|
| Exports canvas to PNG, Data URI, ASCII or JSON |
|
| Lists all built-in retro palettes | None |
| Lists active canvases in memory | None |
| Inspects canvas metadata and dimensions |
|
| Frees canvas from memory |
|
Installation & Usage
You can install and run text2d directly from GitHub without publishing to npm:
1. Global Installation (Recommended)
Install globally directly from the GitHub repository:
npm install -g github:al3duc/text2d-mcpOnce installed, the text2d command is available system-wide.
MCP Client Configuration
Add text2d to your MCP client configuration (e.g. claude_desktop_config.json, mcp_config.json, or Cursor):
Option A: Using Global Installation (Simplest)
{
"mcpServers": {
"text2d": {
"command": "text2d"
}
}
}Option B: Direct Execution via npx (No permanent install)
{
"mcpServers": {
"text2d": {
"command": "npx",
"args": [
"-y",
"github:al3duc/text2d-mcp"
]
}
}
}Option C: Claude Code CLI Command
If using Claude Code, register it with a single terminal command:
claude mcp add text2d -- npx -y github:al3duc/text2d-mcpOption D: Local Clone (Development)
git clone https://github.com/al3duc/text2d-mcp.git
cd text2d-mcp
npm install
npm run build{
"mcpServers": {
"text2d": {
"command": "node",
"args": [
"<PATH_TO_TEXT2D_REPOSITORY>/dist/index.js"
]
}
}
}Note: Replace <PATH_TO_TEXT2D_REPOSITORY> with the absolute path to your cloned repository.
Build & Test
# Install dependencies
npm install
# Run unit & integration tests
npm test
# Build TypeScript to dist/
npm run build
# Generate procedural texture samples (wood, stone, brick, grass, metal, water)
npx tsx examples/generate_samples.ts
# Test converting realistic images from examples/input/ to pixel art
npx tsx examples/test_car_pixelize.tsLicense
This project is licensed under the MIT License - see the LICENSE file for details.
Available Tools
14 toolsapply_ditherB
Applies ordered Bayer matrix dithering across the canvas.
| Name | Required | Description | Default |
|---|---|---|---|
| spread | No | Dither intensity spread (default: 0.25) | |
| canvas_id | Yes | Target canvas ID | |
| matrix_size | No | Bayer matrix dimension (default: '4') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of disclosing behavioral traits. It only states what the tool does, not whether it modifies the canvas in place, requires an existing canvas, is destructive, or returns any result. This is a significant gap for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no filler. It is efficient and to the point, though it lacks any additional context that would enrich structure. It earns a 4 for being tight and well-ordered.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with three well-documented parameters and no output schema, the description provides the bare minimum. It doesn't explain the effect on the canvas (e.g., whether it modifies in place) or the nature of the result. Given the tool's modest complexity, a score of 3 is fair – it is minimally sufficient but leaves key behavioral details uncovered.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with each parameter (spread, canvas_id, matrix_size) having a clear description and defaults. The tool description adds no extra parameter information, but the baseline of 3 applies because the schema already handles parameter meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('applies'), a resource ('ordered Bayer matrix dithering'), and scope ('across the canvas'). This clearly distinguishes it from siblings like apply_outline (outlines) and pixelize_image (pixelation), leaving no ambiguity about its function.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives no guidance on when to use this tool versus alternatives. It doesn't mention use cases, constraints, or scenarios where another effect might be preferred. The agent has no context to decide between this, pixelize_image, or apply_outline.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
apply_outlineB
Generates a 1px pixel-perfect outline around shapes on the canvas.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Outline mode (default: 'outer') | |
| color | Yes | Outline color or palette index | |
| canvas_id | Yes | Target canvas ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It reveals only that the outline is 1px and pixel-perfect, but does not explain whether it overlays, replaces, or mutates existing shapes, what happens when no shapes are present, or whether the operation is reversible. This lack of detail is a significant gap for a tool that presumably modifies canvas state.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single concise sentence that front-loads the core purpose. No redundant words or filler. It is appropriately sized for a tool with a clear function.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with only three parameters, the description is minimally adequate but lacks key context: it does not explain the 'mode' parameter (inner vs outer), does not specify how shapes are identified, and does not describe the expected output or side effects. Given the absence of annotations, more detail would be needed for an agent to use it correctly without external knowledge.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description does not add any meaning beyond the schema; it omits any reference to the 'mode' parameter (inner vs outer) or the meaning of color as palette index. The schema already documents these, so the description adds no extra value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Generates' and the resource 'a 1px pixel-perfect outline around shapes on the canvas.' This is specific and distinguishes it from sibling tools like draw_shape or set_pixel_batch, which draw or modify pixels differently.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No mention of when to use this tool versus alternatives such as draw_shape, set_pixel, or flood_fill. There is no context about prerequisites (e.g., shapes must already exist) or exclusions. An agent would have to infer that it applies to outlines only, but no explicit guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_canvasA
Initializes a new in-memory pixel canvas with specified dimensions and palette.
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional custom ID or name for the canvas | |
| mode | No | Color mode (default: indexed) | |
| width | Yes | Canvas width in pixels (e.g. 16, 32, 64) | |
| height | Yes | Canvas height in pixels (e.g. 16, 32, 64) | |
| palette | No | Retro palette name to bind to the canvas (default: db32) | |
| backgroundColor | No | Initial background color (hex string like #000000 or palette index) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It does disclose that the canvas is in-memory (ephemeral), which is a useful behavioral trait. However, it doesn't mention that the tool likely returns a canvas ID needed for subsequent operations, nor does it describe side effects like overwriting an existing canvas with the same ID. It adds some value but lacks crucial behavioral details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that states the action up front and includes the key scope (dimensions, palette). No fluff, no redundancy, and it's easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no output schema and no annotations, the description should hint at the return value or how the result integrates with sibling tools. It doesn't say that the tool returns a canvas ID, which is essential for using set_pixel, draw_shape, and others. Given the complexity of 6 parameters and the absence of annotation coverage, the description is somewhat incomplete, though the schema covers the parameters.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all parameters including defaults and ranges. The description repeats "dimensions and palette" which adds no new meaning beyond the schema. Since coverage is high, the baseline of 3 applies; the description doesn't compensate for any gaps because there are none.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ("Initializes") and a specific resource ("new in-memory pixel canvas") while naming the dimensions and palette as the key inputs. This clearly distinguishes it from siblings like list_canvases, set_pixel, or delete_canvas, which operate on existing canvases rather than creating them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies that this tool is the starting point before drawing or modifying a canvas, but it does not explicitly state when to use it or when to use alternatives. There's no mention of "use this before set_pixel" or hints about prerequisites, so guidance is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
delete_canvasA
Deletes a canvas from memory.
| Name | Required | Description | Default |
|---|---|---|---|
| canvas_id | Yes | ID of the canvas to delete |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden of explaining side effects. It states the action (delete) but does not mention potential errors (e.g., if the canvas does not exist), irreversibility, or what happens to dependent resources. This is a minor gap for a simple delete operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no unnecessary words. It efficiently conveys the purpose without padding, making it easy for an agent to parse and act upon.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple delete operation, the description is mostly complete. It does not specify the return value or error behavior, but given the tool's simplicity and the lack of an output schema, this is not a significant omission. It provides enough context for an agent to know what the tool does.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The only parameter, canvas_id, is described in the schema as 'ID of the canvas to delete.' The tool description does not add any additional context beyond the schema. Since schema coverage is 100%, the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (deletes) and the resource (a canvas from memory). It directly matches the tool name and leaves no ambiguity about what the tool does, distinguishing it from create, list, and other operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is used when a canvas should be removed from memory. Since there are no alternative delete tools among the siblings, the usage context is unambiguous. No extra conditions are necessary for such a straightforward operation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
draw_shapeB
Draws a pixel-art rasterized geometric primitive (line, rect, circle).
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | Starting X / Center X / Rect X | |
| x2 | No | Ending X / Rect Width / Circle Radius | |
| y1 | Yes | Starting Y / Center Y / Rect Y | |
| y2 | No | Ending Y / Rect Height | |
| color | Yes | Hex color or palette index | |
| shape | Yes | Shape type to draw | |
| filled | No | Whether the shape is filled (default: false) | |
| canvas_id | Yes | Target canvas ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must disclose behavioral traits. It only says 'Draws...', which indicates mutation but does not mention whether it overwrites existing pixels, handles coordinate bounds, or returns any confirmation. The effect on the canvas and any side effects are left undefined.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that immediately names the action and scope, with no fluff. The core purpose (drawing a primitive) is front-loaded, and the list of shapes is concise and informative.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 8 parameters with shape-dependent semantics (x1/x2 roles change per shape) and an optional filled flag, but the description provides no guidance on these complexities. It also lacks information about coordinate systems, clipping, or interaction with existing pixels. With no output schema, the agent is left with incomplete context for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the input schema documents each parameter. The description adds no additional meaning beyond what the schema already provides (e.g., the ambiguous meaning of x1/x2 based on shape). Given high coverage, the baseline of 3 is appropriate; the description does not compensate for schema ambiguities.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Draws'), a resource ('pixel-art rasterized geometric primitive'), and enumerates the exact shapes supported ('line, rect, circle'). This makes the tool's purpose immediately identifiable and clearly distinguishes it from sibling tools like set_pixel or flood_fill.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is for drawing geometric shapes but provides no explicit guidance on when to choose it over siblings (e.g., draw_shape vs set_pixel_batch for multiple pixels). There are no stated exclusions or if-then conditions, leaving the agent to infer usage from the shape list.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
export_textureB
Exports the pixel canvas to a PNG file, Base64 Data URI, ASCII preview grid, or JSON grid.
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Pixel art integer scaling factor for crisp output (default: 4 for files/data_uri) | |
| format | Yes | Export format target | |
| canvas_id | Yes | Target canvas ID | |
| file_path | No | Absolute or relative file path (required if format is 'png_file') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of disclosing behavior. It states that the tool exports but does not mention side effects such as writing a file (for png_file), encoding specifics for data URIs, or whether the operation is safe/reversible. The required file_path for png_file is only in the schema, not the description. This is a significant gap for a tool that creates artifacts.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that front-loads the primary action and lists all possible formats. Every word is informative; there is no filler or redundancy. It is appropriately compact for a tool whose schema covers the details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the moderate complexity (4 parameters, no annotations, no output schema), the description is minimally sufficient to understand the core capability, but it omits important contextual details such as what the tool returns (if anything), how file writing behaves, and any constraints beyond the schema. For an export tool, an agent might need to know whether it returns the data or just confirms success.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all parameters. The description merely repeats the format enum in prose and does not add meaning about scale or file_path beyond what the schema provides. It meets the baseline for full coverage but adds little value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear action ('Exports the pixel canvas') and enumerates the four output formats (PNG file, Base64 Data URI, ASCII preview grid, JSON grid). This distinguishes it from sibling tools, none of which focus on canvas export. However, it refers to 'the pixel canvas' without explicitly mentioning that the target is identified by canvas_id, which is slightly ambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites. For instance, it doesn't mention that export is the intended way to retrieve canvas content for external use, nor does it contrast with get_canvas_info. The agent is left to infer usage from the name and schema.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
flood_fillA
Fills a contiguous area of matching color starting at (x, y).
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Start X coordinate | |
| y | Yes | Start Y coordinate | |
| color | Yes | Fill color or palette index | |
| canvas_id | Yes | Target canvas ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the disclosure burden; it does state that the operation modifies a contiguous matching-color region starting at (x, y). However, it omits behavior such as connectivity (4- vs 8-neighbor), out-of-bounds handling, and whether the canvas is mutated in place.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with no filler. Every word contributes to identifying the tool's behavior.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description plus fully described schema is sufficient for basic invocation, but the absence of annotations and output schema leaves connectivity and side-effect semantics undocumented. For a simple mutation tool these are meaningful gaps that the one-line description does not close.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds little beyond the schema, only hinting that x/y are the start coordinates and that color is the replacement value; the schema already documents each parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names the tool's core operation ('Fills a contiguous area of matching color') and the starting point, which clearly identifies flood fill and distinguishes it from siblings like set_pixel or draw_shape. It is a specific verb+resource statement rather than a tautology.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit when-to-use or alternative routing is given, but the wording implies this tool is for filling a connected region of identical color, in contrast to setting individual pixels. There is no guidance on when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_textureB
Procedurally synthesizes a 2D retro pixel art texture (wood, stone, brick, grass, metal, water) using deterministic algorithms.
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Deterministic random seed (e.g. 1337) | |
| options | No | Generator-specific options (e.g. { brickWidth: 16, mortarThickness: 2 }) | |
| palette | No | Optional palette to switch to before generating | |
| canvas_id | Yes | Target canvas ID | |
| texture_type | Yes | Procedural texture generator type |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The only behavioral trait disclosed is that generation uses 'deterministic algorithms', which is helpful for seed reproducibility. However, with no annotations available, the description does not clearly state whether the texture is drawn onto the target canvas, whether existing content is overwritten, or what the side effects of invocation are. For a tool with mutating potential, this is a significant transparency gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, focused sentence with no repetition or filler. It front-loads the key action, the output type, and the supported variants, and it earns its place by conveying the core purpose without wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Without an output schema or annotations, this description does not fully explain the expected behavior: whether the result is a new canvas, a modified canvas, or a returned texture payload. The canvas_id parameter implies a target canvas, but the description does not state how the texture is applied, whether the whole canvas is covered, or what the generated texture occupies. This leaves too much for the agent to infer.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All parameters already have clear descriptions in the input schema, so the description itself adds little beyond naming texture types. It reinforces that texture_type is a generator selector and seed is deterministic, but these facts are already inferable from the schema. This matches the schema-heavy baseline of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb, 'synthesizes', and identifies a concrete resource: a 2D retro pixel art texture. It also enumerates the supported texture types (wood, stone, brick, grass, metal, water), making the tool's purpose clear. However, it does not explicitly distinguish this generation operation from sibling tools such as pixelize_image or draw_shape by mentioning that the result is applied to a canvas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is appropriate when a procedural retro texture is needed, but it provides no explicit guidance on when to use it instead of alternatives like pixelize_image, apply_dither, or export_texture. There is also no mention of when not to use the tool, so the usage context remains only implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_canvas_infoA
Returns metadata, dimensions, and palette information for a specific canvas.
| Name | Required | Description | Default |
|---|---|---|---|
| canvas_id | Yes | ID of the target canvas |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, and the description only mentions 'Returns' without stating side effects, permissions, or error behavior. Since it is a getter, being read-only is inferred but not explicitly disclosed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no redundant words. It is well-structured and front-loads the core action and resource.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description specifies exactly what information is returned (metadata, dimensions, palette), which is sufficient for a simple getter. It does not need to explain return structure since there is no output schema, and the tool's purpose is fully covered.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already fully describes the only parameter (canvas_id as 'ID of the target canvas'). The description adds no additional meaning or constraints beyond what the schema provides, so this falls at the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Returns' and the resource 'metadata, dimensions, and palette information for a specific canvas', which precisely distinguishes it from sibling tools like list_canvases (which lists all) and set_pixel (which modifies pixels).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for retrieving info about a single canvas, but it does not explicitly state when to use it versus alternatives, nor does it provide any when-not guidance. Given the context, it is adequate but not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_canvasesA
Lists all active canvases and their metadata in the current session.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, so the description carries the full burden of conveying behavior. It states that the tool returns a collection of canvases and filters to active ones in the current session, implying a read-only operation without side effects. It could specify what metadata is included, but the core behavioral expectation is clear.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that communicates the resource, scope, and result in minimal words. There is no filler or redundant phrasing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter list operation, the description is sufficient: it tells the agent what will be returned and under what conditions. No output schema exists, but the description makes the return value reasonably clear.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters and the schema already reflects that with an empty properties object. Since there are no parameters to document, the baseline of 4 is appropriate; the description does not conflict with the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('lists') plus a clear resource ('active canvases') and bounds the scope ('in the current session'). It is readily distinguishable from siblings like create_canvas, get_canvas_info, and delete_canvas, which perform different operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description makes the operation's context explicit: it lists all active canvases in the current session. It does not explicitly mention when to choose this over get_canvas_info, but the broad list-vs-single distinction is clear enough for an agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_palettesA
Lists all available built-in retro palettes (PICO-8, DB32, Endesga32, GameBoy, NES, Cyberpunk).
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral disclosure burden. It clearly indicates a read-only enumeration and even names the expected palette values, but it does not describe the output format or confirm there are no side effects beyond what 'Lists' implies.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence states the action, the resource, and the complete set of palette names with no filler. Every element earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter enumeration tool, the description is nearly complete: it tells the agent what will be returned and names the values. The only minor gap is that no output schema exists and the description does not specify the exact return structure, though 'Lists...' largely covers this.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters and the schema is 100% covered by an empty properties object, so no parameter documentation is needed. The description adds no parameter semantics, but none are required.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Lists') with a clear resource ('all available built-in retro palettes') and enumerates the exact palette names. This makes the tool's purpose unambiguous and distinguishes it from sibling list_canvases.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The wording implies this should be used when an agent needs to know the available built-in retro palettes, and there are no sibling tools covering palettes. However, it does not explicitly state when to use it or contrast it with alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pixelize_imageA
Imports an external image file (PNG) and converts it to authentic 2D retro pixel art with downsampling, palette quantization, and dithering.
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Pixel art integer scaling factor when saving to output path (default: 4) | |
| dither | No | Whether to apply Bayer ordered dithering to simulate shading gradients (default: true) | |
| palette | No | Retro palette to clamp colors to (default: 'db32') | |
| sampling | No | Downsampling filter: 'average' (best for high-res), 'nearest', or 'bilinear' (default: 'average') | |
| canvas_id | No | Optional canvas ID to register in memory | |
| file_path | Yes | Absolute or relative file path to the source image (e.g. 'assets/hero.png' or 'textures/rock.png') | |
| target_width | No | Target pixel art width (default: 32) | |
| dither_spread | No | Dither intensity spread (default: 0.2) | |
| target_height | No | Target pixel art height (default: 32) | |
| export_output_path | No | Optional file path to automatically export the resulting pixel art PNG to disk |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the behavioral disclosure burden. It discloses the core transformation stages ('downsampling, palette quantization, and dithering') but does not state side effects, whether the source file is modified, how the result is returned or stored, or what happens when canvas_id is omitted. It is moderately transparent but not fully.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that front-loads the core purpose and then names the processing pipeline with no filler. Every word contributes meaning, and the structure is ideal for quick agent comprehension.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 10 parameters and no output schema, the description is complete enough for high-level selection but not for fully informed invocation. It does not clarify how the resulting pixel art is delivered (via canvas_id? return value? export path?) or mention defaults like 32x32 target and db32 palette, which an agent would need to predict behavior without reading every parameter description.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds some conceptual context by mapping 'downsampling', 'palette quantization', and 'dithering' to the sampling, palette, and dither parameters. Still, it does not add details about defaults or interactions beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear specific verb ('Imports', 'converts') and a concrete resource ('external image file (PNG)' → 'authentic 2D retro pixel art'). It also names the conversion pipeline (downsampling, palette quantization, dithering), which distinguishes it from procedural generator and filter siblings like generate_texture and apply_dither.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use the tool: when an external image needs to be converted to pixel art. However, it does not explicitly compare against siblings such as generate_texture for procedural textures or apply_dither for post-processing. Usage context is inferable but not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
set_pixelA
Sets a single pixel at (x, y) with a hex color or palette index.
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate (0-indexed) | |
| y | Yes | Y coordinate (0-indexed) | |
| color | Yes | Hex color string (e.g. '#ff0055') or palette index (e.g. 5) | |
| canvas_id | Yes | Target canvas ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It only states the action ('sets') without disclosing side effects, overwrite behavior, canvas existence requirements, bounds validation, or error handling. For a mutation tool with zero annotation coverage, this is insufficient detail beyond the bare operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no wasted words. It front-loads the core action and resource while briefly mentioning the supported color formats. This is appropriately concise and structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple and the schema covers parameters, but the description omits any mention of prerequisites (e.g., canvas must exist), side effects, or error behavior. While the operation is straightforward, the lack of annotations makes the description thin. It is adequate but could be more complete by noting what happens if coordinates are out of bounds or the canvas is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all four parameters. The description adds no additional meaning beyond what the schema provides – it merely restates that color can be a hex or palette index, which is already in the parameter description. Baseline 3 is appropriate since the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Sets' and the resource 'a single pixel at (x, y)' with a hex color or palette index. It distinguishes itself from siblings like set_pixel_batch by explicitly indicating 'single pixel', making its scope unambiguous without needing to open the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for setting one pixel at a time, but does not explicitly mention alternatives or conditions for choosing this over set_pixel_batch, draw_shape, or flood_fill. The context is clear (single pixel operation) but lacks explicit guidance on when not to use it or which sibling to prefer.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
set_pixel_batchC
Efficiently sets multiple pixels at specified coordinates.
| Name | Required | Description | Default |
|---|---|---|---|
| pixels | Yes | Array of pixel coordinate and color pairs | |
| canvas_id | Yes | Target canvas ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It only states 'efficiently sets multiple pixels', which is vague and does not reveal any side effects, limits, error handling, atomicity, or whether it overwrites existing pixels. For a mutating tool, this is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence with no wasted words. It front-loads the key action ('sets multiple pixels') and includes the efficiency note. However, it could include a bit more specificity about the pixel array format without harming conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple batch-set tool with fully documented parameters and no output schema, the description is minimally complete. However, it lacks behavioral context (e.g., overwrite semantics, limit on batch size) and does not differentiate from set_pixel. Given sibling tools exist, a bit more guidance would be expected.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema fully documents both parameters (canvas_id and pixels). The description adds no additional meaning beyond 'specified coordinates', which is already implied by the schema. Baseline 3 applies since the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'sets', the resource 'pixels', and the scope 'multiple' and 'batch'. It distinguishes from the sibling set_pixel by implying batching, though it does not explicitly contrast with set_pixel. It is not a tautology and provides a specific action.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no explicit guidance on when to use this tool versus alternatives like set_pixel, draw_shape, or flood_fill. It implies batch usage via 'multiple pixels' but offers no exclusions or comparisons. The word 'efficiently' hints at performance context but is not a clear directive.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
14 tool updates
v1.0.0- First observed
apply_dither - First observed
apply_outline - First observed
create_canvas - First observed
delete_canvas - First observed
draw_shape - First observed
export_texture - First observed
flood_fill - First observed
generate_texture - First observed
get_canvas_info - First observed
list_canvases - First observed
list_palettes - First observed
pixelize_image - First observed
set_pixel - First observed
set_pixel_batch
TDQS
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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Generate game assets with AI for 2D games, including sprites, tilesets, and animations.
Generate game assets with AI: sprites, 3D models, animations, sound effects, music, and voices.
Build a game's 2D art layer with your agent: characters, animations, tilesets, levels, 5 engines.
- AnimGenOAuthcom.animgen
Create AI animations and export transparent sprite sheets, alpha video, frames, and game assets.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceGenerate animated pixel art characters, tilesets, and object directly from your AI coding assistant!40-
- AlicenseAqualityCmaintenanceEnables AI sprite generation and semantic tools for Aseprite, allowing LLMs to create pixel art, add animations, and manage projects with visual feedback.61GPL 3.0
- AlicenseCqualityBmaintenanceEnables AI assistants to control Aseprite for creating pixel art and animated sprites, with 104 tools covering canvas, drawing, animation, palettes, effects, and more.100MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI to create pixel art in Aseprite through pixel-level drawing primitives, read canvas screenshots, and iterate until satisfied.6MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/al3duc/text2d-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server