Skip to main content
Glama
dsh18235538266-crypto

onshape-mcp-codex

create_part_studio

Create a new Part Studio in a specified document and workspace, returning its elementId and all Part Studio names to avoid targeting the default empty one.

Instructions

Create a new Part Studio in an existing document. Returns the new Part Studio's elementId AND a list of other Part Studios in the same workspace (so callers don't accidentally target the empty default 'Part Studio 1' that most fresh Onshape documents ship with). Prefer this tool's returned elementId over re-enumerating via find_part_studios.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName for the new Part Studio
documentIdYesDocument ID
workspaceIdYesWorkspace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden of explaining behavior. It discloses the creation side effect and, more usefully, reveals the exact return values: the new elementId and the list of other Part Studios. It also exposes the hidden pitfall about the empty default 'Part Studio 1', which is valuable behavioral context beyond a basic description.

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?

The description is concise, well-structured, and every sentence earns its place. It front-loads the primary action, then adds return semantics and guidance about the default Part Studio pitfall in a natural order.

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 tool with three required parameters and no output schema, the description adequately explains what to expect back and how to use the result. It could add more detail about constraints or failure modes, but the key contextual elements—what it creates, what it returns, and how to avoid a common mistake—are present.

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 the schema documents all three parameters, but those descriptions are thin ('Document ID', 'Workspace ID', 'Name for the new Part Studio'). The description adds only general context like 'existing document', not deeper meaning for the parameters themselves, so the baseline of 3 is appropriate.

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 and resource ('Create a new Part Studio in an existing document'), clearly distinguishing it from other creation tools like create_document and from querying tools like find_part_studios. It also states what the tool returns, leaving no ambiguity about its purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance to prefer this tool's returned elementId over re-enumerating via find_part_studios, and frames the tool as the appropriate way to create a Part Studio in an existing document. This directly helps an agent choose it among many sibling tools.

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