Skip to main content
Glama
Onshape MCP

Onshape MCP

onshape_delete_feature

DestructiveIdempotent

Delete a specified feature from an Onshape Part Studio by feature ID to remove unwanted modeling steps and keep designs current.

Instructions

Delete a feature from a Part Studio by feature id.

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": {
      "did": "<did>",
      "wid": "<wid>",
      "eid": "<eid>",
      "feature_id": "<feature_id>"
    },
    "name": "onshape_delete_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
didYes
eidYes
widYes
feature_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

The annotations already disclose destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is known without the description. The description adds nothing beyond that: it doesn't say whether deletion is permanent or undoable, doesn't warn that downstream features may break, and doesn't mention permission requirements. With annotations carrying the full load, the description contributes no behavioral context.

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

Conciseness3/5

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

The single sentence is front-loaded and free of padding, but its brevity reflects under-specification rather than efficiency, given the four undocumented identifiers and the destructive operation. It is well-formed but too thin for what the tool does.

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

Completeness2/5

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

The output schema exists, so return values needn't be explained. However, for a destructive mutation with four fully required, zero-documented parameters, the definition leaves out the meaning of three identifiers and any consequence of deletion. An agent cannot call this correctly without guessing at the id parameters.

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

Parameters1/5

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

Schema description coverage is 0%, so the description must explain what did, wid, eid, and feature_id are. It names only feature_id and 'Part Studio', leaving three identifiers—which are presumably document, workspace, and element ids—completely undefined in both schema and description. That is a serious gap for a tool where all four parameters are required.

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 uses a specific verb and resource: 'Delete a feature from a Part Studio by feature id.' That is enough to distinguish it from siblings like onshape_add_feature and onshape_update_feature. Differentiation comes from the verb rather than from an explicit statement of alternatives, so it falls just short of 5.

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?

It says nothing about when to use this tool versus alternatives, and nothing about prerequisites such as whether the feature must be suppressed or whether dependent features must be removed first. An agent must infer all routing and precondition decisions from the tool name alone.

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