Skip to main content
Glama

unity_get_property

Reads a serialized property or component field value from a Unity object using its path, component, and property name so agents can inspect editor data.

Instructions

Read a serialized property or component field value. (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>",
      "component": "<component>",
      "property": "<property>"
    },
    "name": "unity_get_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
propertyYes
componentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the burden: it does convey that this is a read operation and discloses the important operational context that the Unity editor is offline and calls will fail until reconnected. However, it says nothing about error behavior for an invalid path/component/property or what the returned value looks like.

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 with the purpose front-loaded and no redundant wording. The parenthetical availability note is operationally useful rather than filler, though it slightly dilutes the core definition.

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?

For a three-required-parameter tool with no annotations, no output schema, and zero parameter documentation, the description is too thin — an agent cannot determine the path/component/property formats or what a successful call returns.

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 three required parameters, and the description adds no meaning: it does not clarify whether 'path' is a hierarchy path or asset path, or what 'component' and 'property' should contain. It does not compensate for the undocumented 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?

States a specific verb ('Read') and a specific resource ('serialized property or component field value'). The read nature implicitly contrasts with the sibling unity_set_property, but the description never names or explicitly distinguishes it, so it falls short of a 5.

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?

There is no when-to-use guidance, no prerequisites, and no pointer to alternatives (e.g., use unity_set_property to write, unity_find or unity_hierarchy to locate objects). The offline note describes availability, not when to select this tool.

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