Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

boolean_common

Computes the common intersection of multiple FreeCAD objects, producing a single result for overlapping geometry.

Instructions

Common (intersection) of multiple objects.

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_names": "<obj_names>"
    },
    "name": "boolean_common"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.Common
doc_nameNoInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
obj_namesYesInternal object Names in the explicit document; export null selects visible final objects, empty selects none.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden and does add real value: unit semantics (mm, mm^2, mm^3 with field overrides), a concrete error taxonomy, and an explicit warning that timeout is not cancellation and mutations must not be blindly retried. It still omits critical mutation behavior — whether source objects are consumed, whether the active document is modified, and whether the operation is reversible.

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?

It is a compact contract-style block with the definition front-loaded and no filler sentences. The semicolon-chained error list is dense but each clause (units, errors, retry warning, legacy shape) is functional rather than decorative.

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?

Since an output schema exists and all three parameters are documented, the description does not need to explain return values, and it correctly stays focused on the contract and failure modes. The remaining gap is the fate of the input objects after the intersection, which the description never addresses.

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, and the description goes beyond it by explaining the unit convention (length mm, area mm^2, volume mm^3, field units override defaults) and the 'explicit internal names recommended' convention. The null/empty semantics of obj_names remain confined to the schema but are already documented there.

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 opens with a specific verb+resource definition: 'Common (intersection) of multiple objects,' which makes the operation unambiguous. It does not, however, name the sibling booleans (boolean_cut, boolean_fuse) that an agent would have to distinguish it from, so differentiation is only implicit through the word 'intersection.'

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to pick this over boolean_cut or boolean_fuse, nor any statement of prerequisites such as requiring at least two objects or an active document. The only directional hint is 'explicit internal names recommended,' which is about argument style rather than tool selection.

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