Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

create_toolpath_group

Creates a toolpath group and sets it active, so new operations are organized by setup or fixture side. Specify a name and optional machine group to control where subsequent toolpaths are added.

Instructions

Create a toolpath group (e.g. one per setup or fixture side) and make it active: new operations go there.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
machine_group_idNoDefault: the active machine group

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.7/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the key side effect: the created group becomes active and subsequent operations land there. That is genuine behavioral context not encoded in readOnlyHint=false / destructiveHint=false. It does not say what happens on duplicate names or what the call returns.

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 sentence that front-loads the action, then the use case, then the state-changing consequence. Nothing is redundant and no sentence needs trimming.

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 simple two-parameter creation tool with annotations and no output schema, the crucial state effect is covered. Gaps remain around error behavior for duplicate names and whether a handle/id is returned, which an agent would want to know before chaining calls.

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?

At 50% schema coverage, machine_group_id already documents its default in the schema, but the required 'name' parameter carries only a title and no description of naming rules or uniqueness constraints. The description adds no parameter-level meaning, so the baseline of 3 is appropriate.

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+resource ('Create a toolpath group') and clarifies the concept with a concrete example ('one per setup or fixture side'). It is clearly distinguishable from machine-group siblings, though it never names or contrasts any of 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 parenthetical example implies the intended organizing scenario, and the note that new operations go into the active group hints at why you'd use it. However, there is no explicit 'use this instead of X' guidance, and the relationship to set_active_group (which the side effect partially duplicates) is left for the agent to infer.

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