Skip to main content
Glama
mastercam-mcp

mastercam-mcp

by Praket7

generate_operation_packet

Read-onlyIdempotent

Generate setup and operation notes from an operation tree and tool records to document machining setups, tools, and operations for review or handoff.

Instructions

Generate setup and operation notes from the supplied operation tree and tool records

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

Input Schema

NameRequiredDescriptionDefault
wcsNo
partNo
notesNo
stockNo
toolsNo
machineNo
operationsNo
verificationNo
setupReferencesNo

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
liveNo
toolYes
errorNo
receiptNo
documentRevisionNo
operationFingerprintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.1
    • changedInput schema / properties / tools / maxItems
      Previous value: -500New value: +20000
  2. Addedv0.3.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered structurally; the description adds nothing beyond that. It does not say whether the packet is returned only, persisted, or what completeness it requires of the inputs — a meaningful gap for a 9-parameter generator.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no padding, but it is under-specified rather than tight — brevity here reflects missing content, not economy.

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?

An output schema exists so return values need not be described, but with 9 opaque parameters at 0% schema coverage and no input requirements stated, the definition is not sufficient for an agent to call this correctly on the first attempt.

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 9 parameters including nested objects (wcs, part, stock, machine, verification, setupReferences). The description only alludes to "operation tree" and "tool records", leaving seven parameters with no explanation anywhere.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb ("generate") and a concrete artifact ("setup and operation notes"), which is more than a tautology. However, it does not distinguish itself from the near-identical sibling generate_setup_sheet, so an agent cannot tell from the text which of the two to call.

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?

There is no guidance on when to use this versus generate_setup_sheet, generate_operation_packet's siblings like explain_operation, or the analyze_* tools. No prerequisites, no exclusions, no alternatives are named.

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