Skip to main content
Glama
iwillwait4u

Roblox BedWars Creative Scripting Tool MCP

validate_directory_script

Validate Lua scripts in a directory to check services, methods, enums, and syntax before syncing with BedWars Creative.

Instructions

Validate a Lua script inside an outside project folder.

Context: Use before syncing user project scripts. It validates services, methods, enums, callback fields, field mutability, and basic syntax structure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
syncNo
directoryYes
file_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it usefully enumerates what is checked (services, methods, enums, callback fields, mutability, syntax). But it never says what a failure returns, whether validation throws or reports, or whether the default sync=true parameter triggers an actual sync side effect on a supposedly read-only validation call.

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?

Two short sentences, purpose front-loaded, no wasted text. The phrase 'inside an outside project folder' is slightly awkward and could confuse the scoping, costing a point.

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?

An output schema exists, so return-value detail is not required, and the check-list gives good coverage of validation scope. The unresolved ambiguity around the 'sync' parameter's side effects leaves a meaningful gap for an agent deciding whether to call it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description explains none of the three parameters. 'directory' and 'file_name' are self-evident from their names, but 'sync' (default true) is genuinely ambiguous and the description gives no hint about its meaning or effect.

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?

States a specific verb+resource (validate a Lua script) and scopes it to a directory project folder, which separates it from the plain validate_script sibling. It does not explicitly name how it differs from validate_directory_project, but the purpose is clear.

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?

'Use before syncing user project scripts' gives a concrete when-to-use condition tied to the sync workflow. There is no explicit when-not or named alternative among the many validate_* siblings, so it stops 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.