Skip to main content
Glama
SolidworksMCP-python

SolidworksMCP-python

Create Cut Sweep

create_cut_sweep

Sweeps a closed profile along a path to remove material, enabling modeled threads, helical grooves, or channels along curves in a SolidWorks part.

Instructions

Beta: new: checked live once (a thread cut on a rod), not yet in wide use.

Sweep a closed profile along a path to remove material (Insert > Cut > Sweep).

Use it for a modelled thread, a helical groove or a channel along a curve: as create_cut_extrude is to create_extrusion. The path and profile are chosen as for create_sweep (a helix from create_helix and a profile sketch at its start point, or circular_profile_diameter). The volume must go down, or the cut is removed and the call fails. Needs: an open part with a solid the profile overlaps. Changes: adds a Cut-Sweep feature. Returns: cut_sweep with name, profile, path and volume_before, volume_after, volume_change (mm³, negative).

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": {
      "input_data": "<input_data>"
    },
    "name": "create_cut_sweep"
  }
}

Input Schema

NameRequiredDescriptionDefault
input_dataYesThe cut. `path` is required; `profile`, `circular_profile_diameter`, `twist_along_path` and `twist_angle` (degrees) have defaults.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses a failure mode with side effect ('The volume must go down, or the cut is removed and the call fails'), the prerequisite model state, and what the operation changes ('adds a Cut-Sweep feature'). The beta/'checked live once' caveat is exactly the kind of reliability signal annotations cannot carry.

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?

Dense and largely front-loaded, with the core action stated early and prerequisites/returns in a compact tail. Minor cost: the beta disclaimer occupies the first line ahead of the purpose, and the return-field enumeration duplicates the output schema.

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?

A nested, single-required-param mutation tool is fully covered: purpose, preconditions, failure behavior, effect on the model, and return values are all stated. Nothing an agent needs in order to invoke it correctly is missing, even ignoring the output schema.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds cross-tool meaning by explaining how path and profile are chosen (a helix from create_helix with a profile sketch at its start point, or circular_profile_diameter). Twist parameters are left entirely to the schema.

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?

States a specific verb and resource: 'Sweep a closed profile along a path to remove material', plus the UI location (Insert > Cut > Sweep). It also distinguishes itself from siblings via the explicit analogy 'as create_cut_extrude is to create_extrusion', so an agent can place it relative to create_sweep and create_cut_extrude without opening their schemas.

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 concrete use cases (modelled thread, helical groove, channel along a curve) and routes path/profile selection to create_sweep / create_helix conventions. Preconditions are spelled out ('an open part with a solid the profile overlaps'). It stops short of an explicit when-not statement (e.g. use create_cut_extrude for a straight cut), leaving that to the analogy.

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