Skip to main content
Glama
hedless

Onshape MCP Server

by hedless

create_mate_connector

Creates a mate connector at the center of a selected face in an Onshape assembly, with configurable offsets and axis orientation.

Instructions

Create an explicit mate connector on a face of an assembly instance. The connector is placed at the face center with its Z-axis along the face normal. Offsets are in the connector's LOCAL coordinate system (X/Y in-plane, Z along normal). Flipping the Z-axis also reverses the other axes via the right-hand rule, which affects how offset translations map to world space.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoMate connector nameMate connector
faceIdYesFace deterministic ID (from Part Studio body details)
offsetXNoX offset from face center in inches
offsetYNoY offset from face center in inches
offsetZNoZ offset (along face normal) from face center in inches
elementIdYesAssembly element ID
documentIdYesDocument ID
instanceIdYesInstance ID to attach the connector to
flipPrimaryNoFlip the primary (Z) axis direction
workspaceIdYesWorkspace ID
secondaryAxisTypeNoReorient secondary axisPLUS_X
Behavior3/5

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

With no annotations, the description bears full burden. It explains coordinate system orientation, flip behavior, and local offsets, but does not cover potential side effects, preconditions, or whether the operation is undoable.

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?

The description is concise (two sentences) and front-loaded with the main purpose. However, the coordinate system explanation could be more structured for easier parsing.

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 11 parameters and no output schema, the description provides thorough context on placement, orientation, and axis behavior. It lacks only a brief statement on return value or side effects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds significant value by explaining the local coordinate system, axis orientation, and how flipping affects offset mapping, which is not obvious from parameter names alone.

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 an explicit mate connector on a face, specifying placement at face center with Z-axis along normal, which distinguishes it from other mate creation tools (e.g., create_revolute_mate, 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 Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like other mate connectors or fasteners. It does not mention prerequisites or scenarios where this tool is inappropriate.

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