Skip to main content
Glama

query_instances

Query Roblox instances to get, find children or descendants, search by name or class, and retrieve class information or project structure.

Instructions

Query Roblox instances: get, children, find child/descendant, wait for child, class info, search by name/class. [PRO] file_tree, project_structure, descendants, ancestors, search by property/tag.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesQuery action to perform. Basic: get, children, find_child, find_descendant, wait_for_child, class_info, search_name, search_class. [PRO]: search_property, search_tag, file_tree, project_structure, descendants, ancestors.
pathNoInstance path to query (e.g., "game.Workspace.Part"). Used by: get, children, find_child, find_descendant, wait_for_child, descendants, ancestors.
childNameNoName of the child instance to find. Used by: find_child, wait_for_child.
descendantNameNoName of the descendant instance to find. Used by: find_descendant.
classNameNoRoblox class name. Used by: find_child/find_descendant (optional filter), class_info (required), search_class (required).
recursiveNoIf true, returns all descendants instead of just immediate children. Used by: children. Default: false.
maxDepthNoMaximum depth for recursive traversal. Used by: children (default: 10), file_tree (default: 5).
timeoutNoMaximum time to wait in seconds. Used by: wait_for_child. Default: 5. Maximum: 30.
rootNoRoot path to search/scan from. Used by: search_name, search_class, search_property, search_tag, file_tree, project_structure. Default: "game".
queryNoSearch pattern for name search (supports * and ? wildcards). Used by: search_name.
propertyNameNo[PRO] Property name to search by. Used by: search_property.
propertyValueNo[PRO] Property value to match. Used by: search_property.
tagNo[PRO] Tag string to search by (case-sensitive). Used by: search_tag.
includeServicesNo[PRO] Include Roblox services when root is "game". Used by: file_tree. Default: true.
includeSubclassesNoInclude subclasses in class search (e.g., BasePart finds Part, MeshPart). Used by: search_class. Default: true.
caseSensitiveNoCase-sensitive name search. Used by: search_name. Default: false.
maxResultsNoMaximum results to return. Used by: search_name, search_class, search_property, search_tag, descendants. Default: 100.
depthNo[PRO] Maximum depth for project structure traversal. Used by: project_structure. Default: 3.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hope1026/roblox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server