Skip to main content
Glama

unity_create

Creates a GameObject (empty or primitive) in the active Unity scene, optionally parented, positioned, rotated, and scaled, to build scenes programmatically.

Instructions

Create a GameObject (empty or primitive) in the active scene, optionally parented and positioned. (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": {
      "name": "<name>"
    },
    "name": "unity_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
scaleNo[x,y,z]
parentNoparent path or name
positionNo[x,y,z] or {x,y,z}
rotationNoeuler [x,y,z]
primitiveNodefault empty

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add genuinely useful operational context — the Unity editor is offline, schemas are cached, and calls will fail until reconnect — but it omits other mutation-relevant behavior such as undo implications, whether creation is blocked in play mode, or what identifier is returned.

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 sentences, front-loaded with the capability and followed by a clearly bracketed availability caveat. Nothing is padded, though the parenthetical status note mixes meta-information into an otherwise clean capability statement.

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 six-parameter creation tool with no annotations and no output schema, the description covers what it makes and the current failure mode but not the result (returned object reference/path) or any constraints on the active scene. It is adequate to attempt a call, not complete for confident use.

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 high at 83%, so the baseline applies. The phrase 'optionally parented and positioned' signals that parent/position/rotation/scale are all optional extras beyond the required name, which is mild added value over the schema, but nothing clarifies path-vs-name resolution for 'parent' or coordinate space for position.

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 gives a specific verb and resource ('Create a GameObject') plus the scope ('in the active scene'), and narrows the variants to 'empty or primitive'. That is enough to separate it from siblings like unity_add_component or unity_create_script, though it never names an alternative explicitly.

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?

Usage is only implied: an agent can infer this is the tool for spawning new objects, but there is no statement of when to prefer unity_add_component, unity_prefab, or unity_set_transform instead, and no prerequisites such as being in edit mode or having an active scene.

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