Skip to main content
Glama
blessed0x

scratch-unified-mcp

by blessed0x

Project Download

project_download

Decompile a Scratch project into editable goboscript source from a project ID or local .sb3 file, then write it to a directory. Optionally verify the output compiles.

Instructions

Decompile a Scratch project into editable goboscript source, and make it active.

Give either project_id to pull straight from scratch.mit.edu, or sb3_path for a local .sb3 file. Decompiling is lossy in layout terms: the result is equivalent code, not a byte-identical copy of the original.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesDirectory to write the goboscript project into.
verifyNoCompile the decompiled source afterwards and report whether it builds. Decompilation is not always faithful, so this is worth knowing before you start editing.
sb3_pathNoPath to a local .sb3 to decompile instead.
overwriteNoAllow writing into a directory that already has contents.
project_idNoNumeric scratch.mit.edu project id to download and decompile.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
projectYes
compilesYes
diagnosticsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral burden. It discloses the key caveat that decompilation is lossy in layout terms and states that the tool 'makes the result active.' It also implies network use by mentioning pulling from scratch.mit.edu. It could say more about filesystem writes or state changes, but the most important behavioral warning is present.

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?

The description is compact and front-loaded: purpose first, then source-mode guidance, then a brief caveat. Every sentence carries useful information with no filler.

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?

With 100% schema coverage and an output schema available, the description covers the main operational context well: what the tool does, how to choose a source, and the key decompilation caveat. It does not explicitly mention the required `path` parameter's role, but the schema already documents that clearly.

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

Parameters4/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, but the description adds value by explaining the relationship between `project_id` and `sb3_path` as alternative sources. This goes beyond the individual parameter descriptions and clarifies the either/or usage pattern.

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 states a specific verb and resource: it decompiles a Scratch project into editable goboscript source and makes it active. This clearly differentiates it from sibling tools like project_open, project_new, or sb3_open_project, which do not focus on decompilation into goboscript.

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 gives clear context and explicit input-mode guidance: use `project_id` for scratch.mit.edu projects or `sb3_path` for local .sb3 files. However, it does not explicitly say when this tool should be chosen over related siblings or when it should not be used.

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

Deploy Server

Other Tools