Skip to main content
Glama

derive_assembly_plan

Read-only

Derive a build-ready assembly plan automatically from part geometry, so you don't have to declare assembly order by hand. Generates part sequencing for multi-part 3D designs.

Instructions

Derive an assembly plan from part GEOMETRY — no hand declaration needed.

Needs Kiln Business.

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

Input Schema

NameRequiredDescriptionDefault
kit_idNoWith ``design_id``, which recorded kit to plan. Empty uses the design's active kit; an id the design does not carry returns an error. Default: "".
materialNoDefault material stamped on each part. Default: "PLA".
design_idNoKit shortcut: a design split with tracking. Used only when ``part_paths`` is empty; the plan then comes from the kit's recorded graph instead of measuring geometry. Default: "".
part_namesNoDisplay names aligned with part_paths (default: file stems).
part_pathsNoOne mesh file per part, positioned as assembled (world coordinates).
pin_recipesNoOptional ``add_pin_joints`` results, each with a ``parts: [a, b]`` pair added, so the plan records the pins on those seams. Used on the geometry path only.
assembly_nameNoCover name for the derived assembly. Default: "derived-assembly".
install_afterNoBuild order you know and the geometry cannot show: ``{part: [parts that go on before it]}``, by the plan's part names. Written onto the plan's parts and kept by every assembly tool; the guide follows it. A name the plan does not have, or an order that goes in a ring, is an error.
insertion_axesNoThe direction a part travels to its seat, ``{part: [x, y, z]}``, for a part that sits inside another (a rod in a bore), where its position cannot say which way it went in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.6.0
    • addedInput schema / properties / insertion_axes
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "The direction a part travels to its seat, ``{part: [x, y, z]}``, for a part that sits inside another (a rod in a bore), where its position cannot say which way it went in.",
      +  "title": "Insertion Axes",
      +  "type": "object"
      +}
    • addedInput schema / properties / install_after
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Build order you know and the geometry cannot show: ``{part: [parts that go on before it]}``, by the plan's part names.  Written onto the plan's parts and kept by every assembly tool; the guide follows it.  A name the plan does not have, or an order that goes in a ring, is an error.",
      +  "title": "Install After",
      +  "type": "object"
      +}
  2. Changed7 schema fields changedv1.5.1
    • changedInput schema / properties / assembly_name / description
      Previous value: -"Default: \"derived-assembly\"."New value: +"Cover name for the derived assembly. Default: \"derived-assembly\"."
    • changedInput schema / properties / design_id / description
      Previous value: -"Default: \"\"."New value: +"Kit shortcut: a design split with tracking. Used only when ``part_paths`` is empty; the plan then comes from the kit's recorded graph instead of measuring geometry. Default: \"\"."
    • changedInput schema / properties / kit_id / description
      Previous value: -"Default: \"\"."New value: +"With ``design_id``, which recorded kit to plan. Empty uses the design's active kit; an id the design does not carry returns an error. Default: \"\"."
    • changedInput schema / properties / material / description
      Previous value: -"Default: \"PLA\"."New value: +"Default material stamped on each part. Default: \"PLA\"."
    • addedInput schema / properties / part_names / description
      Added value: +"Display names aligned with part_paths (default: file stems)."
    • addedInput schema / properties / part_paths / description
      Added value: +"One mesh file per part, positioned as assembled (world coordinates)."
    • addedInput schema / properties / pin_recipes / description
      Added value: +"Optional ``add_pin_joints`` results, each with a ``parts: [a, b]`` pair added, so the plan records the pins on those seams. Used on the geometry path only."
  3. Addedv1.5.0

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered, and the description adds context the annotations cannot: it requires a "Kiln Business" entitlement and that the plan is inferred from geometry rather than declared. The only gap is that it never mentions the error behavior for bad `install_after`/`kit_id` inputs, which appears only in the parameter docs.

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?

Two sentences, front-loaded with the core mechanic and the prerequisite, with no filler. It is efficiently sized, though the terse "Needs Kiln Business" line could have carried a word more context about what that gating means for failure.

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

Completeness3/5

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

For a nine-parameter tool with nested objects and no output schema, the description is thin: it never explains the geometry-vs-kit dual input path, what a derived plan contains, or how `insert_after` ordering errors surface. The rich parameter docs compensate substantially, but with no output schema the description should still say what the agent gets back.

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% across all nine parameters, including the nested-object semantics for `install_after`, `insertion_axes`, and `pin_recipes`, so the schema already carries the parameter meaning. The description adds only the high-level notion that geometry is the input source and does not elaborate on any individual parameter; baseline 3 is appropriate.

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

Purpose4/5

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

The description states a specific verb and resource ("Derive an assembly plan") and immediately scopes the input mode to part GEOMETRY rather than hand-declared structure, which is the key axis distinguishing it from kit-based siblings. It stops short of naming an alternative tool explicitly, so it is clear but not sibling-differentiating at the highest level.

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?

"No hand declaration needed" implies the tool infers structure instead of requiring a manual spec, which is a soft when-to-use signal. The real mode split (geometry path vs. kit path via `design_id`, and `pin_recipes` being "used on the geometry path only") lives entirely in the schema, so the description itself gives no explicit when/when-not guidance or named alternatives.

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