Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

new_file

Destructive

Start a new empty Mastercam part, discarding unsaved changes in the current file. Use it to begin fresh geometry and toolpath work without leftover data.

Instructions

Start a new empty part. Unsaved changes in the current file are discarded.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds the crucial detail that unsaved changes in the current file will be lost. It does not discuss confirmation prompts or undo behavior, but for a zero-parameter tool this is a meaningful behavioral disclosure.

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 short sentences with no waste: the purpose comes first and the destructive consequence is front-loaded immediately after. Every sentence earns its place.

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 zero-parameter destructive operation, the description covers the essential purpose and the key risk of data loss. It could mention what happens after creation, such as whether the part is untitled or must be saved to persist, but no output schema or parameter detail is required.

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?

The tool has no parameters, so there is no parameter semantics to clarify beyond the empty schema. The baseline for zero-parameter tools is appropriate here.

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

Purpose5/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: starting a new empty part. It inherently distinguishes this from sibling operations like open_file, save_file, and export_file, since it creates a fresh part rather than opening, saving, or exporting one.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly signals when to use the tool by describing the outcome of starting a new empty part and warns that unsaved changes in the current file are discarded. It does not explicitly name alternatives such as saving first, so it falls short of full when/when-not guidance.

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