Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_techdraw_add_dimension

Adds a length dimension to a TechDraw view, measuring between two vertices or along a single edge. Use it to annotate drawings with distance, horizontal, vertical, radius, diameter, or angle dimensions.

Instructions

Add a length dimension to a TechDraw view between two vertices or along an edge

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": {
      "pageName": "<pageName>",
      "viewName": "<viewName>",
      "dimensionType": "<dimensionType>"
    },
    "name": "freecad_techdraw_add_dimension"
  }
}

Input Schema

NameRequiredDescriptionDefault
edgeNoEdge reference (e.g., "Edge1") for single-edge dimensions
nameNoName for the dimension
vertex1NoFirst vertex reference (e.g., "Vertex1") for vertex-to-vertex dimensions
vertex2NoSecond vertex reference for vertex-to-vertex dimensions
pageNameYesName of the TechDraw page
viewNameYesName of the TechDraw view
dimensionTypeYesType of dimension

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 disclosure burden, yet it never says this mutates the document, requires an open document/page/view, or what happens on failure. Nothing about persistence, reversibility, or the result of the call is communicated.

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?

One compact sentence, front-loaded with the action and target, with no filler. It is efficient but so terse that it leaves out information an agent needs, which is an under-specification issue rather than a verbosity one.

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 7-parameter mutation tool with no annotations and no output schema, the description is thin. It doesn't explain the edge-versus-vertex parameter interaction, the meaning of the dimensionType options, or required setup, leaving the agent to reconstruct behavior from the schema alone.

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 per-parameter meanings are already documented in the schema. The description only restates that vertices or an edge may be used, adding little beyond what the schema fields and the dimensionType enum already convey.

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 ("Add a length dimension to a TechDraw view") and names the geometry it attaches to (vertices or an edge). However, calling it a "length dimension" undersells the enum, which also covers radius, diameter, and angle dimensions, so an agent may not realize this tool handles those cases.

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 guidance on when to use this versus freecad_draft_dimension or the other TechDraw tools, and no stated prerequisites such as an existing page and view. The description also doesn't say how to choose between the edge form and the vertex-to-vertex form, leaving the agent to infer it.

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