Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

copy_operations

Duplicate selected Mastercam operations with their geometry; the regenerated copies return new IDs for further editing or grouping.

Instructions

Duplicate operations with their geometry; the copies are regenerated. Returns new_ids.

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

Input Schema

NameRequiredDescriptionDefault
idsYes
group_idNoToolpath group for the copies (default: the same group)
name_suffixNoAdded to the copy names (default " COPY"; "" for none)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is covered structurally. The description adds real value beyond that by disclosing that copies are regenerated and that the call returns new_ids, but it omits whether the source operations are retained, whether regeneration can fail, and whether the call is expensive.

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?

Two compact sentences with the core action front-loaded and the return value appended. There is no filler, and every clause ('with their geometry', 'regenerated', 'Returns new_ids') carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter mutation tool with no output schema, the description covers the action, the regeneration side effect, and the return shape, while annotations cover safety. The remaining gap is ordering/failure semantics of new_ids, which is minor for a copy operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and both optional parameters (group_id, name_suffix) are already documented in the schema including defaults. The description adds nothing about parameters, but the 'Returns new_ids' note usefully signals that the output is a set of identifiers matching the requested copies, which aids interpretation of the ids input.

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 ('Duplicate operations') plus a scope detail ('with their geometry'), which distinguishes it from move_operations and delete_operations in the sibling set. It stops short of explicitly naming which sibling to use instead, so it is clear but not fully differentiated.

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 word 'duplicate' implies copy-rather-than-move usage, letting an agent infer this is the right tool when originals must be preserved. However, there is no explicit when-to-use statement, no exclusion of move_operations, and no mention of prerequisites such as the operations needing valid geometry.

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