Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

create_helix_bore

Creates helix-bored round holes and counterbores from solid using an end mill, with a helical down cut and finish circle for accurate holemaking.

Instructions

Helix bore counterbores / round holes from solid with an end mill (helix down, then a finish 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": {
      "tool_number": "<tool_number>",
      "circle_diameter": "<circle_diameter>",
      "depth": "<depth>"
    },
    "name": "create_helix_bore"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
depthYesBottom Z (absolute unless linking.depth_incremental)
pitchNoRough Z per helix revolution (default 0.1 x tool diameter)
planeNoTool plane: top, front, back, bottom, left, right or a plane name (HMC: front = B0). Positions and bolt circles are in this plane
finishNo{stepover (default .005), method: circle|helix_down|helix_up, pitch, rpm, feed}; false for no finish pass
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.
comp_typeNocomputer, control, wear, reverse_wear, off
feed_rateNo
positionsNo[[x, y] or [x, y, z], ...]
toleranceNo
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 (default 0)
plunge_rateNo
tool_numberYes
arc_diameterNoEvery full circle of this diameter
retract_rateNo
length_offsetNoH number (default: the tool's)
spindle_speedNo
circle_diameterYesFinished hole/counterbore diameter
diameter_offsetNoD number (default: the tool's)
start_at_centerNoStart the helix from the hole center (default true)
leave_stock_floorNoFloor stock (default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-readonly, non-idempotent, non-destructive mutation with openWorldHint=false, so the safety profile is covered. The description adds the toolpath behavior (helix down then a finish circle pass), which is genuinely useful context. It does not say what object is created or where it lands (an operation in the operation list, presumably), which matters for a 25-parameter 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?

A single front-loaded sentence with no filler; the strategy detail is appended in parentheses efficiently. It is arguably too terse for a 25-parameter tool, but nothing in it is wasted.

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 mutation tool with 25 params, no output schema, and three mutually alternative location mechanisms, the description covers only the geometric strategy. An agent still cannot tell what gets created, what the return is, or which location parameters are required versus redundant.

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 25 parameters and only 72% schema description coverage, the description needs to compensate and does not. Crucially, it never explains how hole locations are specified among the three overlapping options (positions, entity_ids, bolt_circle) or how tool_number, circle_diameter and depth combine — the highest-risk ambiguity for correct invocation.

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?

The description names a specific verb and resource ('Helix bore counterbores / round holes from solid with an end mill') and even states the machining strategy (helix down, then a finish circle). That is enough to distinguish it conceptually from siblings like create_drill or create_circle_mill, though it never names them explicitly.

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 'from solid' implies the use case (no pre-existing hole, so boring rather than drilling), which is real implied guidance. However, it gives no explicit when-to-use/when-not guidance and does not point to create_drill or create_circle_mill as alternatives for adjacent hole-making tasks.

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