Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_boolean_xor

Creates an exclusive OR (XOR) between two FreeCAD objects, keeping only their non-overlapping parts to isolate unique geometry.

Instructions

Boolean XOR: keep only the non-overlapping parts of two objects (exclusive OR)

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": {
      "object1": "<object1>",
      "object2": "<object2>"
    },
    "name": "freecad_boolean_xor"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName for the result
object1YesName of the first object
object2YesName of the second object

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it only covers the geometric result. It does not say whether the two input objects are consumed or preserved, whether the result is a new object (the 'name' parameter hints at one but this is never stated), what happens on non-intersecting or invalid geometry, or 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.

Conciseness5/5

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

A single sentence with the operation name front-loaded, followed immediately by the discriminating definition. There is no filler and nothing redundant with the title or schema.

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?

For a three-parameter mutation tool with no annotations and no output schema, the description covers the core effect but omits what an agent most needs beyond that: whether inputs are destroyed, what the return value looks like, and failure modes. The fully documented schema compensates for the parameter side, keeping it at minimum-viable completeness.

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% and all three parameters are documented inline ('Name for the result', 'Name of the first object', 'Name of the second object'). The description adds nothing about parameters, which is acceptable at this coverage level, though it also fails to clarify that names refer to existing document objects rather than labels.

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 names a specific operation (Boolean XOR) and defines its geometric meaning (keep only non-overlapping parts, exclusive OR), which is far more than a restatement of the name. It does not explicitly contrast itself with the boolean siblings such as cut/fuse/intersect, so an agent must know what those do to be certain, but the operation semantics are unambiguous.

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 rather than stated: knowing that XOR removes overlap lets an agent infer when to pick it over fuse or intersect, but no explicit 'use this when…' or 'use X instead if…' guidance is given. The description also says nothing about prerequisites such as both objects needing to be solids or lying in the same body.

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