Skip to main content
Glama
FullyDefined – AI for SOLIDWORKS

FullyDefined – AI for SOLIDWORKS

revolve_sketch

Create a revolved solid or revolved cut from the most recent sketch by rotating its closed profile around a centerline, with control over angle, direction, and merging.

Instructions

Revolve the most recent sketch about a centerline drawn in that sketch (draw_centerline). The profile must be closed and lie on one side of the centerline. cut=true makes a revolved cut.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "revolve_sketch"
  }
}

Input Schema

NameRequiredDescriptionDefault
cutNoRemove material instead of adding it
axisNoName of the centerline to use (e.g. 'Line5') when the sketch has more than one
flipNoRevolve in the opposite direction (matters below 360)
angleNoAngle in degrees (360 = full revolution)
mergeNoMerge new material into the body it touches

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 burden and does disclose that this mutates the model, that cut removes rather than adds material, and that the centerline must already exist in the sketch. It omits error behavior (what happens if no sketch is active or the profile is open) and whether the sketch is consumed, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and the geometry constraint, with no filler. Every clause carries either a precondition or a mode switch.

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, all-optional mutation tool with a fully annotated schema and no output schema, the definition covers the key geometry preconditions and the cut mode. It would be stronger if it said what happens when no sketch is active or when preconditions fail, but nothing essential for a correct call is missing.

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

Parameters3/5

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

Schema coverage is 100%, so all five parameters are already documented in the schema. The description adds only marginal meaning ('cut=true makes a revolved cut') and implicitly explains the absence of a sketch parameter via 'most recent sketch'; the axis, flip, angle and merge semantics are left entirely to the schema. Baseline 3 is appropriate.

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 and resource ("Revolve the most recent sketch") and pins down the geometry source, the centerline drawn via the sibling tool draw_centerline. An agent can immediately distinguish this from extrude_sketch or draw_centerline without opening a 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 concrete preconditions for use: the profile must be closed and must lie on one side of the centerline, and cut=true is the mode for a revolved cut. It does not explicitly say when to prefer this over extrude_sketch or what to do on failure, but the gating conditions are clear.

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