Skip to main content
Glama
SolidWorks MCP

SolidWorks MCP

by zmf678

add_cone

Creates a solid cone or frustum by revolving a trapezoidal profile 360°, with top diameter 0 giving a full cone. Returns mass properties including volume for verification against a spec.

Instructions

Create a cone/frustum by revolving a trapezoidal profile 360掳.

top_diameter_mm = 0 gives a full cone. Returns mass properties (volume = 蟺路h/3 路 (rb虏 + rb路rt + rt虏)). 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": {
      "bottom_diameter_mm": "<bottom_diameter_mm>",
      "top_diameter_mm": "<top_diameter_mm>",
      "height_mm": "<height_mm>"
    },
    "name": "add_cone"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRevolve
height_mmYes
top_diameter_mmYes
bottom_diameter_mmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it discloses the construction method (360° revolve), the return content (mass properties), and a setup prerequisite. It omits key behavior such as where the cone is positioned (origin/plane), whether it creates a new body or merges with existing geometry, and whether the operation is undoable.

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?

Three short, front-loaded sentences: purpose, special-case hint, then return value and prerequisite — no filler. The character-encoding corruption in the formula (蟺, 虏) slightly hurts readability but does not add verbosity.

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

Completeness3/5

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

For a 4-parameter, zero-coverage, annotation-free solid-creation tool with no output schema, it does cover the return value and a prerequisite. It still leaves placement/orientation and body-creation semantics undefined, which are the details a CAD agent most needs before calling.

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 for the geometric parameters: top_diameter_mm's zero-case is defined and the volume formula ties height_mm, bottom_diameter_mm, and top_diameter_mm together. Only the 'name' parameter (default 'Revolve') is left 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 uses a specific verb ('Create') and an unambiguous resource ('a cone/frustum by revolving a trapezoidal profile 360°'), and clarifies the cone-vs-frustum distinction via top_diameter_mm. It does not explicitly differentiate itself from near neighbors like add_cylinder, add_disc, or add_revolved_profile, which keeps it out of the top band.

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?

It gives one concrete prerequisite ('Use new_part first') and one useful configuration hint (top_diameter_mm = 0 yields a full cone). It never says when to prefer this over add_cylinder or add_revolved_profile, so the guidance is implied rather than explicit.

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