Skip to main content
Glama
aswdffdas-sudo

2021 Roblox Studio MCP Bridge

read_script

Retrieve the complete source code of any Script, LocalScript, or ModuleScript in Roblox Studio to inspect or modify its contents.

Instructions

Reads the complete Source text of a Script, LocalScript, or ModuleScript

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesFull instance path (e.g. 'game.ServerScriptService.MyScript')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. 'Reads' implies a non-mutating operation and 'complete' signals the full source is returned rather than a snippet, but permissions, failure behavior for invalid paths, and rate limits are unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; every word (complete, Source, the three instance types) carries information.

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 one-parameter read tool with no output schema, the description conveys what is returned ('complete Source text') and which instance types apply, which is close to sufficient. Remaining gaps around path resolution and error cases are minor.

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% and the single path parameter is fully documented in the schema with a format example, so the description adds no parameter meaning beyond it. Baseline 3 applies when the schema does the heavy lifting.

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 (Reads) and resource (the complete Source text) and scopes it to the three relevant script instance types. It implicitly contrasts with write_script, but it does not explicitly name a sibling to route the agent away from, so it falls short of a 5.

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?

There is no guidance on when to use this versus siblings such as get_tree (which also exposes instance contents) or execute_luau. No prerequisites, exclusions, or situational context are given.

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