Skip to main content
Glama
danielproxd2

MCP_CAD

by danielproxd2

build_flange_boss

Creates a cylindrical boss on a sketch plane with optional through-bore. Specify center, outer diameter, height, and bore diameter for a single composite feature.

Instructions

Crear un saliente cilíndrico (con barreno opcional pasante).

Junior workflow: "agrega un saliente de O40mm x 8mm en el centro, con barreno O20mm". Composes a sketch+circle+extrude_sketch for the boss, plus an optional sketch+circle+extrude_cut for the through bore.

Args: plane: Sketch plane the boss sits on. Same name conventions as build_rectangular_pocket. center_x_mm, center_y_mm: Boss center in sketch coords. outer_diameter_mm: Outer diameter of the boss cylinder. > 0. height_mm: Boss extrusion height (positive). bore_diameter_mm: If set, drills a through-bore at the boss centerline. Must be > 0 and < outer_diameter_mm. The bore is colinear with the boss by construction (same sketch plane, same center coords). reverse_extrude: If True, the boss grows opposite the SW-default direction along the sketch plane normal. Useful when the boss should sit on the opposite side of the parent body. bore_target_bodies: Restrict the through-bore to these body names (from get_active_part_info "bodies"). None (default) lets SW cut every body the bore intersects — pass [the boss/parent body] to stop the through_all bore from punching unintended bodies in a multi-body / multi-wall part (the caveat below).

Returns: {"boss": Feature info, "bore": Feature info | None}.

Caveat: the bore (when requested) goes "through_all" so it punches through everything in its path unless bore_target_bodies scopes it. For blind bores, call extrude_cut separately after this composite.

Example — bearing seat O40mm x 8mm with O20mm through-bore on Top plane: build_flange_boss("top", 0, 0, 40, 8, bore_diameter_mm=20)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planeYes
height_mmYes
center_x_mmYes
center_y_mmYes
reverse_extrudeNo
bore_diameter_mmNo
outer_diameter_mmYes
bore_target_bodiesNo
Behavior5/5

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

No annotations are provided, so the description carries full burden. It details the composite operation, default direction, through_all behavior for the bore, and caveats about unintended cuts. It also explains the colinear construction and return format.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a summary, example, parameter list, returns, caveat, and usage example. It is front-loaded and every sentence adds value. Though lengthy, it is justified for the tool's complexity.

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 no output schema, the description includes return format. It thoroughly covers all 8 parameters with constraints and examples, plus caveats. This provides complete context for an AI agent to use the tool correctly.

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?

Schema description coverage is 0%, but the description fully documents each parameter with conditions (e.g., bore_diameter_mm > 0 and < outer_diameter_mm, reverse_extrude effect, bore_target_bodies scoping). This adds significant meaning beyond the schema's bare titles.

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 clearly states it creates a cylindrical boss with optional through bore, using specific verbs like 'crear' and 'composes'. It distinguishes from sibling tools by describing its composite nature (sketch+extrude for boss and optional bore). The example clarifies the purpose.

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 provides a junior workflow example and explicit exclusion: 'For blind bores, call extrude_cut separately after this composite.' It also advises when to use bore_target_bodies. However, it does not contrast with similar sibling tools like build_stepped_shaft or build_threaded_boss.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielproxd2/solidworks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server