Skip to main content
Glama

bone_setConstraints

Configures bone angle limits, delayed angle/position/scale controls, squash-and-stretch, max IK stretching, and Arc IK solver for single bones or bone chains.

Instructions

Configure bone angle limits, angle/pos/scale delayed control constraints (single bone or chainBoneIds/Names), squash&stretch, maxIKStretching, and arcSolver.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bone_setConstraints"
  }
}

Input Schema

NameRequiredDescriptionDefault
boneIdNoZero-based bone index inside the BoneLayer
maxDegNo
minDegNo
enabledNo
layerIdNoNumeric depth-first layer ID (from layer_list)
boneNameNoExact bone name
arcSolverNoEnable Moho Arc IK solver
chainModeNo
layerNameNoExact layer name
layerUuidNoLayer UUID
chainDelayNo
chainScaleNo
chainBoneIdsNoApply delayed constraints across a bone chain
squashStretchNoEnable Squash & Stretch scaling (fScalingMode=2)
chainBoneNamesNo
maxAutoScalingNo
controlParentIdNoOptional shared control parent ID for chain mode (defaults to each bone's parent)
maxIKStretchingNoMaximum IK bone auto-stretching factor (fMaxAutoScaling)
posControlDelayNo
posControlScaleNoPosition control scale {x, y} or uniform number
posControlParentNo
angleControlDelayNo
angleControlScaleNo
controlParentNameNo
scaleControlDelayNo
scaleControlScaleNo
angleControlParentNo
scaleControlParentNo
posControlParentNameNo
squashStretchScalingNoSquash & stretch scaling factor
angleControlParentNameNo
scaleControlParentNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a 32-parameter mutation tool. It never says whether existing constraints are overwritten, whether omitted constraint types are left untouched or reset, what permission/preconditions apply, or that zero parameters are required (so the caller must identify the bone some other way). Only the feature scope is disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

It is a single front-loaded sentence with the verb first and no filler, which is efficient. However, the comma-separated run-on of feature names reads as a keyword dump rather than structured guidance, and it offers no hierarchy between selector parameters and constraint settings.

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

Completeness2/5

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

For a highly complex tool (32 optional parameters, no annotations, no output schema, low schema coverage), the description is far too thin. An agent still cannot determine how to target a bone, what happens to unspecified constraints, or how chain mode differs in effect from single-bone mode.

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

Parameters2/5

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

Schema description coverage is only 38% across 32 parameters, so the description must compensate and largely does not. It names feature areas (angle limits, angle/pos/scale delays, squash&stretch, arcSolver) that map loosely to parameter groups, but leaves the many controlParent*/controlScale*/chainDelay parameters and the boneId/boneName/layerId selector interplay unexplained beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb ('Configure') and resource ('bone angle limits, delayed control constraints, squash&stretch, maxIKStretching, arcSolver'), so an agent can tell it manipulates bone constraint settings rather than transforms or dynamics. It does not contrast itself with its closest siblings (bone_setProperties, bone_setTransform, bone_setDynamics), so the distinction relies on the field list alone.

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?

Usage is only implied: the parenthetical 'single bone or chainBoneIds/Names' signals that passing a chain selects chain mode versus single-bone mode, which is real routing guidance inside the tool. There is no statement of when to call this instead of bone_setProperties or bone_setTransform, and no prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.