Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

move_operations

Reorder Mastercam operations by placing selected IDs before, after, or into a toolpath group while preserving their relative order, then return the updated sequence.

Instructions

Reorder operations (they keep their order among themselves). Returns the new order.

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": "move_operations"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
afterNoPut them after this operation id
beforeNoPut them before this operation id
group_idNoMove them to the end of this toolpath group (they get new ids: see new_ids)

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 the mutation safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false). The description adds useful behavior beyond that by saying moved operations keep their relative order and that the new order is returned, but it omits important mutation details such as the new-id behavior when using group_id.

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 definition is two short, front-loaded sentences with no wasted wording. The ordering semantics and return behavior are stated directly.

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 mutation tool with no output schema, the description is adequate but not complete: it mentions the new order being returned, yet does not clarify how after, before, and group_id interact or that group_id produces new operation ids.

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 coverage is 75%, and the schema itself documents after, before, and group_id. The description adds only the ordering-preservation note and return value, without explaining parameter interactions or exclusivity beyond what the schema already provides.

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 states a specific verb and resource: 'Reorder operations'. The parenthetical clarifies the ordering semantics, making it distinguishable from copy/delete-style siblings, though it does not explicitly name a sibling alternative.

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?

It implies the tool is used for reordering operations, but gives no explicit when-to-use guidance, prerequisites, or comparison against alternatives such as copy_operations or delete_operations.

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