Skip to main content
Glama

generate_rolling_tray

Create a shallow rectangular rolling tray with a concave cove inner wall so loose contents sweep into a corner, then decorate its top and underside.

Instructions

Generate a rolling tray — a shallow rectangular work tray with a concave cove inner wall, so loose contents sweep clean into a corner instead of catching a 90-degree edge. Decorate the interior work surface and the exterior underside, both. Opens Kiln's interactive inline 3D stage on the result (orbit/zoom panel in MCP Apps hosts; hosted sessions add a browser stage link). MAKE DOORS: design_session, Kiln's front door for making an object, is not installed here (signed in to Kiln it runs on Kiln's servers). On this install compile_scad IS the make → preview → iterate loop: make it, show the preview, iterate.

INLINE 3D STAGE: on success this tool opens Kiln's interactive 3D stage — an inline viewer panel the user can orbit, zoom, and turn over — in hosts that render MCP Apps panels (Kiln's hosted connection attaches a browser stage link for hosts that don't). Oversized meshes are decimated automatically for the stage; the PNG preview is the floor, not the whole experience.

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": "generate_rolling_tray"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoWork-surface content. Default: "".
sizeNo``"small"``/``"medium"``/``"large"``/``"xl"``. Any other name is refused. Default: "".
bottomNo``"plain"``, ``"pocket"``, ``"text:..."``, or ``"qr:URL"``. Any other value is refused. Default: "plain".
goal_idNoOptional saved-goal id from ``design_session``. When supplied the produced mesh gets a ``design_brief:<id>`` intent sidecar so the audit's "matches what you asked for" gate and the ``compare_design_versions`` intent diff light up. Default: "".
wall_mmNoWall/floor thickness (default 2.4). Default: 2.4.
depth_mmNoDepth — short edge (default 135). Default: 135.0.
materialNoMaterial (default PLA). Default: "PLA".
width_mmNoWidth — long edge (default 190). Default: 190.0.
height_mmNoHeight in mm (default 18). Default: 18.0.
body_colorNoBody color (default white). Default: "white".
photo_maskNoPhoto crop shape for a photograph (a logo on a clean field is carved unmasked whatever is passed; a name outside this list is refused) — ``"rectangle"``, ``"rounded_rectangle"``, ``"circle"``. Empty or ``"auto"`` is ``"rounded_rectangle"``, since the tray is rectangular. Default: "".
printer_idNoTarget printer for the bed-fit check (e.g. ``"bambu_a1"``); empty auto-detects the active printer. Default: "".
include_stepNoAlso emit a CAD-exact STEP file of the tray body; on success the response gains a ``step`` block with ``step_path``. A QR underside or a photo on the work surface refuses the STEP with the reason; the mesh outputs are always unaffected. Defaults to False. Default: false.
cove_radius_mmNoInterior fillet radius; 0 = auto. Default: 0.0.
color_overridesNoJSON dict mapping role → color. Default: "".
corner_radius_mmNoOuter corner radius (default 14). Default: 14.0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.6.0
    • removedInput schema / properties / brief_id
      Removed value: -{
      -  "description": "Optional saved-goal id from ``design_session``. When supplied the produced mesh gets a ``design_brief:<id>`` intent sidecar so the audit's \"matches what you asked for\" gate and the ``compare_design_versions`` intent diff light up. Default: \"\".",
      -  "title": "Brief Id",
      -  "type": "string"
      -}
    • addedInput schema / properties / goal_id
      Added value: +{
      +  "description": "Optional saved-goal id from ``design_session``. When supplied the produced mesh gets a ``design_brief:<id>`` intent sidecar so the audit's \"matches what you asked for\" gate and the ``compare_design_versions`` intent diff light up. Default: \"\".",
      +  "title": "Goal Id",
      +  "type": "string"
      +}
  2. Changed16 schema fields changedv1.5.1
    • changedInput schema / properties / body_color / description
      Previous value: -"Default: \"white\"."New value: +"Body color (default white). Default: \"white\"."
    • changedInput schema / properties / bottom / description
      Previous value: -"Default: \"plain\"."New value: +"``\"plain\"``, ``\"pocket\"``, ``\"text:...\"``, or ``\"qr:URL\"``.  Any other value is refused. Default: \"plain\"."
    • changedInput schema / properties / brief_id / description
      Previous value: -"Default: \"\"."New value: +"Optional saved-goal id from ``design_session``. When supplied the produced mesh gets a ``design_brief:<id>`` intent sidecar so the audit's \"matches what you asked for\" gate and the ``compare_design_versions`` intent diff light up. Default: \"\"."
    • changedInput schema / properties / color_overrides / description
      Previous value: -"Default: \"\"."New value: +"JSON dict mapping role → color. Default: \"\"."
    • changedInput schema / properties / corner_radius_mm / description
      Previous value: -"Default: 14.0."New value: +"Outer corner radius (default 14). Default: 14.0."
    • changedInput schema / properties / cove_radius_mm / description
      Previous value: -"Default: 0.0."New value: +"Interior fillet radius; 0 = auto. Default: 0.0."
    • changedInput schema / properties / depth_mm / description
      Previous value: -"Default: 135.0."New value: +"Depth — short edge (default 135). Default: 135.0."
    • changedInput schema / properties / height_mm / description
      Previous value: -"Default: 18.0."New value: +"Height in mm (default 18). Default: 18.0."
    • changedInput schema / properties / include_step / description
      Previous value: -"Default: false."New value: +"Also emit a CAD-exact STEP file of the tray body; on success the response gains a ``step`` block with ``step_path``.  A QR underside or a photo on the work surface refuses the STEP with the reason; the mesh outputs are always unaffected.  Defaults to False. Default: false."
    • changedInput schema / properties / material / description
      Previous value: -"Default: \"PLA\"."New value: +"Material (default PLA). Default: \"PLA\"."
    • changedInput schema / properties / photo_mask / description
      Previous value: -"Default: \"\"."New value: +"Photo crop shape for a photograph (a logo on a clean field is carved unmasked whatever is passed; a name outside this list is refused) — ``\"rectangle\"``, ``\"rounded_rectangle\"``, ``\"circle\"``.  Empty or ``\"auto\"`` is ``\"rounded_rectangle\"``, since the tray is rectangular. Default: \"\"."
    • changedInput schema / properties / printer_id / description
      Previous value: -"Default: \"\"."New value: +"Target printer for the bed-fit check (e.g. ``\"bambu_a1\"``); empty auto-detects the active printer. Default: \"\"."
    • changedInput schema / properties / size / description
      Previous value: -"Default: \"\"."New value: +"``\"small\"``/``\"medium\"``/``\"large\"``/``\"xl\"``. Any other name is refused. Default: \"\"."
    • changedInput schema / properties / top / description
      Previous value: -"Default: \"\"."New value: +"Work-surface content. Default: \"\"."
    • changedInput schema / properties / wall_mm / description
      Previous value: -"Default: 2.4."New value: +"Wall/floor thickness (default 2.4). Default: 2.4."
    • changedInput schema / properties / width_mm / description
      Previous value: -"Default: 190.0."New value: +"Width — long edge (default 190). Default: 190.0."
  3. Addedv1.5.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnly=false, destructive=false, openWorld=false; the description goes well beyond them by disclosing that a UI side effect occurs (an inline 3D stage opens), that oversized meshes are auto-decimated, that the PNG preview is a floor not the whole experience, and that a QR underside or photo refuses STEP while mesh outputs stay unaffected. It still doesn't say whether artifacts are written to disk or where, but the behavioral picture is unusually rich.

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

Conciseness3/5

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

The opening sentence is strong and front-loaded, but the 'MAKE DOORS' paragraph is about sibling tooling and reads as noise for this tool, and the stage-opening behavior is stated twice (once in the opening, again in a dedicated 'INLINE 3D STAGE' block with overlapping content). Roughly a third of the text does not earn its place.

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 16 optional parameters, no output schema, and full schema coverage, the description is complete enough: it explains the stage/preview outputs, the optional STEP emission and its refusal conditions, and the decorative surfaces. It omits where outputs are saved and whether bed-fit/printer checks fail hard, but nothing critical to a correct invocation is missing.

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 100%, so the schema already documents all 16 parameters including the cove_radius_mm auto behavior and the photo_mask rules. The description adds conceptual context (cove as an interior fillet, top vs. bottom surfaces) but no per-parameter semantics beyond that, 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?

States a specific verb and resource plus distinguishing geometry: 'a shallow rectangular work tray with a concave cove inner wall, so loose contents sweep clean into a corner instead of catching a 90-degree edge.' It also names the decorated surfaces (interior work surface, exterior underside), which separates it from flat sibling generators like generate_coaster or generate_wall_plaque without opening their schemas.

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?

The 'MAKE DOORS' paragraph routes the agent away from design_session and toward compile_scad, but that is guidance about the surrounding workflow, not about when to pick this tray tool over generate_ashtray, generate_pen_cup, or generate_soap_dish. There is no when-not guidance for the tray variants and no prerequisites stated.

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

Deploy Server

Other Tools