Skip to main content
Glama
sansaks-jpg

Gamedev All-in-One MCP

by sansaks-jpg

Roblox Get Script Source

roblox_get_script_source

Retrieve the source code of any Script, LocalScript, or ModuleScript in Roblox Studio by providing its full instance path.

Instructions

Read the source code of a Script, LocalScript, or ModuleScript by its full instance path in Roblox Studio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesFull instance path of the script (e.g. ServerScriptService.MyScript).
waitForResponseMsNoHow long to wait for a runtime response.
Behavior2/5

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

No annotations are provided, so the description must convey all behavioral traits. It indicates a read operation but lacks details on permissions, error handling, script size limits, or response format. More transparency is needed.

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 description is a single concise sentence that conveys the purpose without waste. Minor improvement could include more detail without becoming verbose.

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 simple read tool with no output schema, the description is mostly complete. It lacks details on error cases (e.g., invalid path) but covers the core functionality adequately.

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 the baseline is 3. The description adds no extra meaning beyond the schema, as 'by its full instance path' is already reflected in the path parameter description.

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 clearly states the action (Read) and the resource (source code of Script, LocalScript, or ModuleScript) with a specific method (by full instance path). It distinguishes from siblings like roblox_set_script_source (write) and roblox_grep_scripts (search).

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?

The description provides clear context: when you need to read a script's source given its path. It does not explicitly mention when not to use or alternatives, but the context is sufficient for most cases.

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/sansaks-jpg/gamedev-all-in-one-mcp'

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