Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

part_loft

Create a ruled or smooth solid loft through two or more ordered wire sections, optionally closing the section sequence for connected CAD geometry.

Instructions

Create a ruled or smooth loft through ordered wire sections.

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": {
      "section_names": "<section_names>"
    },
    "name": "part_loft"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.Loft
ruledNoTrue uses straight generators between loft sections; false uses smooth interpolation.
solidNoPartDesign supports only true (solid); false is rejected. Shells belong to Part.
closedNoTrue connects the last loft section to the first; false leaves section sequence open.
doc_nameNoInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
section_namesYesOrdered internal Names of Wire section objects.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a solid job: it lists the error codes returned, warns that timeout is not cancellation and that mutations must not be blindly retried, and states the unit conventions. It does not say whether the operation is undoable or what it does to the active document, but the failure and retry semantics are unusually well disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in the first sentence, which is good. However, the 'Contract:' block mixes applicable guidance (naming, error codes, retry warning) with inapplicable boilerplate (length/area/volume units) and the opaque trailing clause 'Legacy return shape preserved', which costs space without informing the caller.

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?

An output schema exists, so return values need not be explained, and the description covers errors, timeouts, and naming conventions for a moderately complex six-parameter creation tool. The remaining gap is sibling differentiation and the unexplained 'legacy return shape' note, which is confusing next to an explicit output schema.

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 schema already documents every parameter, and the description only adds the general note that internal names are recommended. The unit sentence ('Length mm, area mm^2, volume mm^3') does not map to any of this tool's six parameters, which are names and booleans, so it adds little real meaning here. Baseline 3 is appropriate.

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 states a specific verb and resource ('Create a ruled or smooth loft through ordered wire sections') and clarifies the two interpolation modes. It is clear on its own, but it never distinguishes itself from the sibling 'partdesign_loft' or 'part_sweep', so an agent must guess which loft variant to call.

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 only usage direction is 'explicit internal names recommended', which concerns naming rather than when to choose this tool. There is no statement about when to use this loft versus partdesign_loft or part_sweep, no prerequisites, and no conditions under which it should be avoided.

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