Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_mesh_to_shape

Converts a mesh into a Part shape, reconstructing a solid from triangles so you can edit imported STL files in FreeCAD.

Instructions

Convert a mesh to a Part shape (reconstruct solid from triangles). Useful for editing imported STL files.

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_to_shape"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName for the resulting Part shape
sewingNoTry to sew the shape into a solid (default true)
meshNameYesName of the Mesh object to convert

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explains the geometric transformation and hints at solid reconstruction, but says nothing about whether the source mesh is consumed or retained, whether new objects are added to the document, or how non-manifold/degenerate triangle input fails.

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?

Two short sentences, the core operation front-loaded and the use case second. No filler, though the parenthetical could be read as mildly redundant with 'Part shape'.

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 simple three-parameter conversion tool with a fully documented schema and no output schema, the description covers the essential what. It leaves open document-side effects and failure behavior, which an agent would want before calling this on imported geometry.

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%, so all three parameters are already documented in the input schema. The description only adds the notion of solid reconstruction, which loosely corresponds to the sewing flag, so the baseline 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?

The description gives a specific verb and resource ('Convert a mesh to a Part shape') and clarifies the transformation with '(reconstruct solid from triangles)'. That direction is unambiguous against the inverse sibling freecad_mesh_from_shape, though the sibling is not named explicitly.

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?

'Useful for editing imported STL files' supplies a concrete usage context, so the agent can tell roughly when this applies. It stops short of stating exclusions or naming alternatives such as mesh_repair or mesh_decimate that might precede conversion.

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