Skip to main content
Glama

manage_scripts

Manage Roblox script source code: read, write, create, delete, edit lines, search, and replace across scripts.

Instructions

Manage script source code: read, write, create, delete, edit lines, search. [PRO] replace across scripts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesScript action. Basic: get_source, set_source, create, delete, edit_replace, edit_insert, edit_delete, search, get_dependencies. [PRO]: replace.
pathNoPath to the script instance. Used by: get_source, set_source, delete, edit_replace, edit_insert, edit_delete, search, get_dependencies, replace.
sourceNoScript source code. Used by: set_source (required), create (optional initial source).
scriptTypeNoType of script to create. Used by: create.
parentNoParent path for new script. Used by: create.
nameNoName for new script. Used by: create.
startLineNoStarting line number, 1-based inclusive. Used by: edit_replace, edit_delete.
endLineNoEnding line number, 1-based inclusive. Used by: edit_replace, edit_delete.
newLinesNoNew content to replace specified lines. Used by: edit_replace. Can be multi-line.
linesNoContent to insert after afterLine. Used by: edit_insert. Can be multi-line. Alias for content.
afterLineNoLine number after which to insert. Used by: edit_insert. Use 0 to insert at beginning.
contentNoContent to insert. Used by: edit_insert. Can be multi-line.
patternNoSearch pattern (plain text or Lua pattern). Used by: search, replace.
replacementNo[PRO] Replacement text. Used by: replace.
caseSensitiveNoCase-sensitive search. Used by: search. Default: false.
wholeWordNoMatch whole words only. Used by: search. Default: false.
usePatternNoTreat pattern as Lua pattern instead of plain text. Used by: search, replace. Default: false.
dryRunNo[PRO] Show what would be replaced without making changes. Used by: replace. Default: false.
maxResultsNoMaximum results to return. Used by: search. Default: 100.
Behavior3/5

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

Annotations are absent, so description carries full burden. It hints at PRO-feature gating for the replace action, which adds context beyond the schema. However, it fails to disclose destructive impact of delete/set_source, atomicity of edits, return value structures, or side effects (e.g., whether editing source affects running scripts).

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?

Single sentence format is efficient and front-loaded with the operation list, avoiding redundancy with the tool name. However, it is underspecified for a 19-parameter multi-modal tool with destructive capabilities; the brevity sacrifices necessary behavioral and safety context.

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

Completeness2/5

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

With 19 parameters, 10 distinct actions, destructive operations (delete, set_source), and no output schema or annotations, the description is insufficiently complete. It omits critical context: the tool targets Roblox Lua scripts, line-based editing constraints, dependency retrieval purpose (get_dependencies mentioned in schema but not description), and safety warnings for source code destruction.

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%, establishing a baseline of 3. The description adds minimal semantic value beyond the schema—listing action categories but not parameter interplay (e.g., that edit_replace requires line ranges, or that 'replace' may work across multiple scripts per the '[PRO] replace across scripts' phrasing which slightly augments the schema).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description lists specific operations (read, write, create, delete, edit lines, search, replace) which clarifies scope beyond the generic 'Manage' verb. However, it lacks differentiation from siblings like 'execute_luau' (runtime execution) or 'mutate_instances' (general instance manipulation), leaving ambiguity about when to use source-code management vs. other instance interactions.

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?

No guidance provided on when to use this tool versus alternatives, nor prerequisites for destructive actions like 'delete'. The [PRO] label hints at feature gating but doesn't clarify access requirements or when to prefer 'replace' over 'edit_replace'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hope1026/roblox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server