Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

list_library_operations

Read-only

Retrieve operations and toolpath groups from a Mastercam operation library or .mcam file to inspect reusable machining data before reusing or editing it.

Instructions

List the operations and toolpath groups stored in an operation library / other Mastercam file.

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": {
      "path": "<path>"
    },
    "name": "list_library_operations"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to an operation library (.mcam-operations) or .mcam

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, and idempotentHint=false, so the safety profile is covered. The description adds that both operations and toolpath groups are returned, but says nothing about ordering, error behavior for a missing/invalid path, or whether the target file is opened or modified. With annotations present, this is an acceptable but thin addition.

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 front-loaded sentence with no filler; the resource is stated before the file-scope qualifier. The only weakness is the slash construction 'operation library / other Mastercam file', which is slightly ambiguous about whether these are two distinct accepted file kinds.

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 required parameter, read-only, no nested objects) and annotations carry the safety semantics. However, there is no output schema and the description does not say what the listing looks like or whether it is grouped or paginated, so an agent cannot anticipate the response shape. Adequate but with a clear remaining gap.

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?

There is one parameter with 100% schema description coverage, so the schema already explains that 'path' is an absolute path to a .mcam-operations or .mcam file. The description's mention of 'operation library / other Mastercam file' largely restates the schema rather than adding format, validation, or path-resolution detail. Baseline 3 applies when the schema does the work.

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 gives a specific verb ('List') and a specific resource ('operations and toolpath groups') scoped to 'an operation library / other Mastercam file'. That scope is what distinguishes it from the sibling list_operations, which reads as operating on the active file, though the description never names that sibling explicitly.

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?

Usage is only implied: the phrase 'stored in an operation library / other Mastercam file' suggests the tool applies to external files rather than the current session. There is no explicit statement of when to choose this over list_operations or list_library_tools, and no prerequisites or exclusions.

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