Skip to main content
Glama
dcc-mcp-roblox-studio
by dcc-mcp

roblox_get_selection

Read-onlyIdempotent

Retrieves the active selection in Roblox Studio, enabling MCP clients to identify selected instances before inspecting or editing them.

Instructions

Read the current Studio selection.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "roblox_get_selection"
  }
}

Input Schema

NameRequiredDescriptionDefault
studio_idNoTarget Studio instance ID.
instance_idNoAlias for studio_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered elsewhere. The description adds only the word 'current', implying live state, but says nothing about what happens when nothing is selected, what the selection contains, or whether a Studio connection is required.

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 no wasted words. It is arguably under-specified, but that is captured in the other dimensions rather than being verbosity here.

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

Completeness3/5

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

For a simple read tool with full annotations and complete schema coverage, the core need is met. However, an agent still cannot tell what the return value looks like (empty when nothing is selected? instance IDs?) or whether a Studio bridge connection must exist first.

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?

Both optional parameters are fully documented in the schema at 100% coverage, including the studio_id/instance_id alias relationship, so the schema carries the burden. The description adds no meaning beyond it, which matches 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?

Specific verb plus resource ('Read the current Studio selection') makes the operation unambiguous and clearly the read counterpart to roblox_set_selection. It does not explicitly name the sibling or scope, but the purpose is immediately graspable.

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?

The description gives no when-to-use context, no prerequisites (e.g., an active Studio connection), and does not mention roblox_set_selection or other state tools as alternatives. The agent must infer everything about invocation context.

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