Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_create_box

Create a Part::Box primitive in the active FreeCAD document by setting length, width, and height to start 3D CAD modeling.

Instructions

Create a Part::Box primitive in the active document.

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": {
      "length": "<length>",
      "width": "<width>",
      "height": "<height>"
    },
    "name": "freecad_create_box"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional object name
widthYesBox width (Y dimension)
heightYesBox height (Z dimension)
lengthYesBox length (X dimension)

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 are supplied, so the description carries the full disclosure burden, and for a mutation tool it does very little: it does not state units (mm vs document units), whether the resulting object is parametric and editable, whether it is inserted into the model tree, or what happens on failure (no active document, invalid dimensions). The only behavioral facts conveyed are the produced object type and its destination document.

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 with no filler, and the key resource identifier is placed early. It is efficient, though the terseness leaves no room for the behavioral context a create operation needs.

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 low-complexity primitive creator with a fully documented schema and no output schema, the description is enough to call the tool correctly, but not completely: units, document-state prerequisites, and the shape of the result are all left to inference. A sentence covering those points would make it self-sufficient.

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 each parameter already documents its axis mapping (length=X, width=Y, height=Z), so the baseline of 3 applies. The description adds no unit information, no guidance on defaults or acceptable ranges, and does not mention the optional 'name' parameter.

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 ('Create') and resource ('Part::Box primitive') plus the target container ('active document'), so the agent knows exactly what geometry is produced. It does not explicitly contrast with the many sibling creators (sphere, cylinder, wedge, etc.), but the shape name in the tool name makes accidental selection unlikely.

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 when-to-use guidance, no prerequisite statement (e.g. a document must be open and active), and no mention of alternatives such as adding a box via a sketch or a different primitive tool. The only implicit cue is 'active document', which hints at state but does not tell the agent how to handle the case where none exists.

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