Skip to main content
Glama
BlenderMCP

BlenderMCP

by szichedelic

add_constraint

Apply a constraint to a Blender object to control its position, rotation, tracking, or parenting behavior with optional targets and parameters.

Instructions

Add a constraint to an object.

Parameters:

  • object_name: Name of the object

  • constraint_type: Blender constraint type (e.g. TRACK_TO, COPY_LOCATION, CHILD_OF, LIMIT_ROTATION)

  • name: Optional name for the constraint

  • target: Optional target object name

  • params: Optional JSON string of constraint parameters

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": {
      "object_name": "<object_name>",
      "constraint_type": "<constraint_type>"
    },
    "name": "add_constraint"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
paramsNo
targetNo
object_nameYes
constraint_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.5

TDQS

C2.9/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. It does not disclose what happens on an invalid constraint_type, whether the constraint is appended to an existing stack or replaces one, whether the object must be active, or what the call returns — all meaningful gaps for a mutation tool.

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 one-line purpose is front-loaded and the parameter list is compact and scannable. Slight redundancy between the title-derived schema fields and the bullets, but nothing is wasteful.

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

Completeness3/5

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

For a 5-parameter mutation tool with no annotations and no output schema, the description covers the parameter surface but omits the params JSON contract, error behavior, and return value. It is adequate to attempt a call but not complete enough to guarantee a correct one.

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, and it does document all five parameters with intent and gives concrete example constraint types (TRACK_TO, COPY_LOCATION, CHILD_OF, LIMIT_ROTATION). However, the 'params' JSON string is left completely opaque — no key names or format — which is the most error-prone parameter.

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 states a specific verb and resource ('Add a constraint to an object'), which is unambiguous on its own. It does not differentiate from nearby siblings such as remove_constraint, set_constraint_params, or get_constraints, so an agent must infer the division of labor.

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 when-to-use guidance: nothing says whether to call this versus set_constraint_params for an existing constraint, or what prerequisites (object must exist, be selected/active) apply. Usage is only implied by the verb 'add'.

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