Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_mesh_decimate

Reduce triangle count in a FreeCAD mesh while preserving its overall shape, using a target reduction ratio to simplify meshes for faster processing or lighter exports.

Instructions

Reduce the number of triangles in a mesh while preserving shape (mesh simplification)

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>",
      "targetReduction": "<targetReduction>"
    },
    "name": "freecad_mesh_decimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
meshNameYesName of the Mesh object to decimate
targetReductionYesTarget reduction ratio (0.0-1.0, e.g. 0.5 = reduce by 50%)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden and falls short. It does not state whether the operation mutates the existing mesh in place or produces a new object, whether it is reversible, what happens if the target ratio is aggressive, or whether it requires an existing valid mesh.

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?

A single front-loaded sentence that states the action and its intent with no wasted preamble. The trailing parenthetical '(mesh simplification)' is mildly redundant with 'reduce the number of triangles'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive-looking geometry mutation with no annotations and no output schema, the definition is thin. It omits result reporting (resulting triangle count, success/failure) and whether the original mesh survives, both of which an agent needs before invoking it.

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 coverage is 100%, with both meshName and targetReduction documented including the 0.0-1.0 range and a 0.5 example. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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 and resource: reduce triangles in a mesh, with the goal of preserving shape. This clearly distinguishes decimation from siblings like freecad_mesh_refine or freecad_mesh_repair, though the description never names or contrasts those alternatives explicitly.

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?

No when-to-use or when-not-to-use guidance is given. It does not say whether this should be applied before or after freecad_mesh_repair or freecad_mesh_refine, nor under what mesh conditions (e.g. high triangle count) it is the right choice.

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