Skip to main content
Glama

gameobject-modify

Modify GameObject fields and properties in Unity Prefabs or Scenes. Change tags, components, and other attributes for multiple GameObjects simultaneously in the Unity Editor.

Instructions

Modify GameObject fields and properties in opened Prefab or in a Scene. You can modify multiple GameObjects at once. Just provide the same number of GameObject references and SerializedMember objects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameObjectRefsYesArray of GameObjectRef to modify. SCHEMA: [{"name":"ObjectName"}] or [{"instanceID":12345}]
gameObjectDiffsYesArray of diffs (same length as gameObjectRefs). SCHEMA: [{"props":[{"name":"tag","value":"EditorOnly"}]}]
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the tool modifies fields and properties, implying mutation, but fails to detail critical aspects like permissions needed, whether changes are destructive or reversible, error handling, or rate limits. This leaves significant gaps for safe and effective use.

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 concise and front-loaded, with two sentences that efficiently convey the core purpose and a key usage note. Every sentence adds value without redundancy, though it could be slightly more structured for clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (modification operation with nested objects), lack of annotations, and no output schema, the description is incomplete. It doesn't cover behavioral traits, error cases, or return values, leaving the agent with insufficient context for reliable invocation in a production environment.

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%, so the schema already documents both parameters thoroughly with examples. The description adds minimal value beyond the schema by mentioning 'multiple GameObjects at once' and linking parameter lengths, but doesn't provide additional syntax, format details, or constraints. This meets the baseline for high schema coverage.

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?

The description clearly states the action ('Modify GameObject fields and properties') and the target resources ('GameObject in opened Prefab or in a Scene'), with the added detail of supporting multiple objects. It distinguishes from siblings like 'gameobject-component-modify' by focusing on GameObject properties rather than components, though it doesn't explicitly name alternatives.

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 description implies usage by specifying 'in opened Prefab or in a Scene' and 'multiple GameObjects at once,' providing some context. However, it lacks explicit guidance on when to use this versus alternatives like 'object-modify' or 'gameobject-component-modify,' and doesn't mention prerequisites or exclusions.

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/butterlatte-zhang/unity-ai-bridge'

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