Skip to main content
Glama
hjbaard

SolidWorks-MCP

add_swept_pipe

Sweep a circular profile along a 2D centreline path on the Front plane to create a pipe, tube, or rod, with bend radius for corners and optional spline smoothing. Returns mass properties.

Instructions

Sweep a circular profile (pipe/tube/rod) along a 2D path on the Front plane.

path_mm = [[x, y], …] in mm is the centreline. Interior corners are rounded with bend_radius_mm (required when the path turns; a 2-point straight path needs none); smooth=True runs a spline through the points instead, a flowing curve. diameter_mm = outer Ø; the round profile is auto-generated perpendicular to the path. Returns mass properties (pi r^2 x path_length_mm). Use new_part first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoPipe
smoothNo
path_mmYes
diameter_mmYes
bend_radius_mmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.13.0
    • addedInput schema / properties / smooth
      Added value: +{
      +  "default": false,
      +  "title": "Smooth",
      +  "type": "boolean"
      +}
  2. First observedv0.4.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden and discloses useful traits: the round profile is auto-generated perpendicular to the path, smooth creates a spline, bend radius is conditional, and it returns mass properties via pi r^2 x path_length_mm. It stops short of covering error conditions or document-context requirements beyond 'Use new_part first'.

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 front-loaded with the action and resource, then explains the key parameters and return value in a few dense sentences. Every sentence adds useful instruction or behavior; no filler or repetition of the schema.

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 feature-creation tool with no annotations and no output schema, it covers the core geometry, parameter semantics, prerequisite part context, and return-value formula. Minor gaps remain around the optional name parameter and explicit failure modes, but an agent has enough to invoke it correctly.

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 description coverage is 0%, so the description must compensate, and it largely does: path_mm is [[x, y], ...] in mm as the centreline, diameter_mm is the outer diameter, bend_radius_mm is required when the path turns, and smooth runs a spline. Only the optional name parameter is not described, which is a minor gap.

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: sweep a circular profile (pipe/tube/rod) along a 2D path on the Front plane. It is clear what solid is created and its geometric scope, but it does not explicitly differentiate itself from the generic sibling add_swept_profile or other sweep/profile tools.

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?

Provides prerequisite context ('Use new_part first') and conditional guidance for bend_radius_mm and smooth, which implies when the tool applies. However, it gives no explicit alternatives or when-not-to-use guidance versus siblings such as add_swept_profile or add_cylinder.

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