Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

part_revolve

Revolve a wire or face around a document-global axis by a specified angle to create a solid or shell feature in FreeCAD.

Instructions

Revolve a wire or face around a document-global axis; angle is degrees.

Contract: explicit internal names recommended. Length mm, area mm^2, volume mm^3; field units override defaults. Errors: invalid_arguments, document_not_found, object_not_found, transaction_conflict, operation_failed, execution_timeout; transport failures are possible. Timeout is not cancellation: never blindly retry mutations. Legacy return shape preserved.

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": {
      "obj_name": "<obj_name>"
    },
    "name": "part_revolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.Revolution
angleNoangle: deg, feature_axis.
solidNoPartDesign supports only true (solid); false is rejected. Shells belong to Part.
axis_xNoDimensionless rotation-axis vector component in parent coordinates; vector must be nonzero.
axis_yNoDimensionless rotation-axis vector component in parent coordinates; vector must be nonzero.
axis_zNoDimensionless rotation-axis vector component in parent coordinates; vector must be nonzero.
center_xNocenter_x: mm, document_global.
center_yNocenter_y: mm, document_global.
center_zNocenter_z: mm, document_global.
doc_nameNoInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
obj_nameYesInternal object Name in the selected document, never Label; must have the type required by this tool.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.6/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 substantial work: it declares the unit system (mm, mm^2, mm^3) with field-level overrides, enumerates the concrete error codes returned, warns that transport failures are possible, and states that timeouts are not cancellations so mutations should not be blindly retried. That is exactly the mutation-safety context an agent needs. It stops short of saying whether a failed revolve leaves a partial feature behind.

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?

Front-loaded with the core verb and resource in the first clause, followed by a compact 'Contract:' block covering units and errors. The style is dense but every sentence carries operative information; the only filler is the vague closing 'Legacy return shape preserved'.

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?

Errors, units and retry safety are all covered, and an output schema exists so return values need not be explained. However, for an 11-parameter geometry tool the description says the axis is 'document-global' while the schema places the axis vector in parent coordinates and only the center in document_global — an ambiguity the description should have resolved rather than introduced.

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 description coverage is 100%, so the schema already documents all 11 parameters, including units and coordinate systems; the description's baseline is therefore 3. It adds a little cross-parameter meaning ('explicit internal names recommended', field units override defaults, angle in degrees) but largely restates what the schema and unit annotations already encode.

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?

States a specific verb and resource pair — 'Revolve a wire or face around a document-global axis' — which is precise, and even names the accepted input geometry types. It does not, however, distinguish itself from nearby siblings such as part_extrude, part_sweep or part_loft, so an agent must already know which modeling op it wants.

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?

Usage is implied only through the input constraint ('a wire or face'), which tells the agent what a valid profile looks like, and through 'explicit internal names recommended'. There is no explicit when-to-use / when-not-to-use statement and no named alternative for swept or extruded geometry.

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