Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

part_offset_shape

Offsets a face, shell, or solid in 3D by a set distance and tolerance to create adjusted geometry; control fill and join options for open or closed offset results.

Instructions

Offset a face, shell, or solid in 3D with explicit mm tolerance.

Contract: explicit internal names recommended. Length mm, area mm^2, volume mm^3; field units override defaults. Errors: invalid_arguments, document_not_found, object_not_found, transaction_conflict, operation_failed, execution_timeout; transport failures are possible. Timeout is not cancellation: never blindly retry mutations. Legacy return shape preserved.

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": {
      "obj_name": "<obj_name>",
      "distance": "<distance>"
    },
    "name": "part_offset_shape"
  }
}

Input Schema

NameRequiredDescriptionDefault
fillNoTrue closes the offset where supported; false returns the offset skin or wire.
joinNoThickness corner join: arc or intersection.arc
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.OffsetShape
distanceYesdistance: mm, document_global.
doc_nameNoInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
obj_nameYesInternal object Name in the selected document, never Label; must have the type required by this tool.
toleranceNotolerance: mm, document_global.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the burden alone. It usefully discloses the error taxonomy, warns that 'timeout is not cancellation' and mutations should not be blindly retried, and states units/default override rules. It does not say whether the source shape is modified or a new object created (only the 'name' param implies creation) or what permissions/state are needed.

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?

Front-loaded with the action, then a compact contract block covering units, errors, and retry safety. Dense but mostly earning its space; 'Legacy return shape preserved' is cryptic and of unclear value given an output schema exists.

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?

Output schema exists, so return values need not be explained. For a 7-parameter mutation with no annotations, the description covers units, error outcomes, and retry hazards well; the main gap is whether a new object is produced and how the source shape is affected.

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 the baseline is 3. The description adds the global unit convention and 'field units override defaults,' which is real information beyond the schema, but no parameter-specific semantics are given beyond that.

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 concrete verb+resource: "Offset a face, shell, or solid in 3D" with a unit qualifier. The '3D' framing implicitly separates it from part_offset_2d, though it never names the sibling 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 versus when-not guidance; it never says when to pick this over part_offset_2d, part_shell, or part_solid, nor what preconditions the target object must satisfy. The only guidance-like line ('explicit internal names recommended') concerns naming, not tool selection.

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