Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

list_geometry

Read-only

Retrieve geometry entities from a live Mastercam session, including IDs, types, levels, arc centers and radii, line endpoints, and point positions, with filters for level, type, and selection.

Instructions

List geometry entities (ids, type, level; arc centers/radii, line endpoints, point positions).

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_geometry"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoOnly this level
limitNo
typesNoAny of: lines, arcs, points, splines, surfaces, solids, meshes
selected_onlyNo

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?

Annotations already declare readOnlyHint=true, destructiveHint=false, and closed-world behavior, so the safety profile is covered. The description adds real value by disclosing the shape of the returned records (per-type details such as arc centers/radii and line endpoints), which is important with no output schema. However, it says nothing about result-size behavior — the default limit of 500 against a max of 20000 — which is a notable omission for a bulk-listing tool.

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 parenthetical listing returned fields is dense but informative. Slight cost in readability from packing so much into one clause, but nothing is wasted.

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 read-only enumeration tool with no output schema, the description usefully characterizes the returned records. It is still incomplete on result-set behavior: the default/maximum limit, whether truncation occurs, and what selected_only filters are unaddressed, so an agent could call it and silently receive a capped list.

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 description coverage is only 50%: 'level' and 'types' are documented in the schema, while 'limit' and 'selected_only' are not. The description mentions level and type only incidentally as returned fields and adds no meaning about filtering semantics, the 500 default cap, or what selected_only means. It does not compensate for the documented gaps.

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?

States a specific verb (list) and resource (geometry entities) and even enumerates the fields returned (ids, type, level, arc centers/radii, line endpoints, point positions), so the agent knows exactly what it gets. It does not explicitly distinguish itself from siblings like create_geometry or delete_geometry, but those are plainly different operations, leaving a modest gap.

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 when to prefer this over alternatives, and no note about prerequisites or typical workflows (e.g., using it before delete_geometry or create_geometry). The only signal is the verb 'list', so usage must be inferred 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.