Skip to main content
Glama
okenjioxx

Roblox Executor MCP Server

by okenjioxx

List entries in an executor workspace folder (UNC listfiles)

list-files
Read-onlyIdempotent

Retrieve the paths of files and subfolders in a folder within the Roblox executor's workspace. Use it to explore directory contents before reading or processing files.

Instructions

List the files and subfolders directly inside a folder in the executor's workspace, returning their paths. NOTE: this is executor-side file I/O — the connector runs INSIDE the executor, so the path is relative to the executor's workspace directory on the host machine, NOT the Roblox game. Pass an empty string to list the workspace root. Requires the UNC function listfiles(path) -> { string }. The call is type-guarded and pcall-wrapped: if listfiles is missing you get { error = 'listfiles is not available in this executor.' }, and any failure (missing folder) returns { error = }. The returned list is capped at 1000 entries with a 'truncated' flag. Returns { path, files, count, truncated } or { error }. Signature: { path: string, threadContext: number?, timeoutMs: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client, resolved-target. Capabilities: readfile. 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
pathYesPath to the folder within the executor workspace, e.g. '' (root), 'logs', or 'data/snapshots'.
timeoutMsNoOptional per-call deadline in milliseconds; omit it to use the tool or server default.
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.1/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it discloses the type-guard and pcall wrapper, the exact error object when listfiles is missing, the error-on-failure behavior, and the 1000-entry truncation cap with a 'truncated' flag. These are precisely the failure modes an agent needs before invoking.

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?

Front-loaded with the key semantic distinction, but the tail is boilerplate-heavy and redundant: 'Safety: read-only' restates destructiveHint=false and readOnlyHint=true, and the Signature/Phase/Capabilities block largely duplicates schema and annotation data.

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?

There is no output schema, and the description compensates fully by specifying the return shape { path, files, count, truncated } and both error shapes. For a read-only listing tool this covers everything needed to call and interpret it.

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 100%, so the schema already documents path, threadContext, and timeoutMs. The description repeats the signature and the empty-string-root tip, which is already in the schema description, so it adds little beyond the baseline.

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+scope: list files and subfolders directly inside a folder in the executor's workspace, returning paths. It explicitly disambiguates from the Roblox game side and from sibling file tools, so an agent can identify it without opening the schema.

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?

Gives useful context (pass empty string for the workspace root, requires the UNC listfiles function, phase=observe) but never states when to choose this over siblings like read-file, ws-list, or verify-path-exists, nor any when-not condition. Usage is implied rather than directed.

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