Skip to main content
Glama
okenjioxx

Roblox Executor MCP Server

by okenjioxx

Check whether a function is a Luau closure

is-l-closure
Read-onlyIdempotent

Check whether a resolved function is an L-closure by calling the debug closure primitive with guarded metadata for read-only inspection.

Instructions

Resolve a function and call islclosure with guarded metadata. Signature: { functionPath: string, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client, resolved-target. Capabilities: debug closure primitives. 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
functionPathYesLuau expression resolving to the target function.
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

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so 'Safety: read-only' and 'idempotency=read-only' are redundant restatements. The description does add genuinely new context — cost=medium, phase=observe, active-client prerequisite, and a fallback pointer to tool-schema on failure — which supports a 3 rather than lower.

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?

Purpose is front-loaded, but the body is a semicolon-separated metadata dump with visible filler ('Safety: read-only' duplicates the annotation) and internal jargon ('call islclosure', 'guarded metadata'). Adequate but not tight.

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 2-param, no-output-schema, heavily-annotated read-only predicate, the description covers prerequisites, phase, and cost. But 'Produces: structured-observation' is vague about the return (presumably a boolean) and nothing distinguishes this predicate from its siblings, leaving a real completeness gap.

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 are already documented in the schema. The description merely re-lists the signature without adding format, semantics, or validation detail beyond what the schema provides; this is the baseline 3.

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 title states a specific verb+resource ('Check whether a function is a Luau closure') and the description confirms the mechanism ('resolve a function and call islclosure'). However, it never differentiates from the many sibling predicates (is-c-closure, is-new-c-closure, is-executor-closure), so an agent cannot tell which closure check applies without opening schemas.

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?

It lists prerequisites ('Requires: active-client, resolved-target') but gives no guidance on when to choose this over is-c-closure, is-new-c-closure, or closure-capabilities. No exclusions, no alternative routing.

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