Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

list_library_tools

Read-only

Lists all tools stored in a Mastercam tool library (.tooldb) or .mcam file so you can inspect available tooling before selecting tools or building operations.

Instructions

List the tools in a tool library or another 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_tools"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to a tool library (.tooldb) 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 and openWorldHint=false, so the safety profile is covered by structured data. The description adds only that the target may be a .tooldb or another .mcam file; it says nothing about failure behavior for a bad path, whether the file must be closed in Mastercam, or why idempotentHint is false for a pure read.

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 short sentence with the resource and scope front-loaded and no filler. The trailing 'or another Mastercam file' is noticeably vaguer than the schema, which names .tooldb and .mcam explicitly, so the sentence loses a little precision for its brevity.

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?

There is no output schema, so the description is the only place an agent could learn what a 'list of tools' looks like (tool numbers, names, geometry?), and it does not say. For a simple one-parameter read with read-only annotations this is adequate but leaves the return shape and error conditions unspecified.

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?

With a single parameter and 100% schema description coverage, the schema already states the path must be absolute and may point to a .tooldb or .mcam file. The description's 'tool library or another Mastercam file' merely restates that, adding no syntax, resolution rules, or extension guidance beyond the schema.

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 verb ('List') and a specific resource ('tools') scoped to a tool library (.tooldb) or another Mastercam file, which an agent can act on. It stops short of distinguishing itself from the sibling list_tools, which presumably lists tools in the active part/session, leaving the boundary between the two to inference.

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 'in a tool library or another Mastercam file' suggests this is for reading an external library file rather than the current document, but there is no explicit when-to-use, when-not-to-use, or named alternative such as list_tools.

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