Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

open_document

Load a FreeCAD document from a specified host file path to begin modeling or inspection; supports FCStd, STEP, STL, and OBJ files.

Instructions

Open a FreeCAD document from file.

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": {
      "path": "<path>"
    },
    "name": "open_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFile path on the FreeCAD host; FCStd/STEP/STL/OBJ as selected by this tool. File I/O is not undoable.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

B3.1/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 disclosure burden. It discloses the error taxonomy and retry caution, which is useful, but says nothing about the crucial state effect: whether the opened document becomes active, what happens if it is already open, or whether the call is idempotent. 'Legacy return shape preserved' is opaque and 'never blindly retry mutations' is boilerplate that doesn't clearly apply to an open operation.

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 purpose sentence is properly front-loaded, but the contract block is generic boilerplate. Unit conventions (mm, mm^2, mm^3) and errors like transaction_conflict or object_not_found are largely irrelevant to a single-path open operation, diluting the signal an agent 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?

The tool is simple (one required parameter) and an output schema exists, so return-value explanation is rightly omitted. However, the definition is silent on document state transitions and on-already-open behavior, which are the main things an agent needs to know before calling 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% and the single 'path' parameter is already documented with file-type selection and the non-undoable file I/O caveat in the schema itself. The description adds no meaning beyond that, 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 first sentence gives a specific verb and resource: 'Open a FreeCAD document from file.' An agent can tell this apart from create_document or close_document by the word 'open' plus 'from file.' It stops short of naming the sibling tools it competes with (create_document, activate_document), so it is clear but not differentiated.

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?

'explicit internal names recommended' is a naming convention rather than when-to-use guidance, and there is no statement about when to choose this over create_document or activate_document. The error list and 'never blindly retry' note are operational advice, not selection guidance, so context is only implied.

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