Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

update_operation

Change a Mastercam operation's name, spindle speed, feed rates, or offset numbers; the operation regenerates to apply the edits.

Instructions

Change an operation's name, spindle speed, feeds or H/D offset numbers (then it is regenerated).

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": {
      "id": "<id>"
    },
    "name": "update_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
nameNo
lockedNo
feed_rateNo
plunge_rateNo
retract_rateNo
length_offsetNo
spindle_speedNo
diameter_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the bar is lower, and the description adds a genuinely useful side effect: the operation is regenerated after the change. It does not explain whether omitted fields are left untouched, whether the operation must be unlocked, or what happens to the 'locked' parameter, leaving meaningful gaps for a mutation tool.

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 tight sentence with the mutated fields front-loaded and the regeneration consequence placed in a compact parenthetical. No filler wording to trim.

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 9-parameter mutation with no output schema and no parameter documentation, the description covers only part of the surface: 'locked', the optionality/partial-update semantics, and the meaning of 'feeds' and 'H/D' are all left to inference. The regeneration note is the only real behavioral payload.

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 0% across 9 parameters, so the description must carry the load. It maps loosely onto several params (name, spindle_speed, the three rate fields as 'feeds', length/diameter as 'H/D offset numbers'), but the mapping is ambiguous and the 'locked' parameter is never mentioned at all.

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 uses a specific verb ('Change') plus the resource ('an operation') and enumerates the editable facets (name, spindle speed, feeds, H/D offsets). It is clear on its own, but it does not distinguish itself from the sibling set_operation_parameters, which sounds like it could overlap, so it falls short of 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 Guidelines2/5

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

There is no guidance on when to use this tool versus set_operation_parameters or update_plane, nor any statement of prerequisites (e.g. whether the operation must be unlocked first). The only implied usage cue is the parenthetical that the operation is regenerated afterwards.

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