Skip to main content
Glama
AccelByte

AccelByte Unity MCP Server

Official
by AccelByte

unity_ui_scene_setup

Sets up a Unity scene for generated UI via live editor bridge: creates Canvas and EventSystem, instantiates panels, attaches optional MenuManager, activates initial panel, and saves.

Instructions

Set up and validate a Unity scene for generated UI through the live editor bridge. Creates/reuses Canvas and EventSystem, selects the compatible input module, instantiates panels, optionally attaches a compiled MenuManager MonoBehaviour and assigns generated panel fields, activates only initialPanel, and saves the scene on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNosetup_and_validate
panelsYesProject-local generated panel prefab paths to instantiate.
bridgeUrlNo
scenePathNoProject-local scene path. If omitted, the live bridge uses the active scene.
editorPathNo
projectPathYesUnity project root.
initialPanelYesPanel prefab path from panels that should be active at startup.
menuBindingsNoOptional serialized field assignments for menuManagerClass. fieldName is a field on the MenuManager; panel is one of the panel prefab paths.
menuManagerClassNoOptional fully-qualified compiled MonoBehaviour type to attach to a scene GameObject named MenuManager.
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses behaviors such as creating/reusing objects, instantiating panels, attaching scripts, activating only initialPanel, and saving the scene. However, it does not explicitly state whether it overwrites existing objects or if the operation is reversible. Overall, it provides moderate transparency.

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 description is a single paragraph that efficiently summarizes the tool's actions without verbosity. It is front-loaded with the overall purpose and each sentence provides specific detail. Minor improvement could be splitting into summary and details, but it remains concise.

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?

Given the complexity (9 parameters, 3 required) and no output schema, the description covers the main workflow: scene setup, panel instantiation, optional script attachment, and scene saving. It does not explain return values or all parameters in depth, but it provides a solid overview. Completeness is above average.

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 description coverage is 67%. The description does not add meaning beyond parameter names; it only lists actions. Some parameters (mode, bridgeUrl, editorPath) lack descriptions in both schema and description. The description does not compensate for the gaps, so score is baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Set up and validate a Unity scene for generated UI through the live editor bridge.' It lists specific actions (creates/reuses Canvas, EventSystem, instantiates panels, attaches MenuManager, assigns fields, activates only initialPanel, saves scene), which distinguishes it from sibling tools like unity_ui_generate or unity_ui_validate.

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?

The description does not specify when to use this tool versus alternatives. It lacks context like 'use after generating UI' or 'use instead of X'. Sibling tools include many UI-related actions, but no guidance on when this tool is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AccelByte/accelbyte-unity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server