Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

transmission_create_envelope

Create an editable belt or chain layout envelope from explicit XYZ path points and section dimensions for transmission layout design.

Instructions

Create an editable layout envelope; polyline corners do not assert pulley tangency or chain articulation.

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>",
      "name": "<name>",
      "path_points": "<path_points>",
      "section_width_mm": "<section_width_mm>",
      "section_height_mm": "<section_height_mm>",
      "source": "<source>",
      "representation": "<representation>"
    },
    "name": "transmission_create_envelope"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.
sourceYesCatalog/source record of the envelope section.
doc_nameYesInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
path_pointsYesExplicit XYZ polyline path in millimetres; use open_belt for tangent circular-pulley routing.
representationYesDeclared representation accepted by backend, belt or chain.
section_width_mmYesPositive length in millimetres.
section_height_mmYesPositive length in 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 error classes, warns that transport failures are possible, explains that timeouts are not cancellations and mutations must not be blindly retried, and notes the legacy return shape and unit defaults. Gaps remain around permissions/document state requirements and what 'editable' concretely implies, so it falls short of a 5.

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?

Front-loads the purpose then switches to a compact 'Contract:' block covering names, units, errors, and retry semantics — no filler sentences. Some phrasing is telegraphic ('polyline corners do not assert...', 'Legacy return shape preserved') and would benefit from one clarifying clause, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-required-parameter mutation with no annotations and no output schema, the definition supplies the missing behavioral layer: error taxonomy, retry hazard, unit conventions, naming caveat, and a note that the return shape is legacy. The only soft spot is that the return shape itself is not described, but the explicit mention that it is legacy is a reasonable substitute.

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 description coverage is 100%, so the schema already documents all seven parameters including doc_name semantics, unit-bound path_points, and the belt/chain representation. The description adds only a general unit-override convention ('field units override defaults', area mm^2, volume mm^3) and the internal-name recommendation, which is close to the baseline for a fully documented schema.

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?

Opens with a specific verb and resource ('Create an editable layout envelope') and immediately scopes it by stating that polyline corners do not assert pulley tangency or chain articulation, which separates it from tangent-routing siblings. 'Layout envelope' remains somewhat domain-jargon and is not further defined, so an agent knows the action but not fully what artifact results.

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?

The tangency/articulation disclaimer implicitly tells the agent when this tool is the wrong choice (tangent pulley routing), and the path_points schema points to open_belt for that case. However, the description never names an alternative or gives explicit when-to-use/when-not conditions, leaving the routing guidance to be inferred largely from the schema.

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