Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

select_mastercam

Idempotent

Route subsequent commands to a specific open Mastercam window using its process ID, so you can control the intended instance when multiple sessions are running.

Instructions

Send all following commands to one specific Mastercam window (when several are open).

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

Input Schema

NameRequiredDescriptionDefault
pidNoMastercam process id from mastercam_status.instances; omit to use the default instance

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false with idempotentHint=true, which only hints at a state change; the description supplies the missing piece by explaining that the call redirects all subsequent commands to the chosen window, i.e. a session-scoped routing side effect. It still omits what happens on an invalid or closed pid and whether the selection survives reconnects, so it is not fully transparent.

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?

One sentence, front-loaded with the effect and qualified by the condition that matters. The phrasing 'Send all following commands' is slightly indirect for a state-setting tool, but nothing is wasted.

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 single optional parameter with full schema coverage and no output schema, the description covers what the tool does and when it matters. Gaps are limited to lifecycle questions (persistence, error behavior for a stale pid) rather than anything blocking correct invocation.

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 100% and the schema already explains that pid comes from mastercam_status.instances and may be omitted for the default instance. The description adds no format, validation, or failure semantics beyond that, so the baseline of 3 applies.

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 specific action (route subsequent commands) and target (one Mastercam window), which is meaningfully more informative than the tool name 'select_mastercam' alone. It does not explicitly differentiate itself from mastercam_status or launch_mastercam, 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 Guidelines3/5

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

The parenthetical '(when several are open)' gives a usable trigger condition, so usage is more than implied. However it names no alternative (e.g., mastercam_status to enumerate instances) and does not say whether calling it is required before other operations or how to revert to the default instance.

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