Skip to main content
Glama

luau_ejecutar

luau_ejecutar

Executes Luau code in Roblox Studio Edit mode with explicit confirmation; use playtest and console for Server/Client runs.

Instructions

Ejecuta Luau en el modo Edit del place (los modos Server/Client no estan soportados: usa playtest_iniciar y consola_leer). Requiere confirmacion explicita.

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": {
      "codigo": "<codigo>",
      "confirmacion": "<confirmacion>"
    },
    "name": "luau_ejecutar"
  }
}

Input Schema

NameRequiredDescriptionDefault
modoNo
codigoYes
confirmacionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose two important traits: execution is confined to Edit mode, and an explicit confirmation is required. However, it says nothing about what the executed code can affect in the place, whether output or errors are returned, or what happens on failure, which are significant gaps for a code-execution tool.

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?

The definition is two tight sentences with the core capability front-loaded and the exclusion and prerequisite following. There is no filler, though the parenthetical is dense and packs several distinct facts into one clause.

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 three-parameter code-execution tool with no annotations and no output schema, the description covers the mode restriction and confirmation gate but omits return behavior and side effects. An agent can select and call it, but lacks enough context to predict what execution returns or how failures surface.

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 0%, so the description must supply parameter meaning. It clarifies the 'modo' parameter (only Edit works despite the enum offering Server/Client) and the 'confirmacion' requirement, but it does not describe 'codigo' beyond the obvious, nor explain the format or limits of the code string. It adds real value over the schema but does not fully compensate for the coverage gap.

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 states a specific action (execute Luau) with a scope constraint (Edit mode of the place), and it names the sibling tools (playtest_iniciar, consola_leer) that handle the unsupported Server/Client modes. This lets an agent distinguish it from the playtest and console tools without opening a schema. It falls short of 5 only because 'Ejecuta Luau' largely restates the tool name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description clearly states when not to use the tool (Server/Client modes are not supported) and points to the alternatives (playtest_iniciar and consola_leer) for those cases. It leaves the positive case implicit, that this tool is the way to run Luau in Edit mode, and does not contrast it with script_crear_editar or similar scripting siblings.

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