Skip to main content
Glama

parallax_background

Make a layered pixel-art parallax background for a side-scroller, like the Parallax Background Generator on voidless.dev/tools: a banded sky, sun/moon/ringed planet, stars, clouds, mountains, hills, a city or ruins, and a treeline, from a preset (day, sunset, night, dusk-forest, snowy-mountains, alien-world). Every layer tiles seamlessly left to right; far layers fade towards the horizon colour. Returns the composed PNG, one PNG per layer (far to near; transparent where empty, except the sky), optionally a scrolling GIF, and speeds.json with each layer's scroll speed and Godot Parallax2D / ParallaxLayer values. Images up to 2048x2048, 256 frames, 32 MB of input per call. Free: no credits.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "parallax_background"
  }
}

Input Schema

NameRequiredDescriptionDefault
gifNoAlso return a scrolling preview GIF (60 frames)
saveNoAlso save the result to your Voidless library (free, private) and return its asset id and cdn.voidless.dev URL, for passing to the next tool without base64
seedNoSame seed, same background
widthNoPixels; rounded to a multiple of 8 so the dither tiles
colorsNoHex overrides of the preset palette
ditherNoOrdered dither where sky bands meet
heightNo
layersNoTotal layers including the sky (default: all the preset has); the least important are dropped first
presetNosunset
structuresNoBuildings layer; auto = the preset's own (city at sunset/night, ruins on the alien world)auto

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so safety and mutation profile is known. The description adds genuinely useful behavior beyond that: seamless left-right tiling, horizon fade for far layers, exact return artifacts (composed PNG, per-layer PNGs far-to-near, optional GIF, speeds.json with Godot Parallax2D values), and hard limits (2048x2048, 256 frames, 32 MB). It does not address determinism beyond what the seed parameter schema already says, nor authorization/save semantics, so it is solid but not exhaustive for a non-idempotent, open-world generator.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but front-loaded: the first clause states purpose, then composition, then outputs/limits. Every sentence carries information, though the long run-on enumeration of layers and artifacts makes it slightly harder to scan than it could be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 10 parameters, nested color object, no output schema, and no required fields, the description compensates well by describing the returned artifacts precisely and stating size/frame/byte limits. An agent can call this correctly and know what files it will receive without opening anything else.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is high (80%), so the schema already documents presets, dither, seed, dimensions, colors, layers, and structures; the baseline is 3. The description mainly restates the preset list and layer composition, adding only modest meaning such as 'far layers fade towards the horizon colour' and the dropping of least-important layers, which the 'layers' schema note already covers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ('Make a layered pixel-art parallax background for a side-scroller') and then enumerates exactly what the output contains (banded sky, sun/moon/ringed planet, stars, clouds, mountains, hills, city/ruins, treeline). That is far more concrete than a generic generate_image sibling and makes the tool's niche unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is clear: side-scroller parallax backdrops, with presets named so the agent knows which style to pick. It also mentions the reference generator and 'Free: no credits.' However, it never states when to prefer this over generate_image or pixelate_image, nor any exclusions, so routing is implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources