Skip to main content
Glama

studio_execute_luau

Execute Luau code in Roblox Studio with required reason for auditing. Only runs when explicitly enabled.

Instructions

Execute Luau in Studio only when explicitly enabled by config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
reasonYes
timeoutMsNo
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only states the action and a condition, omitting details like error handling, sandboxing, side effects on Studio state, or return values.

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

Conciseness3/5

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

The description is a single sentence and front-loads the action, but it is too brief, sacrificing essential detail for the sake of conciseness.

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

Completeness1/5

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

Given the complexity of code execution, the description fails to provide sufficient context: no output schema, no parameter descriptions, no behavior beyond the basic action. This is inadequate for safe invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, but the description adds no information about the parameters (code, reason, timeoutMs). The agent is left with only the schema structure and no semantic guidance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'execute' and the resource 'Luau in Studio', and adds a unique condition about being enabled by config. This distinguishes it from sibling tools like studio_create_instance or studio_set_properties.

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?

The description mentions a prerequisite (config must enable execution), but provides no guidance on when to use this tool versus other tools, how to handle the prerequisite, or when not to use it.

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

Install Server

Other Tools

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/ShiroKSH/skills'

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