Skip to main content
Glama

batch_instantiate_prefabs

Instantiates multiple prefabs in one batch operation so you can place many scene objects at once with a single confirmation.

Instructions

Instantiate multiple prefabs in a single operation. Use this to place many prefabs at once - only one confirmation needed.

Example: Create a village with houses, trees, fences all at once.

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

Input Schema

NameRequiredDescriptionDefault
prefabsYesArray of prefabs to instantiate
continueOnErrorNoDangerous opt-in: keep successful operations when another operation fails. Default false rolls back the whole batch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.7.7

TDQS

A3.9/5.0
Behavior3/5

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

No annotations exist, so the description bears the full burden, and it does disclose one real behavioral trait: the whole batch needs only one confirmation. It does not disclose atomicity, failure semantics, or permission requirements — the rollback behavior and the 'dangerous opt-in' nature of continueOnError live only in the schema, not the description.

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?

Three short sentences, front-loaded with the operation and scope, followed by the rationale and a concrete example. Nothing is padded, though the example sentence is illustrative rather than strictly necessary.

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

Completeness5/5

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

A two-parameter tool with fully documented nested schema and no output schema needs little else. The description covers what the tool does, the confirmation behavior that distinguishes batching, and a usage scenario; return values and rollback detail are adequately covered by the schema's continueOnError documentation.

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 description coverage is 100%, with every nested field (prefabPath, position, rotation, scale, parentId, parentPath, name) and continueOnError documented inline. The description correctly adds nothing redundant; the baseline when schema does all the work is not to penalize the description for staying out of the way.

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?

States a specific verb and resource — 'Instantiate multiple prefabs in a single operation' — which makes the batching distinct from the singular instantiate_prefab sibling without naming it. The purpose is unambiguous, though it never explicitly contrasts itself with the one-at-a-time variant or with batch_create.

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 'Example: Create a village with houses, trees, fences all at once' gives an implied when-to-use signal (many related objects placed together), and 'only one confirmation needed' hints at the efficiency tradeoff. There is no explicit guidance on when not to use it, whether prefab paths must be scanned first, or how it relates to instantiate_prefab for single placements.

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