Skip to main content
Glama
LBurny
by LBurny

assemble

Join parts by snapping named anchors together in one atomic operation, verifying alignment within tolerance and rolling back on any failed mate.

Instructions

Assemble parts by snapping named anchors together (ONE transaction).

Each mate: {"obj", "anchor", "target", "target_anchor",
            "mode": "center"|"touch"|"axis", "offset": float=0}.
Per-mate residuals (mm, plus degrees for touch/axis) are measured AFTER
the move; a mate over tolerance fails. For PERSISTENT joints use
assembly_session. Full semantics: operation_help("assemble").

Args:
    mates: Non-empty list of mate dicts (see above).
    tolerance: Max allowed post-move residual in mm (default 0.1).
    stop_on_error: Abort and roll back at the first failed mate.
    with_screenshot: Attach a screenshot (default: none).

Returns:
    JSON with per-mate residuals and passed/failed counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
matesYes
doc_nameYes
toleranceNo
stop_on_errorNo
with_screenshotNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description carries the full burden and does an excellent job. It discloses that this is a single transaction, that per-mate residuals are measured AFTER the move, that a mate over tolerance fails, and that stop_on_error aborts and rolls back. It also states the return format, giving the agent a clear picture of side effects and behaviors.

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?

The description is well-structured with clear sections for behavior, arguments, and returns. It is front-loaded with the core purpose, and every sentence adds value. The pointer to operation_help keeps it concise without sacrificing completeness.

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?

Given the complexity of the assembly operation and the bare schema, the description is quite complete: it explains the mate format, failure behavior, rollback, and return values. However, it misses the required doc_name parameter and does not elaborate on the differences between center/touch/axis modes, though it defers to operation_help for full semantics.

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?

The description adds significant meaning beyond the schema by detailing the structure of each mate dict, including the mode enum and default offset. However, it entirely omits the required doc_name parameter from the Args list, and since schema coverage is 0%, this is a notable gap that prevents a higher score.

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 clearly states the tool assembles parts by snapping named anchors together, with a specific verb and resource. It also distinguishes itself from the sibling tool assembly_session by noting that assembly_session is for PERSISTENT joints, and it emphasizes the ONE transaction behavior.

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 description explicitly says 'For PERSISTENT joints use assembly_session', providing a clear alternative. It also points to operation_help for full semantics, but it does not fully elaborate on when to use assemble vs other assembly-related sibling tools like align_shapes or verify_assembly.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LBurny/cadpilot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server