Skip to main content
Glama
Praket7

mastercam-mcp

by Praket7

generate_operation_packet

Read-onlyIdempotent

Generates setup and operation notes from operation trees and tool records, producing structured documentation for Mastercam machining workflows.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wcsNo
partNo
notesNo
stockNo
toolsNo
machineNo
operationsNo
verificationNo
setupReferencesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNo
liveNo
toolYes
errorNo
receiptNo
documentRevisionNo
operationFingerprintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, which cover the safety and side-effect profile. The description adds no behavioral context beyond that, such as what happens to the inputs, whether any state changes occur, or any authentication or rate-limit requirements. Since the annotations already carry the key traits, the description does not contradict but also contributes nothing extra.

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 sentence with no extraneous words. It front-loads the core action and resources. There is no fluff or redundancy, making it highly concise and easy to parse.

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

Completeness1/5

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

Given the tool's complexity (9 parameters, all optional, nested objects, and no schema coverage), the description is grossly incomplete. It does not explain the output format (even though an output schema exists), the meaning of each input, the relationship between the parameters, or any usage constraints. An agent cannot correctly construct a call without additional investigation.

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%, so the description is the only source of parameter meaning. It vaguely references 'operation tree and tool records', which maps to the 'operations' and 'tools' parameters, but it provides no detail on the remaining seven parameters (wcs, part, stock, machine, notes, verification, setupReferences). For a complex tool with 9 nested parameters, this is insufficient.

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 clear verb ('Generate') and a resource ('setup and operation notes') and mentions the primary inputs ('operation tree and tool records'). It is unambiguous about the tool's core function. However, it does not differentiate from the sibling tool 'generate_setup_sheet', which is likely similar in purpose, so it misses an opportunity to distinguish itself.

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 provides no guidance on when to use this tool versus alternatives. There is no mention of prerequisites, scenarios, or exclusions. The sibling 'generate_setup_sheet' is not referenced, and no context is given about when one should be chosen over the other. This leaves the agent to infer usage.

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