Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

sketch_constrain_symmetric

Constrain two sketch points to be symmetric about a selected line or point, maintaining balanced geometry and resolving symmetry constraints in FreeCAD sketches.

Instructions

Make two points symmetric about a line (omit sym_point) or a point.

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": {
      "sketch_name": "<sketch_name>",
      "geo_idx1": "<geo_idx1>",
      "point_idx1": "<point_idx1>",
      "geo_idx2": "<geo_idx2>",
      "point_idx2": "<point_idx2>",
      "sym_geo": "<sym_geo>"
    },
    "name": "sketch_constrain_symmetric"
  }
}

Input Schema

NameRequiredDescriptionDefault
sym_geoYesSketch geometry index, zero-based; FreeCAD external axis indices may be negative.
doc_nameNoInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
geo_idx1YesSketch geometry index, zero-based; FreeCAD external axis indices may be negative.
geo_idx2YesSketch geometry index, zero-based; FreeCAD external axis indices may be negative.
sym_pointNoSketch point position: 1=start, 2=end, 3=center where supported; symmetry 0 selects line.
point_idx1YesSketch point position: 1=start, 2=end, 3=center where supported; symmetry 0 selects line.
point_idx2YesSketch point position: 1=start, 2=end, 3=center where supported; symmetry 0 selects line.
sketch_nameYesInternal object Name in the selected document, never Label; must have the type required by this tool.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden and does deliver real value: unit conventions with field-level overrides, a named error taxonomy, and a warning that timeouts are not cancellations and mutations must not be blindly retried. It still omits whether the operation mutates the sketch, what happens on conflicting or redundant constraints, and whether it is idempotent — the most important behaviors for a constraint-creation 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?

The purpose sentence is front-loaded and the contract details are compactly grouped. A few lines are boilerplate of low marginal value ("transport failures are possible", "Legacy return shape preserved"), but nothing is redundant or padded enough to impede use.

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 an 8-parameter geometry mutation with an output schema present, the definition covers units, error modes, and retry safety, which is most of what an agent needs. The gap is that it never states the tool's mutating nature explicitly or its effect on the sketch/document state.

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 conveys geometry indices, point positions (1=start, 2=end, 3=center), zero-for-line symmetry, and internal-vs-label naming. The description adds only the "omit sym_point" framing, which largely duplicates the schema's own note that 0 selects line. Baseline 3 applies when the schema does the heavy lifting.

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?

"Make two points symmetric about a line (omit sym_point) or a point" gives a specific verb (make symmetric), concrete operands (two points, axis line or point), and distinguishes the two operating modes. It does not name any sibling constraint tool or contrast with related ones like equal or perpendicular, so it stops short of full differentiation.

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 parenthetical "omit sym_point" for line symmetry versus supplying it for point symmetry is useful conditional guidance on mode selection. There is no guidance on when to prefer this constraint over alternatives (e.g., equal, coincident, or distance constraints), and no prerequisites such as edit-mode or selection requirements.

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