Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_assembly_distance_joint

Creates a distance constraint between two FreeCAD assembly components, linking chosen elements at a specified offset in millimeters.

Instructions

Create a distance constraint between two components

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": {
      "assemblyName": "<assemblyName>",
      "component1": "<component1>",
      "element1": "<element1>",
      "component2": "<component2>",
      "element2": "<element2>",
      "distance": "<distance>"
    },
    "name": "freecad_assembly_distance_joint"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName for the joint
distanceYesDistance value in mm
element1YesElement on component1
element2YesElement on component2
component1YesName of the first component
component2YesName of the second component
assemblyNameYesName of the assembly

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and falls well short. It doesn't say whether the joint persists in the assembly, whether a subsequent solve is required to apply it, whether it can be re-run safely, or what happens on duplicate names — all critical for a mutation tool.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity borders on under-specification for a seven-parameter mutation tool rather than being genuinely tight.

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

Completeness2/5

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

For a tool with seven parameters, six required, no annotations and no output schema, one sentence is not enough. It omits prerequisites (existing assembly, inserted components), the element-selection convention, and any follow-up step needed to make the constraint take effect.

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 every parameter including units for distance (mm) and the meaning of element1/element2 is already documented in the schema. The description adds nothing beyond that, which is the baseline 3 when the schema does the work.

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 distance constraint between two components. The joint type is named explicitly, which implicitly separates it from the ball/cylindrical/fixed/revolute/slider siblings, though the description never calls out that distinction itself.

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?

No when-to-use guidance at all. It doesn't say the assembly must already exist with both components inserted, nor when to prefer this over freecad_measure_distance (measure only) or a fixed/revolute joint for other constraint types. The agent must infer prerequisites from the required parameters.

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