Skip to main content
Glama

unity_menu

Executes a Unity Editor menu item by path to automate editor actions, such as creating a GameObject/3D Object/Cube.

Instructions

Execute an editor menu item by path, e.g. 'GameObject/3D Object/Cube'. (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": {
      "path": "<path>"
    },
    "name": "unity_menu"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It never says that arbitrary menu items may mutate the project destructively, whether the call blocks, whether dialogs can appear, or what is returned. The one genuinely useful addition is the offline/reconnect caveat, which explains otherwise mysterious failures, but that is operational state rather than tool behavior.

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 short sentences, front-loaded with the core action and example. The parenthetical editor-offline notice is transient environmental state that will age poorly in a static definition, slightly diluting otherwise tight writing.

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 one-parameter tool with no annotations and no output schema, the description covers invocation adequately but leaves side effects, return values, and failure modes unexplained. An agent knows how to call it but not what to expect from a successful or destructive call.

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

Parameters4/5

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

Schema coverage is 0% for the single 'path' parameter, but the description compensates by showing the exact slash-delimited format expected, which is the single most important thing to know and is absent from the schema. It stops short of noting case sensitivity or whether leaf items with submenus are valid.

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 gives a specific verb plus resource ('Execute an editor menu item by path') and a concrete example path ('GameObject/3D Object/Cube'), which makes it immediately distinguishable from siblings like unity_invoke or unity_run_csharp that also execute things.

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 path implies how to use the tool, but there is no explicit statement of when to prefer it over alternatives such as unity_invoke, unity_run_csharp, or unity_create, nor any preconditions (e.g., whether the target menu item must exist or the editor must be in a particular mode).

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