Skip to main content
Glama
caoguanqiu1-alt

CAD-CAE-Agent SolidWorks MCP Server

add_mate

Mate two components in the active assembly by aligning reference planes or axes with coincident, concentric, distance, or angle mates.

Instructions

Mate two components in the active assembly.

Positions components relative to one another — coincident planes to stack or align them, concentric to line up axes, distance to hold a gap.

Entities are selected by feature name, so only each component's reference planes and axes can be mated. Mating to a specific face or edge needs entity names this adapter cannot enumerate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_dataYesComponents, entities and mate type.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses a genuinely important limitation: entities are selected by feature name, so only reference planes/axes can be mated and specific faces/edges cannot be enumerated by this adapter. That pre-empts a likely failure mode. It omits what happens on failure or any permission/rebuild side effects, so not a 5.

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?

Three short paragraphs, front-loaded with the core action, then mate-type semantics, then the entity-selection caveat. No sentence is wasted and the most important constraint sits in its own paragraph.

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?

An output schema exists, so return values needn't be explained, and the description covers the key invocation constraint (entity naming). For a mutation tool with zero annotations it could say more about defaults or failure behavior, but it is complete enough to call the tool correctly.

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% and every field carries its own description plus defaults, so the schema already does the heavy lifting. The description adds conceptual meaning for coincident/concentric/distance but no syntax or value guidance beyond the schema, so baseline 3 applies.

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?

Opens with a specific verb+resource and scope ('Mate two components in the active assembly'), then enumerates the positioning behaviors (coincident, concentric, distance). An agent can distinguish this from sibling generators like generate_vba_assembly_mates without opening any schema.

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

Usage Guidelines4/5

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

Explains the conditions for the mate types (stack/align planes, line up axes, hold a gap) and gives a clear constraint on which entities are selectable. It stops short of naming a sibling alternative or stating explicit when-not-to-use guidance, but the context is clear.

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