Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

set_operation_parameters

Change Mastercam operation parameters by path and regenerate the operation to apply updates. Use it to adjust depth, linking, cutter compensation, or other settings without rebuilding the toolpath.

Instructions

Change any operation parameters by path, then regenerate the operation.

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>",
      "parameters": "<parameters>"
    },
    "name": "set_operation_parameters"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
parametersYes{"Linking.Depth": -0.5, "DepthCuts.Enabled": true, "CutterComp.Type": "control", ...}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, and the description usefully adds the side effect that the operation is regenerated afterward. It does not disclose what happens on an invalid path key, whether partial failures roll back, or whether regeneration can alter downstream geometry — relevant gaps for a non-idempotent mutation.

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 mutation, its mechanism, and its consequence in that order. No filler or redundant restatement of the title.

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 two-parameter mutation with a free-form nested object and no output schema, the definition covers the essential mechanism but omits failure behavior and the meaning of 'id'. Annotations carry the safety profile, so the remaining gap is moderate rather than severe.

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?

The phrase 'by path' meaningfully clarifies that keys in the free-form parameters object are dotted paths such as "Linking.Depth", which goes beyond the schema's raw example. However, the 'id' parameter is undocumented in both schema and description, and with only 50% coverage the description does not fully compensate.

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 ('Change any operation parameters') plus the mechanism ('by path') and the follow-on effect ('regenerate the operation'). It does not contrast itself with the sibling update_operation or get_operation_parameters, so an agent must infer the boundary, keeping it 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 Guidelines3/5

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

Usage is only implied: the description makes clear you call it to change parameters, but says nothing about when to prefer it over update_operation, whether parameters must first be read via get_operation_parameters, or what conditions must hold before calling.

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