Skip to main content
Glama

find_instances

Locate Roblox Studio instances by exact class name or IsA type check within a specified root path, returning up to a set maximum of matches.

Instructions

Find instances by class name, optionally with IsA check.

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": {
      "className": "<className>"
    },
    "name": "find_instances"
  }
}

Input Schema

NameRequiredDescriptionDefault
isANoUse IsA() instead of exact class match
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.
searchInNoPath to root for search. Default: game
classNameYesExact class name to match (GetClassName)
maxResultsNoMax results to return (default 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description bears the full burden of behavioral disclosure and does almost none of it: 'Find' weakly implies a read-only operation, but there is no statement about truncation when maxResults is hit, no ordering of results, no indication of cost over a large DataModel, and no note on what happens when no client is connected. For a 5-parameter query tool with zero annotation coverage this leaves meaningful gaps.

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 filler or repetition, which is appropriately sized for the intent it conveys. Its brevity is efficient rather than padded, though it is arguably too thin to carry the tool's full behavior.

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?

There is no output schema and no annotations, so the description should say more about what a result set looks like and how it is bounded; it covers the core search concept but not returns, truncation, or failure modes. The rich input schema partially compensates for defaults on searchIn and maxResults, keeping this at a minimum-viable level.

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 including isA, client, searchIn, and maxResults is already documented in the schema; the description only restates the className match and the optional IsA mode. Baseline 3 applies because the schema, not the description, does the semantic work.

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 pairs a specific verb and resource ('Find instances') with a scoping qualifier ('by class name, optionally with IsA check'), which clearly separates it from hierarchy-based siblings like get_children or tag-based ones like get_tagged. It stops short of naming any sibling explicitly, so it lands at 4 rather than 5.

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 or when-not-to-use guidance and no alternatives are mentioned, so an agent must infer from the tool name alone that this is the class-name search path rather than a hierarchy or tag lookup. The only mode hint ('optionally with IsA check') is really parameter-level detail, not usage routing.

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