Skip to main content
Glama

sw_spring

Creates a coil spring in SolidWorks from coil diameter, wire diameter, pitch, and revolutions by generating a circle, helix, and swept wire.

Instructions

Coil spring in one call (circle -> helix -> swept wire).

Input Schema

NameRequiredDescriptionDefault
docNoDocument title or path. Defaults to the active document.
nameNoOptional name for the new feature.
pitchYes
planeNotop
centerNo
clockwiseNo
revolutionsYes
coil_diameterYesMean coil diameter (mm).
wire_diameterYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is known. The description adds the useful behavioral detail that the spring is built via a three-step construction (circle, helix, swept wire), which explains what geometry ends up in the model. It does not disclose whether it adds a feature to the tree, requires an open document, or what happens on failure.

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?

A single front-loaded sentence with no filler. It is efficient, though the terseness contributes to the missing usage and parameter guidance rather than resolving it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 9-parameter mutating geometry generator with no output schema and only a third of its parameters documented. The description does not cover the units/conventions (pitch in mm, center as a 2D point on the chosen plane), the plane options, or the resulting feature. Given the complexity, substantially more context is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: only doc and coil_diameter are documented, while pitch, wire_diameter, plane, center, clockwise and revolutions have no schema descriptions. The description text says nothing about any parameter, so it does not compensate for the gap – for example, the valid values for plane ('top' default is ambiguous) or the unit/meaning of pitch remain unexplained.

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?

The description names a specific resource (a coil spring) and states it is produced in a single call, with the construction sequence 'circle -> helix -> swept wire' making the operation concrete. An agent can distinguish it from the low-level siblings sw_helix and sw_sweep because this is a composite one-shot generator. It stops short of saying explicitly that it creates a new feature in the model tree.

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?

The parenthetical 'circle -> helix -> swept wire' implies this should be preferred over manually chaining sw_create_sketch/sw_helix/sw_sweep, but no sibling is named and no condition for preferring it is stated. There is no guidance on preconditions (open document, active document) or when it would fail.

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