Skip to main content
Glama
roblox-studio
by nardjay

Set properties

set_properties

Set one or more properties on an existing Roblox Studio instance using primitives or tagged datatypes like Vector3, CFrame, and UDim2. Read-only properties and type mismatches are reported individually without aborting the rest.

Instructions

Set one or more properties on an existing instance. Values may be primitives or tagged datatypes such as {"__type":"Vector3","x":0,"y":10,"z":0}, {"__type":"CFrame","components":[...]}, {"__type":"UDim2","xs":0,"xo":0,"ys":0,"yo":0}, "Enum.Material.Neon" or a plain enum name. Read-only properties and type mismatches are reported individually and do not abort the rest.

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>",
      "properties": "<properties>"
    },
    "name": "set_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesInstance path. Accepts "Workspace.Model.Part", "game.Workspace.Model.Part" or "game.Workspace[\"My Part\"].Model". Use "game" or omit for the DataModel root.
attributesNoAttribute name -> value map. Passing null removes an attribute.
propertiesYesProperty name -> value map.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the bar is lower. The description still adds real value by disclosing partial-failure semantics: read-only properties and type mismatches are reported individually and do not abort the remaining writes. It does not cover permission requirements or what the response contains, keeping it below a 5.

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?

Front-loaded with the core action, then the value-encoding detail, then the failure semantics. The datatype examples are dense but each earns its place by preventing malformed values; the sentence is long but not padded.

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 3-parameter mutation tool with nested objects and no output schema, the description covers the two hardest things an agent needs: how to encode non-primitive values and how partial failures behave. It leaves the attributes parameter and the return shape unaddressed, but the schema documents the former.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the schema's bare "Property name -> value map" by enumerating accepted value encodings (tagged datatypes like Vector3/CFrame/UDim2, "Enum.Material.Neon", plain enum names). It omits the attributes parameter and its null-removes-an-attribute behavior, which the schema covers but the description does not reinforce.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ("Set") and resource ("properties on an existing instance") with scope ("one or more"). The word "existing" implicitly separates it from create_instance/clone_instance siblings, so an agent can place it without opening the schema.

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?

Usage is only implied: "existing instance" signals this is a mutation of something already present, not creation. There is no explicit when-to-use vs. alternatives (e.g., create_instance, reparent_instance) and no stated prerequisites such as the instance needing to exist or the caller needing edit access.

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