Skip to main content
Glama

Block Out Assembly from Parts List

blockout_assembly
Idempotent

Use this when you have a list of parts with bounding boxes and positions (from a layout, spreadsheet, another tool or a sketch) and need an evaluable placeholder assembly script. Pass parts as { name, bbox_mm:[x,y,z], position_mm:[x,y,z], rotation_deg?, anchors? } in mm; position_mm locates the bbox lower corner and anchors are named points in assembly coordinates. Optional connections [{ from, to }] reference anchors as "part.anchor" (including built-ins origin, bbox_center, bbox_x_min..bbox_z_max) and become fastened mates that express connectivity intent only; no wire or route geometry is generated. Returns the script (corner-anchored box solids with named connectors) plus warnings. It reads no files and cuts nothing; refine the solids with add_part/add_feature afterwards.

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": {
      "parts": "<parts>"
    },
    "name": "blockout_assembly"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoAssembly name, default "blockout".
partsYes
connectionsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedInput schema / properties / parts / items / properties / anchors / items / properties / positionMm
      Removed value: -{
      -  "description": "Anchor point in assembly coordinates, mm.",
      -  "items": {
      -    "type": "number"
      -  },
      -  "maxItems": 3,
      -  "minItems": 3,
      -  "type": "array"
      -}
    • addedInput schema / properties / parts / items / properties / anchors / items / properties / position_mm
      Added value: +{
      +  "description": "Anchor point in assembly coordinates, mm.",
      +  "items": {
      +    "type": "number"
      +  },
      +  "maxItems": 3,
      +  "minItems": 3,
      +  "type": "array"
      +}
    • changedInput schema / properties / parts / items / properties / anchors / items / required
      Previous value: -[
      -  "name",
      -  "positionMm"
      -]New value: +[
      +  "name",
      +  "position_mm"
      +]
    • removedInput schema / properties / parts / items / properties / bboxMm
      Removed value: -{
      -  "description": "Box dimensions [x,y,z] in mm.",
      -  "items": {
      -    "type": "number"
      -  },
      -  "maxItems": 3,
      -  "minItems": 3,
      -  "type": "array"
      -}
    • addedInput schema / properties / parts / items / properties / bbox_mm
      Added value: +{
      +  "description": "Box dimensions [x,y,z] in mm.",
      +  "items": {
      +    "type": "number"
      +  },
      +  "maxItems": 3,
      +  "minItems": 3,
      +  "type": "array"
      +}
    • removedInput schema / properties / parts / items / properties / positionMm
      Removed value: -{
      -  "description": "Bbox lower corner in assembly coordinates, mm.",
      -  "items": {
      -    "type": "number"
      -  },
      -  "maxItems": 3,
      -  "minItems": 3,
      -  "type": "array"
      -}
    • addedInput schema / properties / parts / items / properties / position_mm
      Added value: +{
      +  "description": "Bbox lower corner in assembly coordinates, mm.",
      +  "items": {
      +    "type": "number"
      +  },
      +  "maxItems": 3,
      +  "minItems": 3,
      +  "type": "array"
      +}
    • removedInput schema / properties / parts / items / properties / rotationDeg
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "items": {
      -        "type": "number"
      -      },
      -      "maxItems": 3,
      -      "minItems": 3,
      -      "type": "array"
      -    }
      -  ],
      -  "description": "Rotation about Z as a number, or XYZ Euler degrees as [x,y,z]."
      -}
    • addedInput schema / properties / parts / items / properties / rotation_deg
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "items": {
      +        "type": "number"
      +      },
      +      "maxItems": 3,
      +      "minItems": 3,
      +      "type": "array"
      +    }
      +  ],
      +  "description": "Rotation about Z as a number, or XYZ Euler degrees as [x,y,z]."
      +}
    • changedInput schema / properties / parts / items / required
      Previous value: -[
      -  "name",
      -  "bboxMm",
      -  "positionMm"
      -]New value: +[
      +  "name",
      +  "bbox_mm",
      +  "position_mm"
      +]
  2. Added

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, it discloses that connections become fastened mates expressing 'connectivity intent only', that 'no wire or route geometry is generated', that output includes warnings, and that the tool performs no file reads or cutting. This is precisely the extra context the readOnlyHint=false / destructiveHint=false / idempotentHint=true annotations do not by themselves convey.

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?

Front-loaded with the 'Use this when...' trigger and dense with useful detail, with essentially no filler. The single long sentence covering the parts/connections format is heavy to parse but every clause carries information.

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?

For a script-generating tool with three parameters, the definition covers input format, anchor/connection semantics, behavioral limits, and return summary. An output schema exists, so the brief mention of 'script plus warnings' is sufficient rather than redundant.

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?

With only 33% schema description coverage, the description does the lifting: it enumerates the part fields, explains that position_mm locates the bbox lower corner, defines anchors as named points in assembly coordinates, and specifies the 'part.anchor' reference format plus built-in anchors (origin, bbox_center, bbox_x_min..bbox_z_max). Only the top-level assembly 'name' is left to the schema, which documents it adequately.

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 names a specific verb+resource ('block out' an 'assembly' from a 'list of parts with bounding boxes and positions') and gives the output artifact ('an evaluable placeholder assembly script'). It also distinguishes itself from the refine-path siblings by pointing to add_part/add_feature for downstream detail.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the exact triggering condition ('when you have a list of parts with bounding boxes and positions... from a layout, spreadsheet, another tool or a sketch') and the exclusions ('It reads no files and cuts nothing'), plus the explicit follow-up alternative ('refine the solids with add_part/add_feature afterwards').

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.