Skip to main content
Glama
NejcDvorsek

SolidWorks MCP

by NejcDvorsek

cut_profile

Cuts polygonal pockets, slots, or windows from a part using supplied profile points, with optional face or plane placement, depth or through-all, rotation, and corner rounding.

Instructions

Cut a polygonal pocket, slot or window; the polygon is auto-closed.

  • Default: points_mm = [[x,y], ...] cut down from the +Z face. rotate_deg turns the profile about about_mm as for add_extruded_profile (notches at +/-60 degrees around a pivot).

  • face='+x' (or ...): points_mm = [[x,y,z], ...] on one face facing that way, found through them; for side pockets and cutouts.

  • plane='right' ('front' z = 0, 'top' y = 0, 'right' x = 0, or 'Plane1'): points_mm = 3D points ON that plane, cut symmetric about it. For shapes seen from the side: wedges, windows, symmetric recesses. keep_inside=True cuts away everything OUTSIDE the profile (through all): extrude the front view, cut the side view with keep_inside, and the part is the 3D shape both views agree on.

Blind by depth_mm (with plane=: in total, centred on the plane), or through all when omitted. corner_radii_mm rounds the corners as for add_extruded_profile. Returns mass properties.

Input Schema

NameRequiredDescriptionDefault
faceNo
nameNoCut
planeNo
about_mmNo
depth_mmNo
points_mmYes
rotate_degNo
keep_insideNo
corner_radii_mmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.3

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose key behaviors: polygon auto-closure, through-all when depth is omitted, symmetric cutting about a plane, corner rounding, and that mass properties are returned. It omits whether the cut is reversible/feature-tree recorded and any failure conditions.

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?

Bulleted, front-loaded and information-dense, with no filler sentences. Minor awkwardness ('turns the profile about about_mm as for add_extruded_profile' and the doubled 'about') slightly hinders parsing.

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 9-parameter mutation tool with no annotations and no output schema, the description covers geometry modes, depth behavior, and the return value (mass properties). Not covered: interaction with feature history/naming, or errors on invalid/self-intersecting profiles.

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 coverage is 0%, and the description compensates thoroughly: points_mm dimensionality varies by mode (2D vs 3D), face, plane semantics with example values, about_mm as pivot for rotate_deg, depth_mm as blind vs through-all, keep_inside inversion, and corner_radii_mm. Only 'name' is undocumented, a minor omission.

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?

Opens with a specific verb+resource: 'Cut a polygonal pocket, slot or window', which immediately separates it from sibling cutters like cut_slot and cut_offset_pocket by emphasizing arbitrary polygons. The auto-close behavior is noted up front.

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?

Gives clear mode-selection guidance: default +Z face, face='+x' for side pockets, plane= for side-view shapes, and keep_inside for intersect-two-views work. It does not explicitly say when to prefer this over cut_slot / cut_offset_pocket / cut_sketch, leaving one inference gap.

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