Skip to main content
Glama
Onshape MCP

Onshape MCP

onshape_list_workspaces

Read-onlyIdempotent

Lists workspaces (branches) for an Onshape document using its document ID, enabling users to browse available branches before viewing or editing model data.

Instructions

List workspaces (branches) of a document.

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>"
    },
    "name": "onshape_list_workspaces"
  }
}

Input Schema

NameRequiredDescriptionDefault
didYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the description's safety burden is low. Beyond that it adds nothing: no statement about pagination, result ordering, empty results, or auth/access requirements, and an output schema exists but the description offers no framing of the returned set.

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?

One short front-loaded sentence with no filler. It is appropriately sized, though the brevity stems partly from under-specification rather than disciplined editing.

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?

A simple read-only list tool with annotations and an output schema, so most structured context is already supplied. The gaps, chiefly the meaning/format of "did" and how this list relates to versions or elements, keep it at the minimum-viable level.

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?

Single parameter "did" at 0% schema description coverage, so only the phrase "of a document" hints that did is a document identifier. The description does not state the expected id format (URL vs raw hex id) or how to obtain one, which is the main ambiguity for a lone undocumented param.

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 and resource ("List workspaces") and disambiguates the domain term with "(branches) of a document." It is clear enough to distinguish from onshape_list_versions or onshape_list_elements, but it never names those siblings to confirm the boundary.

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 on when to call this versus onshape_list_versions or onshape_get_document, and no prerequisites (e.g., whether the caller must resolve a document id first). The only usage signal is implicit in "of a document."

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