Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

boolean_cut

Subtracts one FreeCAD tool object from a base object to create a cut result, returning the new object's internal name for use in further modeling steps.

Instructions

Cut (subtract) tool from base.

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": {
      "base_name": "<base_name>",
      "tool_name": "<tool_name>"
    },
    "name": "boolean_cut"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.Cut
doc_nameNoInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
base_nameYesInternal object Name in the selected document, never Label; must have the type required by this tool.
tool_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.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it enumerates the concrete error codes, explains that timeouts are not cancellation and that mutations must not be blindly retried, notes that FreeCAD may uniquify names, and flags that the legacy return shape is preserved. It does not say what happens to the base and tool objects after the cut (consumed vs. retained) or which permissions/state the mutation requires, which is the main remaining gap for an unannotated mutation.

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?

The operation is front-loaded in the first clause, followed by a compact contract block of units, errors and retry safety. Nothing is redundant, though "Legacy return shape preserved" is cryptic without prior knowledge of the older API.

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?

The tool is a two-operand mutation with an output schema and no annotations; the description supplies the safety-critical pieces (error taxonomy, timeout/retry policy) that the schema cannot. The absence of any statement about post-operation object state or the base object's fate is the only meaningful hole.

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 name, doc_name, base_name and tool_name are already fully documented as internal Names with type constraints. The description adds only the "explicit internal names recommended" convention and unit-default commentary that does not map to any parameter in this schema. That is a marginal, not a substantive, addition beyond the schema.

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?

"Cut (subtract) tool from base" names a specific operation and its two operands, which is enough to separate it from boolean_fuse and boolean_common without opening schemas. It stops short of explicitly stating the contrast with those siblings, so it is clear but not fully differentiated.

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 by "cut (subtract)" and reinforced by "explicit internal names recommended," but there is no explicit when-to-use/when-not guidance versus boolean_fuse or boolean_common, and no stated preconditions such as which object types are acceptable. The agent must infer the alternative from the sibling names.

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