Skip to main content
Glama

read_workspace

Returns a depth-limited, paginated tree of a Roblox Studio workspace or service so you can inspect instances and fetch next-page or deeper results via cursors.

Instructions

Return a tree of the workspace (or any service) up to a max depth. The root's direct children are paginated by pageSize/cursor (returns hasMore + cursor for the next page); deeper descendants are capped at pageSize per node.

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": "read_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoInstance path, e.g. "Workspace" or "Workspace.Folder". Default: Workspace
depthNoMax traversal depth (default 3, max 6)
clientNoTarget a specific Studio client by name (as shown on the panel, e.g. "studio"). Omit to auto-pick: the only active client, or the most recently active one when several are connected.
cursorNoCursor from a previous response's data.cursor - fetches the next page of the root's children
pageSizeNoMax children per node, and page size for the root (default 100, max 500)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does substantially more than the schema: it discloses that only the root's direct children are paginated, that deeper descendants are capped per node at pageSize, and that responses include hasMore and a cursor. It is still silent on failure modes (invalid path, no connected client) and on the shape of individual tree nodes, so it stops short of 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?

Two tight sentences with no filler, and the core purpose is front-loaded before the pagination caveats. The pagination sentence is dense but every clause conveys a distinct rule, so nothing is wasted.

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 five-parameter, zero-required read tool with no output schema, the definition covers purpose, depth limits, and pagination contract, which is most of what an agent needs to call it correctly. The gaps are the absent node/return shape and error behavior, which matter less here because there are no annotations to contradict.

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?

Schema description coverage is 100%, so every parameter is already documented and the baseline is 3. The description does add real cross-parameter meaning that the schema does not state individually – that pageSize simultaneously governs per-node child counts and the root page size, and that cursor continues the root's children – which is genuinely useful but sits just at the baseline for a fully-documented 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?

The description opens with a specific verb and resource ("Return a tree of the workspace (or any service)") plus an explicit scope limit ("up to a max depth"), so an agent immediately knows what it gets back. It does not differentiate itself from the plausibly overlapping sibling get_children, which is the one thing keeping it from 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: an agent can infer this is for walking a hierarchy, and the path parameter's default ("Workspace") hints at the default scope. There is no explicit statement of when to use this instead of get_children or find_instances, and no stated preconditions (e.g. whether a client must be connected).

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