Skip to main content
Glama

Make a paint-by-number puzzle

generate_puzzle

Creates a paint-by-number puzzle from a text prompt. Supports optional Immersive 2.5D depth mode, material finishes (oil, watercolor, stained glass, mosaic, embroidery, woodblock, paper-cut, diamond), and accessibility presets ('kids_easy', 'large_print'). Spends the account's PaintLoom credits (1-3 per puzzle, matching app pricing). Returns immediately with status 'generating', a puzzle id, and paint_url; poll get_puzzle until 'ready'.

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": {
      "prompt": "<prompt>"
    },
    "name": "generate_puzzle"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNoHow many regions to paint. Default medium. 'detailed' costs 1 more credit.
presetNoAccessibility complexity preset: 'standard' (default), 'kids_easy' (8 colors, large bold shapes), or 'large_print' (10 colors, large readable numbers for seniors/therapy).
promptYesWhat to paint, up to 500 characters.
style_idNoA style id from list_styles. Default botanical_painterly.
immersiveNoWhen true, also builds a 2.5D Walk-in Immersive depth version at no extra credit cost (scenes without depth succeed cleanly in Flat mode).
finish_styleNoOptional material finish (e.g. flat, impasto, watercolor, stained_glass, mosaic, embroidery, cloisonne, woodblock, papercut, diamond, photo). Default flat.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations it discloses the cost side-effect (1-3 PaintLoom credits from the account, 'detailed' adding one more, immersive free), which matters for a non-idempotent, non-read-only call. It also documents the async contract — immediate return with 'generating', a puzzle id, and paint_url, plus the required polling loop.

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?

Three dense sentences, front-loaded with purpose and followed by cost then async behavior, with no filler. The parenthetical list of eight material finishes duplicates the finish_style enum in the schema and could be trimmed.

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?

There is no output schema, yet the description covers the return payload (status, id, paint_url) and the next step (poll get_puzzle), and it flags the credit-spend risk of a mutating call. Nothing needed to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description adds genuine meaning by tying credit cost to the detail level and confirming immersive adds no credit charge. The finish/preset enumerations largely restate schema enums rather than extending them, so it does not reach the top band.

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 opens with a specific verb and resource ('Creates a paint-by-number puzzle from a text prompt'), which cleanly separates it from puzzle_from_photo and puzzle_of_the_day among the siblings. An agent can identify the operation without opening the schema.

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?

It gives clear operating context: generation is asynchronous and the agent must poll get_puzzle until status is 'ready', and the input is a text prompt rather than an image. It never explicitly names puzzle_from_photo as the alternative for image input, so the exclusion is implied rather than stated.

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