Skip to main content
Glama
hjbaard

SolidWorks-MCP

add_lofted_solid

Blend two or more closed profiles on stacked parallel planes into a lofted solid, returning its mass properties. Build a ruled or smooth transition from polygon or round sections.

Instructions

Loft (blend) 2+ closed profiles on parallel planes stacked along +Z.

profiles_mm: per profile a polygon [[x,y],…] (mm) in Front-plane coords, or a round section {"center_mm": [x, y], "diameter_mm": d} (thick at the knee, thin at the foot, centres free to wander). heights_mm = the +Z offset (mm) of each profile, same length, strictly increasing, starting at 0. A 2-profile loft is a ruled transition; 3+ blend smoothly. Each profile starts at its first vertex (a round one on +x): give polygons in a consistent vertex order to avoid twist. Returns mass properties. Use new_part first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoLoft
heights_mmYes
profiles_mmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does so well: it discloses that 2 profiles give a ruled transition while 3+ blend smoothly, that centers may wander, the vertex-order twist hazard, and that the tool returns mass properties. It does not state permissions or whether the operation is reversible, which keeps it from a 5.

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?

Purpose is front-loaded in the first clause, and every following sentence adds a distinct constraint (ordering, length, twist). The heavy parenthetical asides make it denser than ideal, but no sentence is filler.

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 complex geometry tool with no annotations and no output schema, the description covers inputs, ordering rules, the ruled-vs-smooth distinction, and the return (mass properties). It is nearly complete, missing only failure modes or unit/permission caveats.

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%, so the description must compensate and it does: profiles_mm is explained as either a polygon of [x,y] pairs in Front-plane coords or a round {center_mm, diameter_mm} section, and heights_mm is described as a strictly increasing +Z offset list of equal length starting at 0.

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 (Loft/blend) and resource (closed profiles on parallel planes along +Z), with enough detail to distinguish it from siblings like add_swept_profile and add_revolved_profile without opening the schema.

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?

Gives one concrete prerequisite ('Use new_part first') and implicitly frames the tool as a solid-creation step, but never states when to choose loft over the neighbouring sweep/extrude/revolve tools. Usage is implied rather than routed.

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