Skip to main content
Glama
hellstein-dev

fusion-mcp

assembly_create_joint

Join two parts with a specified joint type in the root component, moving the first part's snap point onto the second so assembly motion is defined.

Instructions

Join two parts with a joint (created in the root component): geometry_one's part moves so its snap point lands on geometry_two's.

Getting refs: call inspect_query(kind="edge" or "face", scope=["occurrence:Lid:1"]) and use the returned refs; entities inside occurrences look like '@' (e.g. 'AbC=@Lid:1'). A native ref of a component inserted once is accepted; if inserted several times you get INVALID_PARAMS with the candidate refs.

motion keys per type (default in brackets; 'x'|'y'|'z' are axes of the joint, a ref of an edge/axis/face sets a custom direction): rigid - none; revolute - axis [z]; slider - direction [z]; cylindrical - axis [z]; pin_slot - axis [z], slide_direction [x]; planar - normal [z], primary_slide_direction (ref); ball - pitch_direction [z], yaw_direction [x]. For a hinge pass the hinge edge as the axis.

Returns {"joint": {"ref", "name", "type", "occurrence_one", "occurrence_two", "values": {"rotation_deg" | "slide_mm" | ...}, "limits": {dof: {"min", "max", "rest"}}, "is_suppressed", "health", "message"}}. Nothing is left on failure.

Example: assembly_create_joint(type="revolute", geometry_one={"kind": "curve", "entity": "E1=@Lid:1"}, geometry_two={"kind": "curve", "entity": "E2=@Box:1"}, motion={"axis": "E2=@Box:1"}) -> {"joint": {"type": "revolute", "values": {"rotation_deg": 0.0}, "occurrence_one": "occurrence:Lid:1", ...}}.

Input Schema

NameRequiredDescriptionDefault
flipNoFlip the direction of geometry_one
nameNoJoint name
typeYesJoint type (degrees of freedom)
angleNoRotation about the joint Z: degrees or expression
motionNoMotion axes of the type; values 'x'|'y'|'z' or a ref, see below
offsetNoOffset along the joint Z: mm number or expression
geometry_oneYesSnap on the MOVING part (it moves to geometry_two)
geometry_twoYesSnap on the part it joins

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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 does well: it discloses root-component placement, that geometry_one's part moves, the failure behavior ('Nothing is left on failure'), and the INVALID_PARAMS case for ambiguous native refs. It does not discuss permissions or broader destructive impact, keeping it below 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but front-loaded with the core purpose and then organized into refs, motion keys, return shape, and an example. For an 8-parameter joint creation tool, the detail is largely justified, though it is dense enough that some tightening could improve scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema and no annotations, so the description needs to carry return and failure behavior, which it does by documenting the returned joint object and failure cleanup. It also covers reference formats, ambiguous reference errors, and per-type motion requirements, making it complete for correct invocation.

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

Parameters5/5

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

Although schema description coverage is already 100%, the description adds substantial meaning beyond the schema: it defines the motion keys and defaults for each joint type, explains axis semantics, and clarifies that geometry_one is the moving snap while geometry_two is the target. The worked example further anchors expected parameter usage.

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 verb and resource: create a joint joining two parts, with the important scope note that it is created in the root component. It also clarifies which side moves, distinguishing the join semantics clearly enough for an agent to understand the operation.

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?

The description gives clear context for using the tool and explains how to obtain valid references via inspect_query. It does not explicitly compare against sibling tools such as assembly_create_as_built_joint or assembly_create_joint_origin, so it lacks full alternative routing guidance.

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