Skip to main content
Glama
okenjioxx

Roblox Executor MCP Server

by okenjioxx

Scan GC tables for numeric values in a [min, max] range (CE range scan)

scan-number-range
Read-onlyIdempotent

Scan live Luau GC tables for numeric values within a specified range. Use this to locate unknown stats like coins or health when you only know approximate bounds.

Instructions

Cheat-Engine-style RANGE scan: walk every live Luau GC table and report each numeric value v where min <= v <= max. Use this when you know a stat is within a window but not its exact value — e.g. coins between 100 and 200, health under 50, a timer in [0, 10], a damage multiplier in [1, 5]. It is the inexact complement to search-gc-value (which needs the precise number). Each hit is recorded as { table, key, value } where 'table' is the container address (tostring), 'key' is the field the number sits under (tostring), and 'value' is the raw number. To narrow many hits down to one, run successive scans with tightening bounds after the stat changes in-game (the Cheat-Engine 'next scan' technique), then read or flip the survivor with read-path-value / write-path-value. Each table's pairs() iteration is pcall-guarded so a locked/proxy table never aborts the scan; GC objects examined are capped by maxScan and results by limit, with a 'truncated' flag. NaN values are skipped. Requires getgc (falls back from getgc(true) to getgc()). Returns { min, max, matchCount, scannedObjects, truncated, matches } or { error }. Signature: { min: number, max: number, limit: any?, maxScan: any?, threadContext: number? }. Phase: observe; cost=high; idempotency=read-only. Requires: active-client. Produces: bounded-candidates. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxYesInclusive upper bound of the numeric window to match (e.g. 200). Must be >= min for any hits. Combine with min to bracket a stat you don't know exactly (e.g. min=100, max=200).
minYesInclusive lower bound of the numeric window to match (e.g. 100 to find a coin total at least 100). Values v with v >= min and v <= max are recorded.
limitNoMaximum number of matching numbers to return (default 150). Hitting this sets truncated=true.
maxScanNoMaximum number of GC objects to examine before stopping (default 40000). Hitting this sets truncated=true. Raise for a deeper sweep at the cost of time; lower if scans are slow.
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.6/5.0
Behavior5/5

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

Annotations already cover the read-only/idempotent/non-destructive profile, and the description adds substantial extra behavior: pcall-guarded iteration so locked/proxy tables never abort, NaN skipping, maxScan/limit caps with a 'truncated' flag, and a getgc(true)->getgc() fallback. These are exactly the operational traits an agent needs beyond the annotations.

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 operation and the key alternative, and most sentences carry real content (bounds semantics, next-scan technique, return shape). However, the trailing tag block ('Phase: observe; cost=high; idempotency=read-only', etc.) partly restates the annotations and adds some padding against an otherwise dense description.

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 supplies the return shape ({ min, max, matchCount, scannedObjects, truncated, matches } or { error }), the resource caveat (requires getgc), and the follow-up tooling. For a high-cost, complex scan tool this is sufficient to invoke and interpret correctly.

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 the schema already documents all five parameters including defaults and bounds, which sets the baseline at 3. The description reinforces limit/maxScan capping and the truncated behavior but adds little syntax or meaning beyond what the schema descriptions already state, and gives only a bare signature with types.

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 with scope: 'walk every live Luau GC table and report each numeric value v where min <= v <= max'. It explicitly distinguishes itself from the sibling search-gc-value by framing itself as the 'inexact complement' that does not need the precise number. An agent can tell it apart from find-string-in-tables and search-gc-value without opening a schema.

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

Usage Guidelines5/5

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

Gives concrete when-to-use conditions ('when you know a stat is within a window but not its exact value') with examples, names the alternative it complements (search-gc-value), and describes the follow-up workflow (successive tightening scans, then read-path-value / write-path-value). When and why are fully specified with no inference required.

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