Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

harness_create_path

Creates a native WireFlex path from explicit millimetre XYZ points for cable routing, without inferring obstacle routing.

Instructions

Create a native WireFlex path from explicit millimetre points; no obstacle routing inferred.

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": {
      "doc_name": "<doc_name>",
      "points_mm": "<points_mm>"
    },
    "name": "harness_create_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.CablePath
doc_nameYesInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
path_typeNoNative WireFlex path type supported by installed Cables WB.Wire
points_mmYesOrdered XYZ points in document coordinates in millimetres; at least two distinct finite points.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it enumerates unit semantics (mm, mm^2, mm^3 with field-unit override), lists concrete error codes, and warns that timeout is not cancellation and mutations must not be blindly retried. It stops short of saying what state is created or whether the target document is mutated in place.

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?

The core capability is front-loaded in one clause, then a compressed contract block. Every clause carries information (units, errors, retry policy), though the semicolon-chained error list is dense and the "Legacy return shape preserved" line is cryptic without context.

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?

For a 4-parameter creation tool with no output schema, the description covers units, error surfaces, timeout semantics, and naming behavior, which is what an agent needs to call it safely. Remaining gaps are modest: what the created object looks like on success, and whether the active-document fallback mutates existing state.

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 schema already documents name uniquification, doc_name semantics, path_type, and the point-array constraints; baseline 3 applies. The description adds only marginal parameter-level meaning (naming convention for name, unit override behavior), and its unit statement reads more like output/measurement semantics than parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Create a native WireFlex path from explicit millimetre points" gives a specific verb, resource, and input modality, and "no obstacle routing inferred" carves out the boundary against routing-capable creation tools. An agent can tell this apart from cable/connector creation without inspecting schemas.

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?

Guidance is present but indirect: "explicit internal names recommended" and "pass explicitly" for doc_name steer usage, and the retry warning constrains error handling. However, no sibling alternative is named and no explicit when-to-use/when-not-to-use condition is stated, leaving the agent to infer that this is the low-level path primitive.

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