Skip to main content
Glama
Mastercam MCP Server

Mastercam MCP Server

by FunSize77

delete_geometry

Destructive

Deletes entities from the open part by IDs or level (never files); regenerate chained operations afterward to update their toolpaths.

Instructions

Delete entities from the open part (never files). Operations chained to them keep their old toolpath until regenerated: regenerate_operations and check them afterwards.

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

Input Schema

NameRequiredDescriptionDefault
idsNoEntity ids
levelNoDelete every entity on this level

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds a consequence the annotations cannot convey: operations chained to the deleted entities retain a stale toolpath until regeneration. That stale-state warning plus the 'never files' scope limit is real added value; it stops short of saying whether the deletion is reversible or what is returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, and the scope constraint is front-loaded before the workflow follow-up. Every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive two-parameter tool with annotations covering safety and no output schema, the description covers scope and downstream effects well. The remaining gap is that both parameters are optional with null defaults and the description never says what happens if neither is supplied — an ambiguity an agent could easily hit.

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 coverage is 100%, with 'ids' and 'level' each documented in the schema, so the schema does the heavy lifting. The description adds no meaning about the two modes (id list vs whole level) or what happens when both are omitted, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Delete entities from the open part') and immediately scopes it with '(never files)', which rules out the file-level interpretation an agent might otherwise assume. That parenthetical makes the tool distinguishable from file-deletion siblings without opening any schema.

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?

It gives valuable post-use guidance — regenerate_operations and check operations afterwards — but never states when this tool should be chosen over an alternative such as delete_operations, nor any precondition for calling it. Usage is implied through the workflow note rather than explicitly framed.

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