Skip to main content
Glama
okenjioxx

Roblox Executor MCP Server

by okenjioxx

Release a retained closure handle

release-closure-reference
Destructive

Remove a key from the closure reference registry to let cloned or wrapped closures be garbage-collected; requires confirm=true to mutate live game state.

Instructions

WRITES LIVE GAME STATE. Remove one key from getgenv().__mcp_closure_refs so cloned/wrapped closures can be garbage-collected. This invalidates its returned Reference and requires confirm=true. Signature: { key: string, confirm: boolean?, threadContext: number? }. Phase: act; cost=medium; idempotency=contextual-write. Requires: active-client, explicit-mutation-approval. Capabilities: debug closure primitives. Produces: structured-result. Verify with: assert-state. Safety: MUTATING; writes live game/client state. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYestext value for key.
confirmNoExplicit safety acknowledgement; must be true before this state-changing operation runs.
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
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds value beyond them: invalidating the returned Reference, the confirm=true requirement, explicit-mutation-approval, and idempotency=contextual-write. It describes what state is mutated, though it doesn't detail failure modes or rate limits.

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 critical warning ('WRITES LIVE GAME STATE') and the core action are front-loaded, and the labeled segments (Phase, Requires, Capabilities, Produces, Verify, Safety, On failure) are scannable. It is dense but each clause carries distinct information, with only mild redundancy between the signature block and the schema.

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

Completeness4/5

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

For a mutation tool with no output schema, the description covers safety, prerequisites, verification, and failure handling ('inspect tool-schema for exact fields'). It is largely complete, though 'Produces: structured-result' is vague without an output schema to define the actual return.

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 key and confirm are fully documented in the schema. The description only restates the signature ('{ key: string, confirm: boolean?, threadContext: number? }') without adding semantic meaning, so the baseline 3 applies.

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 states a precise verb and resource: 'Remove one key from getgenv().__mcp_closure_refs so cloned/wrapped closures can be garbage-collected.' This is a specific action distinguishable from siblings like list-closure-references or closure-capabilities, and it explains the downstream effect (enabling GC).

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?

It gives clear preconditions (requires confirm=true, active-client, explicit-mutation-approval), a phase (act), and a verification path ('Verify with: assert-state'). It does not name a specific alternative sibling or explicitly state when NOT to use it, so it falls just short of a 5.

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