Skip to main content
Glama

Export 2.5D parallax depth-layer pack

export_25d_layers
Read-onlyIdempotent

Exports a game/web-ready ZIP containing 4 separated RGBA depth planes (LaMa-inpainted backdrop, midground, near subject, foreground), calibrated Z-depths in layers.json, and a standalone interactive parallax-demo.html preview. Builds depth on demand if needed; fails cleanly if the scene lacks depth.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "puzzle_id": "<puzzle_id>"
    },
    "name": "export_25d_layers"
  }
}

Input Schema

NameRequiredDescriptionDefault
puzzle_idYesThe puzzle id a PaintLoom tool returned.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real value on top: it discloses that depth is built on demand if missing and that the call fails cleanly when the scene has no depth. It stops short of saying whether the on-demand build is slow or costly, or what the failure signal looks like.

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

Conciseness5/5

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

Two sentences, front-loaded with the exported artifact and followed by operational caveats. Every clause carries information: the plane breakdown, the layers.json calibration data, the demo file, the lazy depth build, and the failure mode.

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

Completeness4/5

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

With no output schema, the description correctly carries the burden of describing return contents, which it does thoroughly. The only gap for a one-parameter export tool is the absence of any note on how the on-demand depth build affects latency or whether repeated calls re-export.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains puzzle_id as an id returned by a PaintLoom tool. The description adds no further meaning such as accepted ID formats or behavior for stale IDs, so the baseline 3 applies.

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?

The description names a specific verb and artifact and enumerates exactly what the ZIP contains: four separated RGBA depth planes (backdrop, midground, near subject, foreground), calibrated Z-depths in layers.json, and a parallax-demo.html preview. That artifact inventory separates it clearly from the sibling SVG/PDF export tools without needing to name them.

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

Usage Guidelines3/5

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

Usage is implied by the artifact description and by the precondition 'fails cleanly if the scene lacks depth', which tells the agent the scene must already have depth. However, there is no explicit when-to-use versus export_layered_svg or export_printable_pdf, and no statement of when the on-demand depth build is or isn't appropriate.

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