Skip to main content
Glama
SolidWorks MCP

SolidWorks MCP

by zmf678

add_revolved_profile

Creates a revolved solid or ring by spinning a closed profile around a Front-plane axis, with optional corner radii, and returns mass properties.

Instructions

Revolve a closed profile on the Front plane about an axis in it.

Without axis_mm: profile_mm = [[r, z], 鈥 in mm, r = distance from the Y axis, z = position along it. With axis_mm = [[x1, y1], [x2, y2]]: profile_mm gives [x, y] points and the axis is the line through those two points, anywhere and at any angle (a hub turned about its own centre). Auto-closed and spun angle_deg (default 360掳). Points on the axis give a solid (shafts, vases); a profile away from it gives a ring. The profile may not cross the axis. corner_radii_mm rounds corners as for add_extruded_profile (not those on the axis). Returns mass properties. Use new_part first.

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": {
      "profile_mm": "<profile_mm>"
    },
    "name": "add_revolved_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRevolve
axis_mmNo
angle_degNo
profile_mmYes
corner_radii_mmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.0

TDQS

A4.3/5.0
Behavior4/5

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

With zero annotations the description carries the full load, and it does disclose real behavior: the profile is auto-closed, angle defaults to 360 degrees, the profile may not cross the axis, axis-adjacent points yield a solid while offset profiles yield rings, and it returns mass properties. It omits failure behavior and whether an existing body is consumed, which keeps it below 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?

Information is front-loaded and dense with no filler sentences, but the middle is a run-on block mixing axis modes, closure, and geometry outcomes. Garbled characters ('鈥', '掳') where an ellipsis and degree sign should be slightly impair readability.

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 five-parameter geometry-creation tool with no annotations and no output schema, the description covers the coordinate conventions, constraints, defaults and even the return value ('mass properties'). Remaining gaps relate to units and post-call body state rather than to how to invoke it.

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 does: axis_mm's two distinct modes (implicit Y-axis r/z values vs. explicit two-point line at any angle) and profile_mm's coordinate meaning are spelled out, as is angle_deg's default and corner_radii_mm's semantics and axis exception. Only the 'name' parameter is left unexplained.

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 precise verb-plus-resource statement: 'Revolve a closed profile on the Front plane about an axis in it.' That is specific enough to separate it from extrusion, sweep and loft siblings without opening any schema.

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 an explicit prerequisite ('Use new_part first') and concrete use-case framing (shafts, vases, rings, hub turned about its own centre). It never names a when-not case or an explicit alternative tool, so it stops short of a 5.

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