Skip to main content
Glama
mastercam-mcp

mastercam-mcp

by Praket7

plan_od_rough_finish

Read-only

Generates a non-executable rough-plus-finish OD turning plan from stock, profile, material, and tool data, using supplied or configured catalog and active-job tools.

Instructions

Create a non-executable rough-plus-finish OD turning plan using supplied or configured catalog and active-job tools

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": {
      "intent": "<intent>",
      "units": "<units>",
      "material": "<material>",
      "stockDiameter": "<stockDiameter>",
      "profile": "<profile>",
      "finishAllowanceRadial": "<finishAllowanceRadial>"
    },
    "name": "plan_od_rough_finish"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolsNo
unitsYes
intentYes
machineNo
profileYes
materialYes
topKToolsNo
stockDiameterYes
roughDepthRadialNo
finishAllowanceRadialYes

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
liveNo
toolYes
errorNo
receiptNo
documentRevisionNo
operationFingerprintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.3.1
    • addedInput schema / properties / tools / default
      Added value: +[]
    • changedInput schema / properties / tools / maxItems
      Previous value: -500New value: +20000
    • removedInput schema / properties / tools / minItems
      Removed value: -1
    • changedInput schema / required
      Previous value: -[
      -  "intent",
      -  "units",
      -  "material",
      -  "stockDiameter",
      -  "profile",
      -  "tools",
      -  "finishAllowanceRadial"
      -]New value: +[
      +  "intent",
      +  "units",
      +  "material",
      +  "stockDiameter",
      +  "profile",
      +  "finishAllowanceRadial"
      +]
  2. Addedv0.3.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered by structured fields. The description adds a genuinely useful behavioral fact — that the plan is 'non-executable' — but says nothing about whether it validates feasibility, what calculation it performs, or why idempotentHint=false.

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, and the 'non-executable' qualifier appears early. It is perhaps too terse for the amount of undocumented schema surface it covers, but the sentence itself is efficient.

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?

This is a complex, nested 10-parameter planning tool with zero schema descriptions; an output schema exists, so return values need not be explained. Still, the description should explain key inputs like intent, units, profile, and finishAllowanceRadial for an agent to call it correctly, and it does not.

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?

Schema description coverage is 0% across 10 parameters, so the description must compensate. It only clarifies the optionality of `tools` (supplied vs. configured catalog); it says nothing about intent, units, material, stockDiameter, profile, finishAllowanceRadial, roughDepthRadial, topKTools, or machine constraints, leaving most parameters undocumented.

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: 'Create a ... rough-plus-finish OD turning plan', with the important qualifier 'non-executable'. It does not explicitly distinguish itself from nearby siblings like preview_operation_parameters or mastercam_plan, but the 'non-executable plan' framing is clear enough to be actionable.

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?

'using supplied or configured catalog and active-job tools' implies tools fall back to the active job configuration when not supplied, which is a usage signal. However, there is no explicit when-to-use / when-not-to-use guidance relative to siblings such as preview_operation_parameters or mastercam_plan.

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