Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

harness_attach_path_end

Attach a WireFlex endpoint to a native terminal using the Cables persistent connection API; choose start or end and optionally specify the terminal vertex.

Instructions

Attach a WireFlex endpoint to a native terminal using the Cables persistent connection API.

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>",
      "terminal_name": "<terminal_name>",
      "side": "<side>"
    },
    "name": "harness_attach_path_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYesWireFlex endpoint to connect.
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.
terminal_nameYesInternal object Name in the selected document, never Label; must have the type required by this tool.
terminal_vertexNoOptional exact VertexN on the native terminal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

B3.1/5.0
Behavior3/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 it partially meets it: it enumerates the error taxonomy (invalid_arguments through execution_timeout), notes transport failures, and gives a genuinely useful operational warning that timeouts are not cancellation and mutations must not be blindly retried. It still omits whether the operation mutates persistent document state, what preconditions exist (must the path already exist, must the terminal be free), and what "legacy return shape preserved" actually returns.

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 first sentence is well front-loaded and the error/retry guidance earns its space. But the length/area/volume unit sentence is boilerplate irrelevant to a tool with no dimensional parameters, and the "explicit internal names recommended" clause duplicates schema text, so a meaningful share of the description is waste.

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?

For a five-parameter mutation with no annotations and no output schema, error handling and retry semantics are well covered. Preconditions, side effects on the harness/document, and the promised return value remain unexplained, which are the gaps an agent would most need filled before invoking 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%, so the schema already documents side, doc_name, path_name, terminal_name, and terminal_vertex, including the "never Label" warnings the description repeats. The description's only added parameter content is a units contract (mm, mm^2, mm^3) that does not correspond to any parameter in this tool, so it contributes no real semantic value for the fields the agent must fill.

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: "Attach a WireFlex endpoint to a native terminal." That is unambiguous about the operation. It does not, however, distinguish itself from siblings such as harness_create_cable or harness_create_terminal, so an agent must infer from the name alone which tool creates the connection versus which creates the terminal.

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?

There is no when-to-use or when-not-to-use guidance, and no alternatives are named. The single hint, "explicit internal names recommended," is a parameter-passing preference rather than a selection criterion, leaving the agent to guess how this differs from the other harness_* creation tools.

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