Skip to main content
Glama
okenjioxx

Roblox Executor MCP Server

by okenjioxx

Read the value at a Luau path/expression (precise slot read)

read-path-value
Read-onlyIdempotent

Evaluate a single Luau expression to inspect the exact value at a path without changing state. Returns type, safe value, and table keys/length for post-scan analysis.

Instructions

Evaluate a single Luau expression and report exactly what lives at that slot — without mutating anything. Use it to read a precise location after a heap scan points you at it (e.g. 'getgenv().PlayerData.Coins', 'game.Players.LocalPlayer.leaderstats.Cash.Value', 'require(game.ReplicatedStorage.Config).GodMode', 'getrawmetatable(game).__namecall'), or to spot-check any value/global/field during analysis. The expression is evaluated as return <expression> under a pcall, so a bad path returns a clean { error } instead of throwing. The result reports { type } (Roblox typeof), { value } (a safe encoded scalar — Instances become 'Instance: ', tables/functions become their address), and { isTable }. When the value is a table it also returns { length } (the array-part length via #) and { keys } (up to 50 string keys, so you can see the shape and pick the next field to read). Reading the keys/length is pcall-guarded. This is read-only and is the counterpart to write-path-value. Requires loadstring/load. Returns { type, value, isTable, length?, keys?, keysTruncated? } or { error }. Signature: { expression: string, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client. Produces: structured-observation. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesLuau expression resolving to the value to read, e.g. 'getgenv().PlayerData.Coins', 'game.Players.LocalPlayer.leaderstats.Cash.Value', 'require(game.ReplicatedStorage.Config)', '_G.Settings', or any table slot / global / call result. Evaluated as `return <expression>`.
threadContextNoOptional Roblox thread identity for this call; omit it to use the server default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0-spies.2

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), yet the description adds substantial behavioral detail beyond them: evaluation as `return <expression>` under pcall, clean { error } on a bad path, the exact result shape (type/value/isTable, length, keys capped at 50, keysTruncated), pcall-guarded key reads, and the loadstring/load and active-client requirements.

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?

Front-loaded with the core purpose and a dense, useful body. It is long and the trailing boilerplate ('Phase: observe; cost=medium... On failure: inspect tool-schema...') partly restates annotations and metadata, but the bulk of the text carries real informational weight.

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

Completeness5/5

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

With no output schema, the description fully specifies the return contract ({ type, value, isTable, length?, keys?, keysTruncated? } or { error }), the failure mode, and runtime prerequisites. Nothing an agent needs to invoke or interpret this tool correctly is missing.

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 coverage is 100%, so both parameters (expression, threadContext) are already documented in the schema with examples. The description reinforces rather than extends them — it clarifies the `return <expression>` evaluation form but adds little syntax or constraint meaning beyond the schema, matching the baseline for full coverage.

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?

States a specific verb+resource ('Evaluate a single Luau expression and report exactly what lives at that slot') and explicitly positions itself against a sibling ('the counterpart to write-path-value'). An agent can distinguish it from eval-expression, run-luau, and write-path-value from the description alone.

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?

Gives concrete usage context: read a precise location after a heap scan points you at it, or spot-check any value/global/field during analysis, and names its mutation counterpart write-path-value. It stops short of explicit when-not or naming read-style alternatives like eval-expression, so it is clear context without full routing rules.

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

Deploy Server

Other Tools