Skip to main content
Glama

Add Bearing

add_bearing

Add a deep-groove ball bearing envelope to size shaft, housing bore, and shoulder spacing. Choose a standard designation or explicit bore, OD, and width.

Instructions

Add a deep-groove ball bearing as an assembly envelope solid: an annular ring (outer-diameter cylinder minus bore cylinder) of the given width, axis along +Z. Balls/races are not modeled — this is the fit envelope a coordinator needs to size the shaft, the housing bore, and the shoulder spacing.

Specify dimensions ONE of two ways:

  • designation: a standard metric series code, looked up in a built-in table. Known: "608", "623", "624", "625", "626", "688", "6000", "6200", "6800", "6900". (e.g. "608" -> bore 8, OD 22, width 7 mm.)

  • bore + outer_diameter + width: explicit dims in mm (all three required). Explicit values override a designation's table values when both are given.

bore: inner-bore diameter mm (sizes the shaft). outer_diameter: OD mm (sizes the housing bore). width: axial length mm (shoulder spacing). placement: optional [x, y, z] mm translation of the bearing's near face.

seals: open (default) | RS | 2RS | RZ | 2RZ | Z | 2Z. It changes no geometry — the envelope is identical — but it IS part of the orderable identity: 608, 608-2Z and 608-2RS are three different purchases with different drag, speed limits and prices. It is folded into the canonical designation stamped on the part ("608-2RS").

A bearing built from raw bore/OD/width with NO designation is a dimensional envelope, not a purchasable part, and is deliberately left undesignated rather than given a made-up catalog number.

Raises ValueError if the designation is unknown and dims are incomplete, or if outer_diameter <= bore.

Returns {handle, name, designation, bore, outer_diameter, width, volume, orderable, catalog}. handle starts "bearing_". designation is None when built from explicit dims; orderable is the designation card, whose own designation carries the seal suffix; catalog is the off-the-shelf verdict (stocked or not, None for an undesignated envelope).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boreNo
nameNoBearing
sealsNoopen
widthNo
placementNo
designationNo
outer_diameterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description goes well beyond the annotations by detailing error conditions ('Raises ValueError if the designation is unknown... or if outer_diameter <= bore'), the return payload with field meanings (handle, designation, orderable, catalog), and the semantic distinction between an orderable designation and a raw dimensional envelope. It also clarifies that seal variants do not change geometry but are part of the orderable identity, which is non-obvious behavior. No contradiction with the readOnlyHint=false annotation.

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 front-loaded with the core purpose and geometry, then organizes the two specification modes, seal semantics, and error/return behavior in a logical flow. While it is long (about 300 words), each section carries necessary semantic detail and no filler. It could be more scannable with bullets, but the paragraph structure is coherent.

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 tool has no output schema and the annotations are minimal, the description compensates by explaining the full return contract: the returned handle prefix, the None designation for explicit-dimension envelopes, and the orderable/catalog semantics. It also covers coordinate orientation, placement, and error cases. The only missing context is the 'name' parameter, which is a minor defaulted field.

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 0% schema coverage, the description must explain all parameters and largely does: bore, outer_diameter, width, designation, seals, and placement each receive explicit meaning and application (e.g., 'bore: inner-bore diameter mm (sizes the shaft)'). It even provides a known-designation list and an example mapping. The only omitted parameter is 'name', which is a generic defaulted string, so the gap is minor.

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 opens with a specific verb and resource: 'Add a deep-groove ball bearing as an assembly *envelope* solid'. It clarifies the geometric nature (annular ring, axis along +Z, balls/races not modeled) and distinguishes it from other mechanical component adders like add_gear or add_pulley. The mention of the coordinator's sizing needs further specifies its role.

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 states the intended use case: 'the fit envelope a coordinator needs to size the shaft, the housing bore, and the shoulder spacing.' It also explains the two mutually exclusive input modes (designation vs explicit dims) and when explicit values override table values. However, it does not name sibling alternatives or explicitly say when not to use this tool.

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