get_source
Retrieve the source code of a Roblox script by its reference to inspect and debug it.
Instructions
Read the Source of a Script/LocalScript/ModuleScript by ref, if readable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes |
Retrieve the source code of a Roblox script by its reference to inspect and debug it.
Read the Source of a Script/LocalScript/ModuleScript by ref, if readable.
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must disclose behavior. It mentions 'if readable' but does not specify what happens when the source is not readable (e.g., error, null, empty). There is no mention of return format, permissions, or side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that is direct and free of fluff. It effectively communicates the core action and scope in minimal words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple single-parameter getter, the description gives the essential purpose and a hint of limitations ('if readable'). However, it lacks details on return behavior and error conditions, making it only minimally complete given the absence of annotations and output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must explain the 'ref' parameter. It only says 'by ref' without detailing what a ref refers to (e.g., instance ID, path). The integer type is in the schema, but the description adds minimal meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool reads the source of a Script/LocalScript/ModuleScript, which is a specific action on a specific resource. It distinguishes from siblings by the resource type (source vs. properties/children), but does not explicitly contrast with them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. It does not mention scenarios like debugging or inspecting source, nor does it exclude situations where other getters would be appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sanztheo/dex-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server