Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

harness_create_connector

Creates a native custom cable connector envelope in a FreeCAD document using hole count, hole area, thickness, and height for harness routing.

Instructions

Create a native custom connector envelope; not an identified commercial connector.

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>",
      "holes": "<holes>",
      "hole_area_mm2": "<hole_area_mm2>",
      "thickness_mm": "<thickness_mm>",
      "height_mm": "<height_mm>"
    },
    "name": "harness_create_connector"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.CableConnector
holesYesPositive number of connector holes.
doc_nameYesInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
height_mmYesPositive length in millimetres.
thickness_mmYesPositive length in millimetres.
hole_area_mm2YesPositive cross-sectional area in square millimetres.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.8/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 the exact error taxonomy, warns that transport failures are possible, clarifies that a timeout is not a cancellation, and explicitly warns never to blindly retry mutations, which reveals this is a mutating operation. What is missing is any permission/precondition requirement or whether a partially created object can be left behind on failure.

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 definition is front-loaded with the core action and scope, then compression-friendly notes on units and failure modes; nearly every clause carries load. A few fragments ('Contract:', 'Legacy return shape preserved') are terse to the point of being cryptic, which costs a point.

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 six-parameter mutating tool with no annotations and no output schema, the description covers units, error codes, retry safety, and return-shape stability, which is most of what an agent needs. It still never explains what a 'connector envelope' is geometrically or what the legacy return shape actually contains, which is the main residual gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 earns above that by adding unit conventions (mm, mm^2, mm^3) and the override rule 'field units override defaults', which is not stated anywhere in the schema. The 'explicit internal names recommended' clause also adds naming meaning beyond the schema's own note about uniquification.

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 specific verb and resource ('Create a native custom connector envelope') and immediately scopes it with 'not an identified commercial connector', which distinguishes it from a commercial-part connector tool. It does not explicitly differentiate from nearby siblings like harness_create_cable or harness_create_terminal, so it stops short of a 5.

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?

Usage is only implied: 'explicit internal names recommended' hints at best practice, and 'not an identified commercial connector' gives one exclusion, but there is no statement of when to pick this over harness_create_cable, harness_create_path, or harness_create_terminal. The error list is diagnostic, not guidance on choosing the tool.

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