Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

create_circle_mill

Circle mills round, pre-drilled holes at specified centers by plunging at the center. Use helix boring instead for counterbores or holes cut from solid.

Instructions

Circle mill round holes at the given centers (best for pre-drilled holes; it plunges at the center). For counterbores or holes cut from solid use create_helix_bore.

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": {
      "tool_number": "<tool_number>",
      "circle_diameter": "<circle_diameter>",
      "depth": "<depth>"
    },
    "name": "create_circle_mill"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
depthYesBottom Z (absolute unless linking.depth_incremental)
planeNoTool plane: top, front, back, bottom, left, right or a plane name (HMC: front = B0). Positions and bolt circles are in this plane
finishNo{passes, spacing}
coolantNoflood, mist, thru or off
linkingNoHeights: {"clearance", "retract", "feed_plane", "top_stock"} are absolute Z unless the matching "*_incremental": true (also "depth_incremental"); "clearance_on", "retract_on", "rapid_retract". For drilling, feed_plane is the R plane.
roughingNo{stepover}: spiral out from the center (holes not pre-drilled)
comp_typeNocomputer, control, wear, reverse_wear, off
feed_rateNo
positionsNo[[x, y] or [x, y, z], ...]
toleranceNo
depth_cutsNoMultiple Z steps: {"max_rough_step", "finish_cuts", "finish_step"}
entity_idsNoArcs/points at the hole centers
parametersNoAny other parameter by path, e.g. {"LeadInOut.Enabled": true}. See get_operation_parameters for names.
bolt_circleNoHole pattern(s) like a print callout: {diameter, count, start_angle (deg from +X, CCW; default 0), center [x, y] (default 0,0), z (default 0)}; a list for several patterns
leave_stockNoWall stock
plunge_rateNo
start_angleNo
tool_numberYes
arc_diameterNoEvery full circle of this diameter
retract_rateNo
helical_entryNo{min_radius, max_radius, plunge_angle}; false to plunge. Default: on, sized to fit the hole
length_offsetNoH number (default: the tool's)
spindle_speedNo
circle_diameterYesFinished hole/counterbore diameter
diameter_offsetNoD number (default: the tool's)
leave_stock_floorNoFloor stock

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4/5.0
Behavior3/5

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

The annotations already disclose that this is a non-read-only, non-destructive, non-idempotent mutation in a closed world. The description adds useful behavior about plunging at the center and suitability for pre-drilled holes, but it does not explain side effects such as creating a new operation, and its plunge claim appears inconsistent with the schema's helical_entry default of on.

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 definition is two tight sentences with the core purpose and the alternative front-loaded. There is no unnecessary wording, and the most important routing information appears immediately.

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 complex 27-parameter create operation with no output schema, the description covers high-level selection well but leaves significant context gaps. It does not describe the created output, prerequisites such as tool existence, or enough behavioral detail to fully understand a mutation of this complexity.

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

Parameters2/5

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

With 27 parameters and only 70% schema description coverage, the description adds almost no parameter-level meaning. It mentions 'given centers' at a high level, but does not clarify required inputs, units, coordinate assumptions, bolt-circle behavior, or how entry-related parameters interact with the stated plunge behavior.

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 states a specific operation and resource: circle milling round holes at given centers. It also explicitly distinguishes the tool from create_helix_bore, which is used for counterbores or holes cut from solid.

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 gives clear usage guidance: best for pre-drilled holes, and explicitly names create_helix_bore as the alternative for counterbores or holes cut from solid. This is exactly the kind of when-to-use and when-not-to-use routing an agent needs.

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