Skip to main content
Glama

unity_hub

Manages Unity Hub operations: creates projects, opens existing ones, installs editors, adds modules, and lists templates and installations.

Instructions

Controls Unity Hub to create projects, manage installations, and open projects. This tool works INDEPENDENTLY of the Unity Editor connection. Editor installs use the Unity Hub CLI; project creation and template listing use the installed Editor and its bundled templates directly (the Hub CLI has no create/templates subcommands).

Actions:

  • create_project: Create a new Unity project

  • open_project: Open an existing project in Unity Editor

  • list_projects: List recent projects from Unity Hub

  • list_installations: List installed Unity Editor versions

  • install_editor: Install a Unity Editor version

  • add_module: Add a module to an installed editor (Android, iOS, WebGL, etc.)

  • list_templates: List available project templates

  • get_hub_path: Get the Unity Hub installation path

Note: Unity Hub must be installed. Default paths:

  • Windows: C:\Program Files\Unity Hub\Unity Hub.exe

  • macOS: /Applications/Unity Hub.app/Contents/MacOS/Unity Hub

  • Linux: ~/Unity Hub/UnityHub.AppImage

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesUnity Hub action to perform
hubPathNoCustom path to Unity Hub executable (auto-detected if not provided)
modulesNoModules to install with editor or add to existing
templateNoProject template (e.g., "com.unity.template.3d", "com.unity.template.urp-blank")
projectNameNoName for the new project (used with projectPath parent directory)
projectPathNoFull path for the new/existing project
waitForExitNoWait for Unity Editor to exit after opening project (default: false)
editorVersionNoUnity Editor version (e.g., "2022.3.20f1", "6000.0.0f1")
Behavior4/5

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

Annotations indicate readOnlyHint=false and openWorldHint=true. The description adds behavioral context: it states that editor installs use the Hub CLI while project creation uses the installed Editor directly. No contradictions with annotations.

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 well-organized with a clear overview, bullet-list of actions, and default paths note. It is concise without unnecessary repetition, though slightly verbose in listing actions that are already in the schema enum.

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?

Given the tool's complexity (8 parameters, multiple actions) and lack of output schema, the description covers the high-level functionality and action types. However, it does not describe return values or error conditions, which would enhance completeness for an AI agent.

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 100% with all 8 parameters described. The description adds marginal value beyond the schema, such as noting that projectPath is used with projectName for project creation, but does not provide additional semantic depth for most parameters.

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 controls Unity Hub for project creation, installation management, and project opening. It lists all 8 actions explicitly, distinguishing it from sibling tools like editor_control which deal with the Unity Editor itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Description explains that the tool works independently of the Unity Editor connection and notes default installation paths. However, it does not explicitly state when to use this tool versus alternatives like editor_control or file_operations, though the context makes it reasonably clear.

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/joel-wehr/unity-mcp'

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