Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_measure_distance

Measure the distance between two points or object centers in FreeCAD to verify dimensions and spacing before modeling adjustments.

Instructions

Measure the distance between two points or two object centers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "freecad_measure_distance"
  }
}

Input Schema

NameRequiredDescriptionDefault
point1NoFirst point (x, y, z)
point2NoSecond point (x, y, z)
object1NameNoName of first object (uses bounding box center)
object2NameNoName of second object (uses bounding box center)

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?

With no annotations, the description carries the full burden and discloses almost nothing beyond the operation itself: units, coordinate system, whether the result is read-only, and what happens on mixed inputs (e.g. point1 plus object2Name) are all unspecified. Nothing is stated about failure when a named object does not exist.

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 redundant wording or filler. Brevity borders on under-specification, but the sentence itself is well-formed and wastes nothing.

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?

Four optional parameters with nested point objects and no output schema mean the description should state what is returned (a numeric distance, and in what units) and how the point-mode versus object-mode inputs interact. Neither is covered, leaving a meaningful gap for a measurement tool whose whole value is its result.

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%, including the note that object names resolve to bounding box centers, so the schema already defines each parameter's meaning. The description only restates the two-mode grouping and adds no format, units, or precedence rules for the four optional parameters, so the baseline of 3 applies.

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 ('Measure') and resource ('distance') with the two supported modes (point-to-point or object-center-to-object-center), which separates it from freecad_measure_angle. It never names or contrasts a sibling, so the differentiation is implicit rather than explicit.

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 guidance, no conditions, and no mention of alternatives such as freecad_measure_angle or freecad_assembly_distance_joint. The reader must infer from the verb alone that this is the general-purpose measurement call.

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