Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

set_level

Idempotent

Create or configure a Mastercam level by assigning its number and name, activating it for new geometry, or controlling visibility.

Instructions

Create, name, activate or show/hide a level.

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": {
      "number": "<number>"
    },
    "name": "set_level"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
activeNoNew geometry goes on this level
numberYes
visibleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive, idempotent, non-open-world mutation, so the safety profile is covered. The description adds the notion that the same call both creates and modifies (upsert-like), which is consistent with idempotentHint, but it never states what happens when the given number already exists, whether naming overwrites, or whether activating one level deactivates others.

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 tight sentence with no filler, and the resource is stated up front. The verb list is compressed to the point of ambiguity rather than being verbose, so it loses little on structure.

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?

For a four-parameter mutation tool with 25% schema coverage and no output schema, the definition is thin: it omits create-vs-update semantics, the meaning of null defaults, and what the call returns. An agent could invoke it, but not confidently predict the effect on an existing level.

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 coverage is only 25%, with just the 'active' parameter documented, so the description carries real weight. Its verbs map loosely onto three of the four parameters (name, active, visible), but the required 'number' parameter is never explained—whether it identifies an existing level or assigns a new one is left ambiguous.

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 names a specific resource (a level) and enumerates concrete operations: create, name, activate, show/hide. That is far more informative than the bare tool name, though it reads as several verbs mashed together without saying whether one call performs all of them or which combination is valid.

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?

The enumeration of verbs implicitly tells an agent what the tool is for, but there is no explicit when-to-use guidance and no mention of alternatives such as list_levels for enumerating existing levels or set_active_group. It also fails to say whether omitting optional parameters leaves existing values untouched.

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