Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

set_output_folder

Configure the absolute output folder for NC files in a machine group; defaults to the active group.

Instructions

Set where a machine group's NC files are written.

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": {
      "folder": "<folder>"
    },
    "name": "set_output_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderYesAbsolute folder for NC output
group_idNoMachine group id (default: active)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=false, so the agent knows this is a non-idempotent closed-world mutation. The description adds no behavioral context beyond that — it does not say whether re-pointing the folder affects existing NC files, what validation the path gets, or what is returned on success.

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 short sentence with zero filler, front-loaded on the verb and the effect. It is efficient, though brevity here edges toward under-specification rather than tight completeness.

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 two-parameter setter with full schema coverage and no output schema, the essentials are covered. Still missing are the mutation's side effects on existing output paths and any validation rules for the folder argument, which matter for a non-idempotent write.

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 description coverage is 100%, including the 'absolute folder' phrasing and the 'default: active' semantics for group_id, so the schema carries the parameter meaning. The description's 'machine group's' loosely maps to group_id but adds nothing about path format or the default-group fallback.

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?

Names a specific verb ('Set') and a specific resource ('where a machine group's NC files are written'), so the agent knows this configures NC output location. It does not differentiate from sibling setters such as set_active_group or set_stock beyond the resource noun, so it stops short of a 5.

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 guidance, no prerequisites (e.g. whether the machine group must exist, whether the folder must already exist), and no mention of alternatives. The only usage hint is folded into the schema ('default: active'), not the description.

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