Skip to main content
Glama
Praket7

mastercam-mcp

by Praket7

get_machine_context

Read-onlyIdempotent

Retrieve machine, stock, workholding, and coordinate context from the active Mastercam session for accurate CAM setup and decision-making.

Instructions

Return machine, stock, workholding, and coordinate context

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNo
liveNo
toolYes
errorNo
receiptNo
documentRevisionNo
operationFingerprintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is well covered. The description adds the scope of what context is returned but no additional behavioral traits such as snapshot behavior, cost, or relationship to get_programming_context. No contradiction with annotations.

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?

The description is a single front-loaded sentence with no filler. Every word contributes meaning by enumerating the four context areas, which is appropriately sized for a zero-parameter tool.

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?

With zero parameters, strong annotations, and an output schema present, the description is largely sufficient for invocation. The only notable gap is the lack of guidance on how this aggregate relates to its granular siblings, but that gap is mostly a usage-guideline concern.

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 takes zero parameters, so the baseline is 4. The description's list of returned context domains clarifies what the parameterless call provides, but there is no parameter-level semantics to enrich.

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 uses a clear verb ('Return') and names four concrete context domains: machine, stock, workholding, and coordinate. It conveys that this is an aggregate context getter, but it does not explicitly differentiate itself from sibling tools like get_stock, get_wcs, or get_fixture_info.

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?

The description gives no indication of when to call this aggregate tool instead of the more granular sibling tools. There are no alternatives, exclusions, or contextual triggers mentioned, leaving the agent to infer usage from the tool name and the sibling list.

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