Skip to main content
Glama
U-C4N
by U-C4N

Standard Parts: Insert

std_part_insert

Insert standardized mechanical parts such as fasteners and bearings by designation, writing std_part XDATA so parts lists read directly from the drawing.

Instructions

Define the part's block once, insert it, and write its std_part XDATA.

The block carries DESIG / STD / SIZE / MAT attributes and an ACADMCP_MECH payload, so a parts list is a read of the drawing rather than a naming convention. Refusals, all before any write: a designation outside the transcribed tables (named, with the nearest catalogue entries - nothing is drawn approximately), a malformed designation, a missing or stray nominal length, a view the family does not have, an attribute tag the block does not carry, and a non-finite coordinate or rotation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYesInsertion X (WCS)
yYesInsertion Y (WCS)
viewNoFasteners: side | top. Bearings: simplified (ISO 8826-1) | detailed (ISO 8826-2). The default 'side' falls back to the family's first view.side
layerNoLayer for the INSERT; the block's own primitives keep GEOMETRY / CENTER / HIDDENGEOMETRY
materialNoProperty class or material for the MAT attribute and the XDATA, e.g. '8.8'
rotationNoDegrees CCW; 0 puts the part's axis along +X
designationYes'ISO 4014 - M12x60', 'ISO 4032 - M12', 'ISO 7089 - M12', 'ISO 4762 - M8x30', 'ISO 15 - 6205' (a bare '6205' also works)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only carry readOnlyHint=false, so the description does real work: it discloses the block's attribute/XDATA payload (DESIG/STD/SIZE/MAT, ACADMCP_MECH) and, importantly, that all refusals happen before any write, i.e. the operation is effectively atomic. It does not mention layer creation behavior, undo/transaction interaction, or whether it overwrites an existing insert at the same point.

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 core action, then a compact enumeration of the payload and refusals. Mostly earns its place, though the embedded 'nothing is drawn approximately' aside and the moderate list length add some stylistic padding.

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?

For a write tool with an output schema, the description supplies the behavioral and failure-mode context the schema and single annotation can't: payload contents, validation sources and the full refusal set. What's missing is any note on interaction with transactions/undo and whether repeated inserts are idempotent.

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

Parameters4/5

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

With 100% schema description coverage the baseline is 3, and the description adds genuine meaning on top: it explains the designation formats are table-validated, that 'view' must be one the family actually has, that material feeds the MAT attribute and XDATA, and that non-finite coordinates/rotation are rejected. These constraints go beyond the schema's per-field text.

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 ('Define the part's block once, insert it, and write its `std_part` XDATA'), so an agent knows this inserts a standard-part block reference plus XDATA. It doesn't explicitly contrast itself with close siblings like block_insert, mech_part_draw, or std_part_list, though the parts-list remark hints at the catalogue relationship.

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 implied by the described pre-write refusals (unknown designation, bad view, missing nominal length), which tells the agent the tool validates against transcribed tables. But there is no explicit when-to-use guidance, no named alternative (e.g. std_part_list for browsing, block_insert for generic blocks), and no stated prerequisites such as catalogue availability.

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