Skip to main content
Glama
okenjioxx

Roblox Executor MCP Server

by okenjioxx

Count connections on a signal (breakdown)

count-signal-connections
Read-onlyIdempotent

Count all connections on an RBXScriptSignal and get a numeric breakdown: total, Lua vs Foreign, Enabled vs Disabled, and how many carry a Lua function. Use for quick handler counts before listing.

Instructions

Resolve an RBXScriptSignal and return a fast numeric breakdown of everything connected to it: Total connections, how many are Lua vs Foreign (engine/C-side), how many are currently Enabled vs Disabled, and how many carry a Lua Function. Use this as a lightweight first pass before list-signal-connections when you only need counts (e.g. "how many handlers are on this RemoteEvent?", "are any of this signal's connections disabled?"). Does NOT describe each function, so it is much cheaper than the full listing. Requires the executor's getconnections; degrades to a clear { error } if unavailable. Returns { Signal, Instance?, Total, Lua, Foreign, Enabled, Disabled, WithFunction }. Signature: { instancePath: string, signalName: any?, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client, resolved-target. Capabilities: getconnections. Produces: created-handle. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
signalNameNoName of the RBXScriptSignal member on the instance (e.g. 'Touched', 'Changed', 'OnClientEvent'). Leave empty/omit if instancePath already evaluates to the signal.
instancePathYesLua expression resolving to the Instance that owns the signal (e.g. 'game.Workspace.Door', 'game.ReplicatedStorage.RemoteEvent'). Evaluated as `return <instancePath>`. Leave signalName empty if this expression already resolves to the RBXScriptSignal itself.
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 safety profile, but the description adds operational context annotations cannot express: it depends on the executor's getconnections, degrades to a clear { error } when that is unavailable, and requires an active-client/resolved-target context at cost=medium. It also names the exact return shape, which matters since there is no output schema.

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 core purpose, breakdown fields, and routing guidance are all front-loaded in the first three sentences, which is exactly the information an agent needs. The trailing metadata block (phase/cost/idempotency/Safety: read-only) partially duplicates the annotations and the schema, adding length without new signal, which keeps it just short of a 5.

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?

For a count-only read tool with no output schema, the description supplies the return field list, the dependency (getconnections), the failure mode ({ error }), the execution context requirements, and a pointer to tool-schema for exact fields on failure. An agent has everything needed to call it correctly and interpret the result.

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 all three parameters are fully documented in the schema itself, including the instancePath/signalName interaction. The description's 'Signature' line restates the parameters without adding format or fallback semantics beyond what the schema provides, so baseline 3 is correct.

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 ('Resolve an RBXScriptSignal and return a fast numeric breakdown') and enumerates exactly what is counted (Total, Lua vs Foreign, Enabled vs Disabled, WithFunction). It distinguishes itself from its closest sibling by name, so an agent can tell it apart from list-signal-connections 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?

Explicitly frames itself as a 'lightweight first pass before list-signal-connections when you only need counts,' and supplies concrete trigger questions ('how many handlers are on this RemoteEvent?'). It also states the inverse condition ('Does NOT describe each function, so it is much cheaper than the full listing'), which routes the agent to the alternative when descriptions are needed.

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