Skip to main content
Glama

Disassemble Luau bytecode

disassemble_script
Read-onlyIdempotent

Decode a Roblox script's Luau bytecode into register-level pseudo code and a control-flow graph to extract behavioral evidence.

Instructions

Read one script's serialized Luau bytecode locally, decode instructions, generate register-level pseudo code, build a control-flow graph, and extract behavioral evidence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
protoIdNo
clientIdNoConnected client id; defaults to active client
maxInstructionsNo
opcodeMultiplierNoauto
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description adds valuable context by detailing the analysis pipeline (decode, pseudo-code, CFG, evidence extraction). It does not contradict annotations and offers more behavioral detail than the annotations alone.

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 description is a single sentence but each clause adds distinct value (read, decode, generate, build, extract). It is efficient and front-loaded with the primary verb, though slightly dense.

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

Completeness2/5

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

The tool has 5 parameters and no output schema, and the description does not explain parameter semantics, usage context, or return value structure. While it lists outputs, it omits necessary details like maxInstructions limits or protoId selection, leaving gaps for a complex analysis tool.

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

Parameters2/5

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

Schema description coverage is only 20% (clientId only). The description does not mention path, protoId, maxInstructions, or opcodeMultiplier, nor their purposes. It implies path is the script target but provides no additional meaning for the other parameters.

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 uses specific verbs and resources: reads serialized Luau bytecode, decodes instructions, generates pseudo code, builds a control-flow graph, and extracts behavioral evidence. This clearly distinguishes it from siblings like analyze_script or build_script_graph.

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?

No explicit guidance on when to use this tool versus alternatives. It only states it reads bytecode locally, but does not mention when to prefer this over analyze_script, explore_closure, or build_script_graph, nor any exclusions or prerequisites.

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/valrinx/raven-roblox-mcp'

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