Skip to main content
Glama

unity_selection

Get or set the Unity Editor selection to inspect or change selected assets and objects, helping MCP clients coordinate scene and asset actions.

Instructions

Get or set the editor selection. (Unity editor offline right now: schemas are cached; calls will fail until it reconnects)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unity_selection"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsNo
actionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that Unity is offline and calls will fail until reconnection, but it does not explain what setting the selection changes, whether the operation is reversible, or what side effects to expect.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is two sentences with the purpose front-loaded and the operational caveat clearly separated. Every sentence carries relevant information with no wasted wording.

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?

This is a simple two-parameter tool, and the description covers its core purpose plus current availability. However, with no annotations and no schema descriptions, it should do more to explain parameter semantics and mutation behavior.

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

Parameters2/5

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

Schema description coverage is 0% for two parameters. The description maps the action to get/set and implies paths define the selection, but it does not document path format, whether paths are required when setting, or how empty paths are handled.

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: get or set the editor selection. The role is clear, though it does not explicitly differentiate itself from selection-related siblings such as unity_get_property or unity_set_property.

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?

Provides no when-to-use guidance, prerequisites, or alternatives. The action enum implies get versus set, but the description does not explain when each mode should be chosen.

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