Skip to main content
Glama
hedless

Onshape MCP Server

by hedless

create_revolute_mate

Creates a rotation mate between two assembly instances, defining relative rotation around the mate connector Z-axis using specified face IDs. Supports optional angle limits and connector offsets.

Instructions

Create a revolute (rotation) mate between two assembly instances. The first instance rotates relative to the second around the mate connector Z-axis. Requires face IDs from Part Studio body details. Optional offsets shift connectors from face centers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoMate nameRevolute mate
maxLimitNoOptional maximum rotation limit in degrees
minLimitNoOptional minimum rotation limit in degrees
elementIdYesAssembly element ID
documentIdYesDocument ID
firstFaceIdYesFace deterministic ID on the first instance
workspaceIdYesWorkspace ID
firstOffsetXNoFirst connector X offset in inches
firstOffsetYNoFirst connector Y offset in inches
firstOffsetZNoFirst connector Z offset in inches
secondFaceIdYesFace deterministic ID on the second instance
secondOffsetXNoSecond connector X offset in inches
secondOffsetYNoSecond connector Y offset in inches
secondOffsetZNoSecond connector Z offset in inches
firstInstanceIdYesFirst instance ID
secondInstanceIdYesSecond instance ID
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It explains the rotation axis and offset functionality, but does not mention permissions, destructive nature, side effects, or return behavior. Adequate but not comprehensive.

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, front-loaded with purpose, no filler. 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 16 parameters, no output schema, and no annotations, the description covers the core functionality well. It could mention the result (e.g., mate created) or error handling, but overall sufficiently complete for a creation tool.

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 coverage is 100%, so baseline is 3. The description adds context about face IDs and offsets, but otherwise does not provide significant new meaning beyond the schema 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 clearly states the tool creates a revolute (rotation) mate between two assembly instances, specifying the rotation axis (Z-axis) and which instance rotates relative to which. This distinguishes it from sibling mate tools like create_cylindrical_mate or create_fastened_mate.

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 mentions requirements (face IDs from Part Studio) and optional offsets, but does not explicitly state when to use this mate versus other mate types, nor provide when-not-to-use guidance or alternative tools.

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