Skip to main content
Glama
maximedns5

freecad-mcp

by maximedns5

polar_pattern

Create radial patterns of features around an axis, ideal for bolt circles and gear tooth rings. Specify original features, axis reference, total angle, and number of copies.

Instructions

Repeat features radially around a sketch axis (PartDesign::PolarPattern).

axis_sketch/axis MUST name the sketch that owns the H_Axis/V_Axis/N_Axis
datum to rotate around — see linear_pattern for why a feature's Profile
link cannot be used directly. This is the tool for bolt circles and
gear-tooth rings.

Args:
    doc_name: The name of the document.
    body_name: The name of the PartDesign::Body.
    name: The name to give the new PolarPattern feature.
    originals: Names of the feature(s) to repeat (e.g. one hole Pocket).
    axis_sketch: Name of the sketch owning the axis datum to rotate around.
    axis: Which datum on axis_sketch: "H_Axis", "V_Axis", or "N_Axis".
    angle: Total angular span in degrees (360 for a full bolt circle).
    occurrences: Total number of copies, including the original (>= 2).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
axisNoN_Axis
nameYes
angleNo
doc_nameYes
body_nameYes
originalsYes
axis_sketchYes
occurrencesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are present, so the description must fully disclose behavior. It clearly states the operation creates a new PolarPattern feature, explains the axis_sketch constraint in detail, and imposes a minimum occurrences threshold (>=2). While it doesn't discuss failure modes or side effects on existing geometry, the description adequately conveys the tool's behavior for this CAD operation.

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?

The description is well-structured: a clear one-sentence purpose, a focused usage caveat, and a compact Args block. Every sentence adds value without redundancy.

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?

The tool has 8 parameters, several with non-obvious constraints (e.g., axis_sketch must own the datum). The description covers these, provides usage examples, and references the sibling linear_pattern for extra context. The existence of an output schema (not shown) covers return values. Minor gap: no mention of prerequisites like the body needing to be active, but overall the description is robust.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description compensates fully by documenting every parameter with meaningful explanations, including the valid enum values for axis, the interpretation of angle as total angular span, and occurrences as total copies including the original. This far exceeds the schema's bare field names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb 'Repeat features radially' and identifies the exact resource (PartDesign::PolarPattern). It also differentiates from sibling linear_pattern by name and states 'This is the tool for bolt circles and gear-tooth rings,' making its purpose unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly references linear_pattern for the rationale behind the axis_sketch requirement, and states the tool is for bolt circles and gear-tooth rings, giving clear when-to-use context. It also warns about the Profile link limitation, providing both usage and exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maximedns5/freecad-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server