Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

part_split

Splits a FreeCAD shape using one cutting shape or a document-global plane, dividing a solid into separate parts by specifying a tool object or plane origin and normal.

Instructions

Split a shape using exactly one cutting shape or document-global plane.

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_split"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.Split
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.
tool_nameNoInternal object Name in the selected document, never Label; must have the type required by this tool.
plane_normalNoDimensionless nonzero document-global normal vector [x,y,z] for the splitting plane.
plane_originNoThree document-global coordinates [x,y,z] in mm locating the splitting plane.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.8/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 enumerates the error taxonomy (invalid_arguments, transaction_conflict, execution_timeout), warns that timeout is not cancellation and mutations must not be blindly retried, and notes field units override defaults. It omits the fate of the source shape and the relationship of the returned halves, which matter for a mutating geometry op.

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 operation and its key constraint, then a compact contract block for naming, units, and errors. A few lines are near-filler ('transport failures are possible', the cryptic 'Legacy return shape preserved') but the density is high overall.

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 6-parameter mutating geometry tool with no annotations and an existing output schema, the description covers units, error surfaces, non-idempotency, and parameter exclusivity. The main residual gap is what happens to the original object versus the newly named result.

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 coverage is 100%, so baseline is 3; the description adds meaning the schema does not, namely that tool_name and the plane_normal/plane_origin pair are mutually exclusive alternatives for defining the cut. It also reinforces explicit internal naming and the unit-override rule, both of which bear on how the supplied names are interpreted.

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 (split) and resource (a shape) plus the cardinal constraint that exactly one cutting shape or document-global plane is used. That distinguishes it from construction siblings like part_box or part_extrude, though it never names a near-neighbor such as part_section for contrast.

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 'exactly one cutting shape or document-global plane' phrasing implies the mutually exclusive ways to invoke it, but there is no explicit when-to-use/when-not guidance and no named alternative for sectioning versus splitting. Usage is inferable rather than stated.

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