Skip to main content
Glama

unity_find

Locate Unity game objects by name pattern and optional component type to filter scene searches and return matching objects for editor workflows.

Instructions

Find game objects by name glob and/or component type name. (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": {
      "name": "<name>"
    },
    "name": "unity_find"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesname glob, supports * and ?
limitNodefault 50
componentNocomponent type name filter, e.g. Camera

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose a high-value operational trait — the editor is offline, schemas are cached, and calls will fail until reconnect — but never states search scope (open scene vs. project assets) or that it is a read-only lookup, both of which the agent needs for an unannotated tool.

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 compact sentences with the core purpose front-loaded; the runtime-status parenthetical is separated so it does not obscure the primary verb. Slightly more than strictly necessary, but every clause carries information.

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?

For a three-parameter lookup tool with no output schema, the description plus a fully documented schema covers most of what is needed, and the offline warning prevents misinterpreting failures as empty results. The main residual gap is that search scope is unspecified.

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 100%, including the glob syntax and the component example, so the baseline is 3. The description only restates the two filter concepts and adds no format, matching, or limit semantics beyond the schema.

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?

"Find game objects by name glob and/or component type name" gives a specific verb (find) and resource (game objects) plus the two filtering dimensions, so the agent can distinguish it from hierarchy/selection tools. It stops short of naming a sibling, so it does not reach 5.

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 "and/or" wording usefully implies the two filters are optional and combinable, which is meaningful usage context. However, there is no statement of when to prefer this over unity_hierarchy or unity_selection, and no exclusions or prerequisites.

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