Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

harness_create_cable

Create a native FreeCAD cable with an explicit conductor cross-section in mm², plus optional outer diameter, insulation, bend radius, and stripped length.

Instructions

Create a native Cables cable with explicit conductor cross-section in square millimetres.

Workbench defaults must be inspected; they are not a selected commercial cable specification.

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>",
      "path_name": "<path_name>",
      "conductor_gauge_mm2": "<conductor_gauge_mm2>"
    },
    "name": "harness_create_cable"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.Cable
doc_nameYesInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
path_nameYesInternal object Name in the selected document, never Label; must have the type required by this tool.
bend_radius_mmNoExplicit modeled base-path fillet radius in millimetres; null uses the disclosed workbench default.
outer_diameter_mmNoExplicit outer cable diameter in millimetres, from the selected cable specification.
conductor_gauge_mm2YesPositive cross-sectional area in square millimetres.
minimum_bend_radius_mmNoRequired minimum bend radius in millimetres; inspection may return unresolved for unassessed curves.
insulation_thickness_mmNoExplicit insulation thickness in millimetres; null uses disclosed workbench default.
stripped_wire_length_mmNoExplicit stripped length at each end in millimetres; zero requests a mechanical envelope without stripped ends. Null uses disclosed workbench default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.7/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 meaningful work: it enumerates error conditions (invalid_arguments, document_not_found, object_not_found, transaction_conflict, operation_failed, execution_timeout), notes transport failures, and warns that 'timeout is not cancellation: never blindly retry mutations.' It also flags a preserved legacy return shape. It stops short of stating side effects on existing objects or permissions, which keeps it out of the top band.

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?

Purpose is front-loaded in the first sentence, followed by a defaults caveat and a compact contract block. The telegraphic 'Contract:' sentence packs units, error codes, retry policy and return shape together, and mildly duplicates 'square millimetres' with 'area mm^2', but there is no filler.

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 9-parameter mutation tool with no annotations and no output schema, the definition covers units, default-override behavior, failure modes, retry safety and return-shape stability. What remains unstated is the relationship to sibling tools (e.g. whether path_name must be created first) — a modest gap rather than a blocking one.

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 each parameter, including default/null semantics for bend radius, insulation thickness and stripped length. The description adds only generic unit semantics ('Length mm, area mm^2, volume mm^3; field units override defaults'), and 'volume mm^3' does not even map to a parameter here, so the marginal value is small.

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 opens with a specific verb and resource: 'Create a native Cables cable with explicit conductor cross-section in square millimetres.' That distinguishes it from assembly/draft/techdraw siblings and from harness_create_connector or harness_create_path, though those alternatives are never named.

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?

'Workbench defaults must be inspected; they are not a selected commercial cable specification' gives a real prerequisite/caveat for relying on defaults. However, there is no explicit when-to-use vs. when-to-use-an-alternative guidance, and no statement about preconditions such as the referenced path already existing.

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