Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

operation_stats

Read-only

Retrieves per-operation toolpath extents in WCS and world coordinates—including deepest Z and XY reach—plus cycle time to verify machining range and duration.

Instructions

Per operation: toolpath extents (min/max in WCS and world, so deepest Z and XY reach) and cycle time.

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

Input Schema

NameRequiredDescriptionDefault
idsNoDefault: all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish read-only, non-destructive, closed-world behavior, so the bar is lower. The description does add useful substance by explaining that extents are reported in both WCS and world coordinates so the agent gets deepest Z and XY reach, but it says nothing about units, result ordering, or what happens for operations with no toolpath.

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 compact sentence, front-loaded with the scope ('Per operation') followed by the two payloads. Nothing is wasted, though the parenthetical gloss on deepest Z/XY reach is doing clarifying work that a slightly more structured sentence could do better.

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?

The tool is simple (one optional filter, read-only) and the description covers the conceptual return content, which matters since no output schema exists. However, it leaves units, return structure, and edge cases unstated, so an agent knows roughly what it gets but not exactly what to expect.

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% and the single optional 'ids' parameter carries 'Default: all' in the schema. The description's 'Per operation' phrasing loosely implies the result is keyed per id, but it adds no filtering or format detail beyond the schema, so the baseline 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?

Names a specific result set: per-operation toolpath extents (WCS and world min/max) plus cycle time. The 'per operation' scope is a real distinguisher, but the description never says how it differs from siblings like get_extents or get_cycle_time, which appear to overlap.

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 mention of prerequisites or alternatives, and no indication of when the operation-level view is preferable to the single-purpose get_extents/get_cycle_time tools. The agent must infer usage entirely from the name.

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