Skip to main content
Glama

instantiate_prefab

Place a prefab asset into the current O3DE level, optionally at a set position or under a parent object.

Instructions

Instantiate a prefab in the current level.

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

Input Schema

NameRequiredDescriptionDefault
positionNo
parent_idNo
prefab_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.0
    • removedInput schema / properties / parent_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / parent_id / default
      Previous value: -nullNew value: +""
    • addedInput schema / properties / parent_id / type
      Added value: +"string"
  2. First observedv0.3.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it only says the prefab is placed in the current level. It does not disclose side effects (new entity created), permission requirements, whether the operation is undoable, or how parent/position affect the result.

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?

A single front-loaded sentence with no filler or redundancy. It is tight, though arguably too terse given the undocumented parameters.

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

Completeness2/5

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

For a mutation tool with no annotations and three undocumented parameters, the description is far too thin. An output schema exists so return values need not be explained, but the lack of parameter and behavioral detail leaves the agent under-informed.

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

Parameters1/5

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

Schema description coverage is 0% across three parameters (prefab_path required, position, parent_id), and the description explains none of them. It adds no meaning about path format, coordinate space, or parenting semantics, so it fails to compensate for the total coverage gap.

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 ('Instantiate') and resource ('prefab') plus scope ('in the current level'), so an agent can distinguish it from save_prefab or create_prefab_from_entity. It stops short of explicitly differentiating from those siblings, so it is clear but not fully disambiguating.

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 statement of when to use this tool versus the many sibling prefab/entity tools (create_prefab_from_entity, create_entity, duplicate_entity). No prerequisites, no conditions, no exclusions are given.

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