Skip to main content
Glama

unity_set_transform

Set position, rotation, scale, or active state of a Unity GameObject to configure scene objects directly from an MCP client.

Instructions

Set position/rotation/scale/active state of a GameObject. (Unity editor offline right now: schemas are cached; calls will fail until it reconnects)

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": {
      "path": "<path>"
    },
    "name": "unity_set_transform"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
scaleNolocal scale [x,y,z]
activeNo
positionNoworld [x,y,z]
rotationNoworld euler [x,y,z]
localPositionNolocal [x,y,z]
localEulerAnglesNolocal euler [x,y,z]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely important behavioral fact: the editor is offline and calls will fail until reconnection, so an agent can avoid wasted retries. It does not disclose what happens on partial failures, whether transforms are undoable, or how conflicting world/local fields are resolved, leaving substantial 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?

Two short sentences, capability first and the operational caveat second. No filler or repetition, though the parenthetical is a status note rather than durable documentation.

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 7-parameter mutation tool with no annotations and no output schema, the description covers the basic action and the current outage but omits return behavior and the world-vs-local resolution rule an agent needs to call it safely. Adequate but with clear gaps.

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 coverage is 71%, with descriptions already supplied for scale, position, rotation, localPosition, and localEulerAngles; only path and active are undocumented. The description merely restates the field list without explaining precedence when both world and local variants are passed, so it adds little beyond the schema.

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 uses a specific verb ('Set') plus a concrete resource ('GameObject') and enumerates the mutable aspects (position/rotation/scale/active state), so an agent knows exactly what the call does. It does not, however, distinguish itself from generic siblings like unity_set_property or unity_get_property.

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 guidance on when to reach for this tool instead of unity_set_property, nor on prerequisites such as the GameObject needing to exist or the editor needing focus. The only contextual note is the offline warning, which is operational rather than usage-routing guidance.

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