Skip to main content
Glama
Onshape MCP

Onshape MCP

onshape_list_parts

Read-onlyIdempotent

Lists all parts in an Onshape Part Studio with names, part IDs, materials, and appearances so you can inspect CAD structure and reference parts by ID.

Instructions

List parts in a Part Studio (name, partId, material, appearance).

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>",
      "wvm": "<wvm>",
      "wvmid": "<wvmid>",
      "eid": "<eid>"
    },
    "name": "onshape_list_parts"
  }
}

Input Schema

NameRequiredDescriptionDefault
didYes
eidYes
wvmYes
wvmidYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and openWorld, so the safety profile is covered structurally. The description adds the returned field set, which is mild value, but says nothing about pagination, empty results, or permission requirements for a cross-document read.

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 zero waste. It is arguably over-terse given the undocumented parameters, but there is no filler or redundancy.

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?

For a tool that cannot be invoked without four unexplained identifiers, the definition leaves too much unresolved; the presence of an output schema excuses it from describing return values, but not from explaining how to supply the required IDs. The safety profile is the only area fully covered, via annotations.

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 0%: all four required parameters (did, wvm, wvmid, eid) are opaque acronyms with no titles beyond bare names. The description's mention of "Part Studio" weakly implies eid is a Part Studio element id, but it does not explain did/wvm/wvmid or the w/v/m enum, leaving the agent to guess.

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 ("List parts") and scopes it to a Part Studio, plus it enumerates the fields returned (name, partId, material, appearance). That is enough to distinguish it from siblings like onshape_list_elements or onshape_get_features, though it never explicitly contrasts with them.

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 prerequisites, and no mention of when another sibling (e.g., list_elements or get_bom) would be preferable. The only contextual hint is the phrase "in a Part Studio," which is implied scope rather than guidance.

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