Skip to main content
Glama
roblox-studio
by nardjay

Set selection

set_selection
Idempotent

Select Roblox Studio instances by path so users can see changes, with an optional focus flag that moves the camera to 3D selections.

Instructions

Select instances in Studio so the user can see what you changed. focus=true also moves the camera to them (only works for 3D instances).

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": {
      "paths": "<paths>"
    },
    "name": "set_selection"
  }
}

Input Schema

NameRequiredDescriptionDefault
focusNoMove the Studio camera to the selection. Default false.
pathsYesInstance paths to select.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, idempotent, non-read-only mutation. The description adds real behavioral context beyond them: the camera side effect of focus and its 3D-only limitation, which an agent could not infer from the annotations. It does not describe what happens to a prior selection or how invalid paths are handled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and its purpose, then the optional flag's side effect. No filler or redundancy.

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 two-parameter tool with full schema coverage, annotations, and no output schema, the description covers purpose, the key side effect, and its limitation. Minor gaps remain around selection replacement semantics and error behavior on bad paths.

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 adds genuinely new meaning: focus=true moves the camera and only works for 3D instances, a constraint absent from the schema's 'Move the Studio camera to the selection. Default false.' The paths parameter is left to the schema, which is acceptable at full 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 states a specific verb and resource ('Select instances in Studio') plus the intent ('so the user can see what you changed'), which is enough to distinguish it from the read-side sibling get_selection. It stops short of naming that sibling explicitly, so it is clear but not fully differentiated.

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?

It gives a reason to call the tool (showing the user what changed) and explains the focus flag's effect, which implies when to use it. There is no explicit when-not guidance and no named alternative such as get_selection for reading the current selection.

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