Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_mesh_repair

Repairs mesh defects by filling holes, removing duplicate facets, fixing normals, and merging close vertices to prepare 3D models for downstream CAD or simulation work.

Instructions

Repair a mesh by fixing defects (fill holes, remove duplicates, fix normals, merge close vertices)

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": {
      "meshName": "<meshName>"
    },
    "name": "freecad_mesh_repair"
  }
}

Input Schema

NameRequiredDescriptionDefault
meshNameYesName of the Mesh object to repair
fillHolesNoFill holes in the mesh (default true)
fixNormalsNoFix/harmonize face normals (default true)
removeDuplicatesNoRemove duplicate facets (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full disclosure burden; it does add value by naming the specific repair operations performed. However, it never states that the repair mutates the mesh in place, whether changes are reversible, what happens on a non-manifold or already-clean mesh, or what the call returns. It also advertises 'merge close vertices' even though no such parameter exists in the schema, leaving the agent unsure whether that step is unconditional.

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 single compact sentence with the operation and its sub-actions front-loaded and no filler. The parenthetical list is efficient, though the unparameterized 'merge close vertices' item marginally dilutes precision.

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 input schema is rich and fully described, and no output schema exists, so the description need not explain return values. For a moderate-complexity mutation tool with no annotations, the missing pieces are the in-place/destructive nature and the unconditional merge-vertices step, which are real but limited gaps.

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 four parameters and their defaults are already fully documented in the schema, establishing a baseline of 3. The description mirrors three of those toggles rather than adding syntax or format meaning, and its mention of 'merge close vertices' has no corresponding parameter, which slightly muddies rather than clarifies the parameter set.

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 gives a specific verb ('Repair') and resource ('mesh') and enumerates the defect classes addressed (holes, duplicates, normals), so an agent knows precisely what operation this performs. It does not distinguish itself from adjacent siblings such as freecad_mesh_refine or freecad_mesh_decimate, so it falls short of a 5.

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?

The phrase 'fixing defects' only implies that it should be used on a broken mesh; there is no explicit when-to-use, when-not-to-use, or named alternative. With nearby siblings like freecad_mesh_refine and freecad_mesh_info, the agent gets no routing help at all.

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