Skip to main content
Glama

Set Object Transform

set_transform

Set an object's position, rotation, or scale in local or global space, or replace the entire transform with a 4x3 matrix. Unspecified components keep current values.

Instructions

Write an object's transform in local or global space. Pass any combination of pos/rot (HPB radians)/scale to patch individual components — unspecified parts keep their current value. Or pass a full 4x3 matrix (rows: offset, v1, v2, v3) to replace the whole transform; matrix is mutually exclusive with the decomposed fields. Space defaults to 'local' (SetMl). Use 'global' (SetMg) to write world coordinates through a parent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
posNo[x, y, z].
rotNo[heading, pitch, bank] in radians.
scaleNo[sx, sy, sz].
spaceNoDefault 'local'.
handleYesTarget object.
matrixNo4x3 matrix as [offset, v1, v2, v3]. Exclusive with pos/rot/scale.
Behavior4/5

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

No annotations provided; description carries full burden. It discloses key behaviors: partial patching keeps unspecified values, matrix replaces entire transform, space selection, and mutual exclusivity. Minor omission of error handling or side effects, but adequate for a write tool.

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

Conciseness5/5

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

Four sentences, front-loaded with purpose, no fluff. Each sentence adds essential information: mode options, patching details, matrix replacement, space defaults with internal names.

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?

Covers all key aspects: input modes, parameter relationships, space choices. No output schema exists, but return values are not critical for a write tool. Minor gaps in error behavior or prerequisites, but complete for typical use.

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?

Schema has 100% coverage with descriptions, but description adds significant value: explains patching semantics, matrix row structure, and rotation units (HPB radians). This enhances understanding beyond the schema alone.

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 clearly states it writes an object's transform in local or global space, with options to patch individual components or replace with a full matrix. It distinctly separates from sibling tools like set_params (generic) or move_entity (position-only) by focusing on transform operations.

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?

Provides explicit guidance on when to use patching vs. matrix replacement, explains mutual exclusivity, and clarifies space defaults and global mode. However, it lacks explicit 'when not to use' or alternatives, though context makes it sufficient.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kumoproductions/mcp-cinema4d'

If you have feedback or need assistance with the MCP directory API, please join our Discord server