Skip to main content
Glama

cad_build_assembly

Build a CAD assembly from a spec by aligning components to CS_ coordinate systems, applying offsets/rotations, creating linear arrays, and returning a BOM with preliminary interference checks.

Instructions

按装配 spec 建装配:组件用 CS_ 坐标系对齐定位(align → to + offset/rotate),可线性阵列。返回 BOM 和初步干涉。

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": {
      "spec": "<spec>"
    },
    "name": "cad_build_assembly"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Adds real context beyond the annotations: the call returns a BOM plus a preliminary interference check, and instances can be linearly arrayed. However, with readOnlyHint=false and idempotentHint=false it never says what happens to an existing assembly of the same name, whether repeated calls duplicate components, or how expensive the interference pass is.

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?

One dense, front-loaded sentence with no filler — purpose first, then the placement mechanics, then the array capability, then the outputs. The only weakness is that the parenthetical shorthand is terse enough to be slightly cryptic to an unfamiliar reader.

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 tool taking a deeply nested AssemblySpec, the description covers placement and arraying but not the overall spec shape or component sourcing. The presence of an output schema means return values need not be detailed, and the mention of BOM and interference is a useful bonus, but an agent would still need to reverse-engineer much of the input contract.

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?

Reported schema description coverage is 0% for the single `spec` argument, so the description must carry the burden. It explains the align→to plus offset/rotate placement convention and linear arraying, but says nothing about the required top-level fields (name, part_no, title, components), the `source` forms, or what bom_extras are for, leaving much of the nested structure unexplained.

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?

States a specific verb and resource: build an assembly from an assembly spec, with placement by CS_ coordinate systems and optional linear array. This clearly separates it from cad_build_part and cad_build_frame in intent, though it never names a sibling or explains the boundary explicitly.

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?

Usage is only implied by the phrase 'per assembly spec' — the agent can infer the tool applies when a full assembly description exists, but there is no statement of when to prefer cad_build_part, cad_build_frame or cad_edit_existing, and no prerequisites or exclusions are given.

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