Skip to main content
Glama

set_retarget_pose_bone_rotation

DestructiveIdempotent

Set a bone's rotation offset in an IK Retargeter's current retarget pose using Euler degrees, then save the asset as a single undo transaction.

Instructions

Set a bone's rotation offset in the current retarget pose (euler degrees) of an IK Retargeter asset, as one undo transaction, then save the asset; the offset is read back as quat_x..quat_w. Creates a default pose if none is current. bone_name is stored as given, not checked against the skeleton. When the pose to edit is already current and already holds exactly that offset for the bone, changed is false, saved is false, a note says so and nothing is saved. A failed save makes success false, with saved=false and save_error.

Returns: { asset_path: string, bone_name: string, source_or_target: string, retarget_pose: string, quat_x: number, quat_y: number, quat_z: number, quat_w: number, changed: bool, saved: bool, save_error?: string, note?: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yawNoEuler yaw in degrees
rollNoEuler roll in degrees
pitchNoEuler pitch in degrees (used when no quat is provided)
quat_wNoOptional quaternion W
quat_xNoOptional quaternion X
quat_yNoOptional quaternion Y
quat_zNoOptional quaternion Z
rotationNoOptional nested {x, y, z, w} quaternion object
bone_nameYesName of the bone to update
pose_nameNoOptional explicit retarget pose name; created if missing
source_or_targetNoOptional "Source" or "Target" scope; defaults to "Target"
ik_retargeter_pathYesPath to the UIKRetargeter asset

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (idempotentHint=true, destructiveHint=true): it discloses that edits run as one undo transaction and auto-save, that bone_name is not validated against the skeleton, and the exact idempotent short-circuit (changed=false, saved=false, note set, nothing saved). It also defines the save-failure outcome (success=false, saved=false, save_error). This is rich, non-redundant behavioral detail.

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?

Front-loaded with the core action and side effect, then the edge cases. Dense but every sentence carries semantic weight. Slightly heavy, and the trailing Returns block duplicates return-shape detail, but it is not padding.

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?

For a mutation tool with annotations, this covers transactionality, save behavior, idempotency, validation gaps, and failure semantics, and even embeds the return shape despite no output schema. Minor gap: it references a 'success' field in the failure case that does not appear in the stated return object.

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%, so the baseline is 3, but the description adds genuine meaning: the euler/degrees input convention and quaternion read-back, plus the important semantic that bone_name is stored verbatim without skeleton validation. It does not clarify pose_name or source_or_target beyond the schema, keeping it just above baseline.

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?

States a specific verb+resource+scope: setting a bone's rotation offset in the current retarget pose of an IK Retargeter asset. This clearly distinguishes it from siblings like set_retargeter_chain_mapping or set_retargeter_op_settings, which operate on chains/ops rather than pose bone rotations.

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?

Gives clear operational context: it operates on the 'current' retarget pose, auto-creates a default pose if none is current, and requires bone_name to exist in the skeleton. However, it never names an alternative sibling or states when NOT to use this tool (e.g. for chain mapping vs bone rotation).

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