Skip to main content
Glama
SolidWorks-MCP

SolidWorks-MCP

add_boss_on_face

Creates a round boss, peg, or PCB standoff on any planar face at specified coordinates using diameter and height; optionally includes a blind top hole for standoff use.

Instructions

Grow a round boss (standoff, peg) height_mm out of ANY planar face, centred at (x, y, z) mm.

The face is found as for add_hole_on_face. For a PCB standoff, add a blind hole in its top. from_edges works as for add_hole_on_face. Returns mass properties and dimensions.

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": {
      "diameter_mm": "<diameter_mm>",
      "face": "<face>",
      "x_mm": "<x_mm>",
      "y_mm": "<y_mm>",
      "z_mm": "<z_mm>",
      "height_mm": "<height_mm>"
    },
    "name": "add_boss_on_face"
  }
}

Input Schema

NameRequiredDescriptionDefault
faceYes
nameNoBoss
x_mmYes
y_mmYes
z_mmYes
height_mmYes
from_edgesNo
diameter_mmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.19.0
    • addedInput schema / properties / from_edges
      Added value: +{
      +  "default": false,
      +  "title": "From Edges",
      +  "type": "boolean"
      +}
  2. Addedv0.5.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioural burden; it does disclose that the call returns mass properties and `dimensions`, which is real added value. It does not say whether the boss is fused into the existing body, what happens on a non-planar face, or whether the operation is reversible, so a mutation tool's risk profile stays partly opaque.

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?

Four short sentences, front-loaded with the core verb-and-resource statement, with no filler. The cross-references are terse to the point of being under-specified, but nothing is wasted.

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 an 8-parameter geometry-creation call with zero annotation coverage and no output schema, the description covers the geometric intent and return values but leaves the `face` selector syntax, the edge-relative mode, and merge/failure behaviour undocumented. An agent could attempt the call but would likely need to consult add_hole_on_face first.

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

Parameters2/5

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

Schema description coverage is 0% across 8 parameters, so the description must compensate and only partly does: it clarifies units for x/y/z/height and that the boss is round (diameter). The `face` string format is never explained, and `from_edges` is defined only by cross-reference ('works as for add_hole_on_face'), forcing the agent to open another tool definition before it can fill in two of the eight fields.

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 ('Grow a round boss (standoff, peg)') plus the geometric inputs (planar face, centre x/y/z, height) so an agent knows exactly what solid gets created. It does not name the close siblings (add_cylinder, add_extruded_profile_on_face, add_hole_on_face) as alternatives, so differentiation is left implicit.

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?

Offers one concrete usage scenario (PCB standoff, with a blind hole in the top) and defers face-finding and `from_edges` behaviour to add_hole_on_face, which is useful routing. It never says when to prefer this over add_cylinder or add_extruded_profile_on_face, and gives no preconditions such as the face being planar.

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