Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_hole

Creates a drill, counterbore, or countersink hole in a PartDesign body from a sketch circle, with options for diameter, depth, threading, and counterbore or countersink dimensions.

Instructions

Create a hole (drill, counterbore, countersink) in a PartDesign body from a sketch with a circle

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": {
      "sketchName": "<sketchName>",
      "diameter": "<diameter>"
    },
    "name": "freecad_hole"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName for the Hole feature
depthNoHole depth in mm (0 = through all)
diameterYesHole diameter in mm
holeTypeNoHole type (default: simple)
threadedNoAdd threading (default false)
sketchNameYesName of the sketch containing the hole center(s)
counterboreDepthNoCounterbore depth (for counterbore type)
countersinkAngleNoCountersink angle in degrees (for countersink type, default 90)
counterboreDiameterNoCounterbore diameter (for counterbore type)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose that this is a PartDesign feature creation requiring a body and a circular sketch, which is useful behavioral context. It does not say whether one hole is made per circle in the sketch, whether the sketch is consumed, what happens on invalid input, or that the body is modified in place.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the verb first and the variant list in parentheses; nothing is redundant or padded.

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

Completeness3/5

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

For a 9-parameter mutation tool with no annotations and no output schema, the description covers purpose and prerequisites but omits the conditional parameter relationships (counterboreDiameter/counterboreDepth required for counterbore, countersinkAngle for countersink) and any indication of what is returned or how errors surface. Adequate but with clear gaps.

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 one of the nine parameters is already documented, including units, defaults, and enum values. The description adds no parameter-level meaning beyond the schema, so the baseline 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 and resource ('Create a hole') and immediately enumerates the three variants (drill, counterbore, countersink), plus the required context (PartDesign body, sketch with a circle). This distinguishes it from the sibling sketch-creation tools, which only produce 2D geometry. It stops short of naming any sibling explicitly, so a 4 rather than a 5.

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 phrase 'in a PartDesign body from a sketch with a circle' gives a real prerequisite: the agent must already have a body and a circular sketch before calling. There is no explicit when-to-use vs. when-not guidance and no statement about alternatives (e.g., pockets or additive features) for cases where no circle sketch exists.

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