Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

create_machine_group

Select a machine, control definition, and post processor for a Mastercam setup by creating a machine group; specify product type or a machine definition path.

Instructions

Create a machine group (this selects the machine, control definition and post processor).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_machine_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
productNomill, lathe, router, wire or millturnmill
machine_definitionNoAbsolute path to a machine definition (.mcam-mmd, .mcam-lmd, ...). Omit for the default machine.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare that the tool is not read-only, not destructive, not idempotent, and closed-world. The description adds useful context that creating the group selects the machine, control definition, and post processor. It does not describe side effects, failure behavior, or whether an existing group is replaced.

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?

The description is a single front-loaded sentence with no unnecessary wording. The parenthetical adds relevant context without making it verbose.

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 full schema coverage, the description is adequate. However, it lacks operational context such as prerequisites, return behavior, or how it fits into the broader group-creation workflow.

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 100%, so the product and machine_definition parameters are already documented in the schema. The description adds conceptual context by linking the group to machine, control, and post selection, but it does not add syntax or format details beyond the schema.

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 and resource: 'Create a machine group.' The parenthetical clarifies that the group selects the machine, control definition, and post processor, making the purpose clear. It does not explicitly distinguish the tool from sibling group-creation tools such as create_toolpath_group.

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?

The description gives no explicit when-to-use guidance, prerequisites, or alternatives. It does not state whether a machine group must exist before creating toolpaths or how it relates to set_active_group or create_toolpath_group.

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