Skip to main content
Glama

add_bone_constraint

Add a pose-bone constraint to an armature bone to control animation through copy, track, limit, stretch, or child-of behavior.

Instructions

Add a pose-bone constraint (COPY_ROTATION, COPY_LOCATION, TRACK_TO, DAMPED_TRACK, LIMIT_ROTATION, STRETCH_TO, LIMIT_LOCATION, CHILD_OF...). target: an object name. properties: constraint properties by name.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "armature": "<armature>",
      "bone": "<bone>",
      "type": "<type>"
    },
    "name": "add_bone_constraint"
  }
}

Input Schema

NameRequiredDescriptionDefault
boneYes
typeYes
targetNo
armatureYes
propertiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for a mutation tool, yet it says nothing about what happens on an unknown constraint type, whether the constraint is appended to the stack, whether duplicate constraints are allowed, or what permissions/mode are required. Only the 'target is an object name' note adds real behavioral context.

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 action, then two short clarifying clauses; nothing is redundant. The long trailing '...' enumeration of types is slightly bloated but does real work.

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?

A five-parameter mutation tool with no annotations, no output schema, and 0% schema coverage needs more than three sentences: the armature/bone inputs and failure or return behavior are unaddressed. An agent could call it, but would be guessing on key inputs.

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 0%, so the description must compensate; it clarifies type (via the constraint-type enumeration), target ('an object name'), and properties ('constraint properties by name'). It leaves armature and bone entirely unexplained, so the compensation is only partial across five parameters.

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?

States a specific verb and resource ('Add a pose-bone constraint') and enumerates the accepted constraint types, which makes the operation unambiguous. It does not explicitly contrast itself with nearby tools like add_ik or attach_to_bone, so it stops short of a 5.

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?

There is no statement of when to use this versus add_ik or attach_to_bone, and no prerequisites such as the armature being in pose mode or the target needing to exist. The parenthetical type list implies capability but gives no selection guidance.

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