Skip to main content
Glama

create_gameobject

Creates a Unity GameObject (primitive or empty) with position, rotation, scale, and parent options to set up or prototype scenes.

Instructions

Create a new GameObject in the Unity scene. Supports primitives (Cube, Sphere, Cylinder, Capsule, Plane, Quad) or empty objects. Position and Euler rotation are world-space. Scale is applied before world-preserving parenting; resulting localScale can differ. Completion includes an observed transform receipt on current bridges. Requires BanterMCPBridge extension to be installed and Unity Editor running.

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

Input Schema

NameRequiredDescriptionDefault
nameYesName for the new GameObject
scaleNoScale as [x, y, z]
parentIdNoPreferred: parent globalObjectId from scene-hierarchy.json
positionNoPosition as [x, y, z]
rotationNoRotation in euler angles as [x, y, z]
parentPathNoPath to parent object (e.g., 'ParentObject' or 'Parent/Child')
primitiveTypeNoType of primitive: Cube, Sphere, Cylinder, Capsule, Plane, Quad, or empty string for empty object

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.7.7

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it declares world-space semantics for position and rotation, warns that scale is applied before world-preserving parenting so the resulting localScale can differ, and promises an observed transform receipt on current bridges. It omits failure modes and undo/atomicity behavior, which is why it is not a 5.

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 definition is short and front-loaded, with the create action first and prerequisites last. Each sentence carries distinct information (primitive options, coordinate space, scale caveat, receipt, dependency), with minimal filler.

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?

For a 7-parameter mutation tool with no annotations and no output schema, the description covers prerequisites, coordinate conventions, a non-obvious scale side effect, and the shape of the completion signal. The remaining gap is guidance on parentId versus parentPath precedence and error behavior.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3, but the description adds meaning the schema lacks: it clarifies that position and Euler rotation are interpreted in world space and that scale interacts with parenting. It does not explain the tradeoff between the parentId and parentPath parameters, which the schema only hints at with 'Preferred'.

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 opening sentence states a specific verb and resource (create a GameObject in the Unity scene) and enumerates the primitive variants versus an empty object, so the agent knows exactly what will be produced. It does not explicitly differentiate itself from modify_gameobject, delete_gameobject, or batch_create, which is the only thing keeping it off 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description supplies a real prerequisite gate — the BanterMCPBridge extension must be installed and the Unity Editor must be running — which prevents wasted calls. However, it gives no guidance on when to choose this single-create tool over batch_create or modify_gameobject, so alternative selection is left to inference.

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