Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

knowledge

Read-onlyIdempotent

Get Mastercam programming guidance by reading the master guide, opening a specific topic, or searching all guides for instructions built from Mastercam 2027 behavior.

Instructions

How to program Mastercam well with these tools: the master guide (default), one topic, or a search across all guides. Built from behaviour measured on Mastercam 2027.

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

Input Schema

NameRequiredDescriptionDefault
topicNoGuide to read, e.g. 'workflow', 'holes', 'planes'. Omit for the master guide.
searchNoWords to find in every guide (all must appear on a line)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the bar is lower. The description adds genuine provenance value with "Built from behaviour measured on Mastercam 2027", which tells the agent the guidance is version-specific. It stays silent on how large the returned guide text is or how the two parameters interact, which matters for a retrieval tool whose output could be long.

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?

Two compact sentences with the default mode front-loaded and the alternatives following. Every clause maps to a mode the agent must choose between; only the trailing version note is optional context.

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-optional-parameter read-only lookup tool with no output schema, the description covers the mode selection adequately but never says what actually comes back (guide prose, presumably) or how the two optional parameters resolve if both are set. Those are the remaining gaps an agent would want closed.

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%, so the schema already documents both parameters including examples ('workflow', 'holes', 'planes') and the 'all must appear on a line' matching rule. The description adds only the framing that 'search' spans all guides and that the master guide is the default path. Baseline 3 applies since the schema carries the semantics.

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 makes clear this is a documentation/guide retrieval tool for programming Mastercam, and it enumerates the three operating modes (master guide by default, a single topic, or a cross-guide search). The verb is soft ("How to program Mastercam well") rather than an explicit "return guide text", but an agent can immediately tell this is the reference-lookup tool among the toolpath/geometry creation siblings.

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 gives concrete selection guidance: omit the topic for the master guide (explicitly labelled the default), supply a topic to read one guide, or search to scan every guide. What is missing is any statement about mutual exclusivity when both topic and search are supplied, and no explicit "use this instead of X" routing, though the sibling set makes the role obvious.

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