Skip to main content
Glama
hedless

Onshape MCP Server

by hedless

set_instance_position

Sets an assembly instance to an absolute position (x,y,z in inches) and resets rotation. Use for precise placement; fails on grounded instances.

Instructions

Set an instance to an ABSOLUTE position in inches (unlike transform_instance which is relative). Resets rotation to identity. Note: fails on fixed/grounded instances (API returns 400).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYesAbsolute X position in inches
yYesAbsolute Y position in inches
zYesAbsolute Z position in inches
elementIdYesAssembly element ID
documentIdYesDocument ID
instanceIdYesInstance ID to position
workspaceIdYesWorkspace ID
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses rotation reset and error condition (400 on fixed/grounded). Missing possible side effects like permission requirements, but the disclosed behaviors are valuable.

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 sentences plus a note, front-loaded with key info. No wasted words; every sentence adds value.

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?

Given no output schema, the description covers the core operation, key behavioral traits, and a failure case. Could mention prerequisites like document state or permissions, but overall sufficient for agent decision-making.

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 baseline is 3. The description reinforces that coordinates are absolute and in inches, which the schema already states. No additional meaning added for other parameters.

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 ('Set') and resource ('instance to an ABSOLUTE position'), clearly distinguishing from the sibling tool 'transform_instance' which is relative. It also states the unit (inches) and additional behavior (resets rotation).

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?

Explicitly contrasts with 'transform_instance' (relative) and notes failure on fixed/grounded instances, giving clear when-to-use and when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hedless/onshape-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server