Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

generate_setup_sheet

Creates a printable HTML setup sheet and operator run sheet with operations, tools, offsets, times, and part image for Mastercam job documentation.

Instructions

Write a printable HTML setup sheet + operator run sheet (operations, tools, offsets, times, part image).

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": {
      "output_path": "<output_path>"
    },
    "name": "generate_setup_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
titleNo
nc_filesNoNC files to list on the sheet
programmerNo
output_pathYesAbsolute .html path
include_screenshotNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotent=false, openWorldHint=false, so the safety profile is known. The description adds the useful fact that the output is a printable HTML file containing specific sections, but says nothing about whether an existing file at output_path is overwritten, what happens if no operations exist, or where the operations/tools data is sourced from.

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

Conciseness4/5

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

A single well-formed sentence with the verb and primary output front-loaded, and the parenthetical inventory adds information efficiently. Nothing is padded, though the inventory could have been used to map to parameters instead of just listing sections.

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 6-parameter, no-output-schema file-writing tool, the definition covers the artifact but leaves key gaps: the source of the operations/tools/times data, overwrite behavior, and the meaning of four parameters. It is adequate to recognize the tool's purpose but not fully sufficient to invoke it confidently.

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 coverage is only 33% (output_path and nc_files are the only documented parameters), and the description mostly does not compensate: title, programmer, and notes are never mentioned, and include_screenshot is only obliquely hinted at by "part image" with no mention of its default of true. The parenthetical list describes the sheet's contents rather than the arguments that control them.

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 a concrete dual artifact ("Write a printable HTML setup sheet + operator run sheet") and enumerates the contents in parentheses. It does not distinguish itself from the sibling run_native_setup_sheet, so the agent cannot tell from the description which of the two to choose.

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 when-to-use or when-not-to-use guidance; the description only says what the tool produces. With a sibling named run_native_setup_sheet in the catalog, the absence of any routing guidance leaves the choice ambiguous, and no prerequisites (e.g. an active job or loaded operations) are stated.

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