Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

list_levels

Read-only

Retrieve levels (layers) from a Mastercam part with names, entity counts, and visibility; optionally include empty levels to audit layer usage.

Instructions

Levels (layers) with names, entity counts and visibility.

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

Input Schema

NameRequiredDescriptionDefault
include_emptyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3/5.0
Behavior3/5

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

The annotations already establish that this is a read-only, non-destructive, closed-world operation. The description adds useful context by stating which fields are returned (names, entity counts, visibility), but it does not explain how include_empty changes the result or whether levels are always returned regardless of visibility.

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?

The description is a single compact sentence with no filler. It is front-loaded with the resource and immediately lists the returned fields, though it could be slightly clearer as a complete clause.

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 simple read-only list tool with no output schema, the description covers the returned fields adequately. However, it omits the only parameter's behavior and leaves the agent to infer from the schema name and default.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single parameter include_empty is not mentioned in the description. The default of false is visible in the schema, but the description does not explain what an empty level means or when to set include_empty to true, so it fails to compensate for the missing schema description.

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 identifies the resource as levels (layers) and the returned attributes: names, entity counts, and visibility. It is clear enough to distinguish this from list_geometry and list_planes, though it is a noun phrase rather than a verb-led purpose statement.

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 explicit guidance on when to use this tool, when not to use it, or how it relates to sibling listing tools. The description gives no usage context beyond the resource itself.

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