Skip to main content
Glama
gpambrozio

onshape-mcp

by gpambrozio

Shell a body

onshape_shell

Hollow a solid body to a specified wall thickness and remove selected faces to create an open shell in an Onshape document.

Instructions

Hollow the body out to a wall thickness, removing the selected faces to open it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wsYesWorkspace id — the <ws> segment of the document URL.
docYesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemYesElement id (tab) — the <elem> segment of the document URL.
nameNoFeature name shown in the tree (default "Shell").
facesNoDeterministic ids of faces to remove.
queryNoFeatureScript query selecting the faces to remove.
outwardNoThicken outward instead of inward.
validateNoRe-read the feature list afterwards and fail if the feature regenerated with an error (default true).
thicknessNoWall thickness in inches (default 0.125).
thickness_variableNoUse a Part Studio variable for the thickness.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations provide only a title, so the description carries the behavioral burden. It does state the core effect (hollowing and removing faces) which implies mutation, but it does not disclose side effects like feature tree insertion, failure conditions, or requirements for a solid body. Adequate but not rich.

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?

A single, front-loaded sentence that states the verb, object, and outcome without any fluff. Every word earns its place.

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?

The schema thoroughly describes each parameter, including defaults and the purpose of faces vs query, outward, and thickness_variable. The description provides minimal high-level context but does not explain relationships between parameters or typical usage scenarios, which is acceptable given the schema richness.

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 description coverage is 100%, so all 10 parameters are fully documented in the schema. The description adds no additional meaning about parameters, so the baseline of 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 uses a specific verb 'Hollow' and a clear resource 'the body', and explicitly states the outcome: removing selected faces to open it. This clearly distinguishes it from sibling tools like extrude, thicken, or hole, which have different purposes.

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?

No guidance is given on when to use this tool versus alternatives such as onshape_thicken or onshape_hole. The description does not mention any prerequisites, exclusions, or context where a different tool would be more appropriate.

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

Deploy Server

Other Tools