Skip to main content
Glama

asm_assemble

Place a component in an assembly by defining Creo placement constraints such as mate, align, and insert for accurate positioning and assembly construction.

Instructions

Place a component in an assembly with Creo placement constraints (the normal way to build an assembly).

Each constraint: {"type": ..., "asm_ref": , "asm_path": [component feat ids] (when the reference is on a component already in the assembly; omit for the assembly's own datums), "comp_ref": , "offset": number (distance for *_off, degrees for *_ang_off), "ref_type": "surface|axis|edge|csys|point"}. Types: mate (faces opposed, coincident), mate_off, align (faces/axes same direction, coincident; for two axes: coaxial), align_off, insert (cylinder into cylinder), orient, csys, tangent, pnt_on_srf, edge_on_srf, pnt_on_line, align_ang_off, mate_ang_off, default (component csys on assembly csys), fix. References as in geometry_list: datum names ("A_1", "TOP", "ASM_FRONT"), geometry ids, or {"feature": name, "type": "surface", "index": n}. The first component is usually placed with [{"type": "default"}]. Returns the component feature id (use it in later asm_path lists), its status and final transform. initial = {"origin": [x, y, z], "x_axis": [...], "y_axis": [...]} (component axes in assembly coordinates) is where the solver starts: give a rough orientation when the component must turn far from the assembly's axes (two parallel inserts at 90 deg fail from the identity). If Creo cannot solve the constraints it leaves the component where it started; the tool reports that as an error and removes the component.

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": {
      "assembly": "<assembly>",
      "component": "<component>",
      "constraints": "<constraints>"
    },
    "name": "asm_assemble"
  }
}

Input Schema

NameRequiredDescriptionDefault
initialNo
assemblyYes
componentYes
constraintsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so well: it explains solver starting orientation, failure behavior when constraints cannot be solved, error reporting, and component removal. It also describes the return values and how the returned component feature id should be reused.

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?

The description is long but appropriately dense for a complex assembly-placement tool. It is front-loaded with the core purpose and every sentence contributes useful detail, though the single-paragraph format and inline type list could be structured more readably.

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?

Given the complexity of Creo placement constraints, the description is complete: it covers constraint syntax, reference formats, initial orientation, failure behavior, and return values. An output schema exists, so the added return-value details are a bonus rather than a requirement.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it does: it documents the constraint object structure, all supported constraint types, reference formats, the initial transform object, and the meaning of asm_path. The assembly and component parameters are not elaborated, but their meaning is clear from the opening sentence.

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: place a component in an assembly using Creo placement constraints. It also frames this as 'the normal way to build an assembly,' which gives useful context. It does not explicitly name or distinguish itself from the sibling asm_add_component.

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?

The phrase 'the normal way to build an assembly' provides clear usage context, and the note that the first component is usually placed with [{'type': 'default'}] gives practical guidance. However, it does not explicitly say when to use a simpler alternative such as asm_add_component, nor does it state exclusions.

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