Skip to main content
Glama
gpambrozio

onshape-mcp

by gpambrozio

Insert an instance

onshape_insert_instance

Insert a part, entire Part Studio, or another assembly into your current Onshape assembly. Pull from a specific version when inserting across documents.

Instructions

Insert a part, a whole Part Studio or another assembly into an assembly. Insert from a version when pulling from a different document.

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.
partNoPart id, to insert a single part.
src_docNoSource document id (defaults to the target document).
src_elemYesElement id of the source Part Studio or assembly.
is_assemblyNoThe source element is an assembly.
src_versionNoSource version id, required when inserting across documents.
whole_studioNoInsert every part of the source Part Studio.
configurationNoEncoded configuration for the inserted element.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior2/5

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

Annotations provide only a title, so the description carries the full behavioral burden. 'Insert' implies mutation of the target assembly, but the description does not disclose whether the assembly is modified in place, any permission requirements, side effects on existing instances, or what the operation returns. This is comparable to a mutation tool with no annotation support.

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?

Two short sentences with no filler. The primary action and key cross-document rule are front-loaded, making the description easy to scan and process.

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?

For a 10-parameter tool with no output schema and minimal annotations, the description is somewhat thin. It covers the main insertion modes and cross-document version behavior, but it relies heavily on the schema for parameter details and does not explain the operation's effect on the target assembly or expected result.

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 already documents each parameter. The description adds high-level mode context (part vs. whole Part Studio vs. assembly, and version for cross-document pulls), but it does not add meaningful detail beyond the schema's own parameter descriptions.

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 states a specific action ('Insert') and resource ('a part, a whole Part Studio or another assembly into an assembly'), clearly differentiating it from sibling tools like onshape_create_assembly or onshape_transform_instance. It also adds the cross-document nuance of inserting from a version.

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

Usage Guidelines3/5

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

The description gives useful context, especially the rule to insert from a version when pulling from a different document. However, it does not explicitly name alternatives or state when not to use this tool, so usage guidance is mostly implied rather than explicit.

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