Skip to main content
Glama

set_property

Sets a single Unity component property on a target object, such as Rigidbody mass, enabling precise scene edits without changing other component values.

Instructions

Set one component property, e.g. component=Rigidbody property=mass value=5.

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": {
      "target": "<target>",
      "component": "<component>",
      "property": "<property>",
      "value": "<value>"
    },
    "name": "set_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesNumber, true/false, text, 'x,y,z', enum name or asset/object path
targetYes
propertyYes
componentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the mutation and safety profile is covered structurally. The description adds the useful constraint that exactly one property is modified per call, but says nothing about failure behavior when the component or property is missing, or whether changes are undoable. With annotations carrying the safety burden, a 3 is appropriate.

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?

A single front-loaded sentence with an embedded example and zero filler. It is efficient, though the terseness contributes to the missing guidance rather than being purely a virtue.

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?

This is a four-required-parameter mutation tool with 25% schema coverage and no output schema, so the description carries real burden. It leaves `target` undefined and omits failure modes and return behavior, which is inadequate for the complexity.

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 coverage is only 25% — just the `value` parameter is documented, and its format list is already in the schema. The example gives semantics for component, property, and value, but `target` is a required parameter with no explanation in either the schema or the description. The description does not compensate for the coverage gap.

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 uses a specific verb ("Set") with a clearly scoped resource ("one component property"), and the inline example makes the unit of operation concrete. It is reasonably distinguishable from siblings like update_object or add_component, though it never states that distinction explicitly.

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 mention of when to prefer update_object or add_component, and no stated prerequisites such as the target object existing or the component already being attached. The example shows one invocation but conveys no decision criteria.

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