Skip to main content
Glama
Redseb
by Redseb

export_web

Package a pruned RPG Maker MZ HTML5 build for itch.io or any static host: copies only referenced assets, zips with index.html at root, and reports file and size limit warnings.

Instructions

Export a pruned HTML5 web deployment (for itch.io or any static host): copies index.html, js/, css/, fonts/, icon/ and data/.json, plus only the img/audio/movies files the game references (every string in data/.json, string literals in the core js and plugins, plugin @default annotations; img/system is always kept) and only the effects/*.efkefc Effekseer effects actually referenced (an animation's effectName, a Plugin Command argument, or a plugin parameter/string — not other data strings) together with the textures/models they list internally. Writes the folder to outDir and, by default, .zip with index.html at the archive root. Returns file/byte counts, kept/dropped asset counts (+ dropped paths), the screen size from System.advanced (the itch embed size), and warnings for itch's 1000-file / 200 MB-per-file limits. Writes nothing inside the project; outDir must be outside the project's copied folders, and an existing non-empty outDir is only replaced if it was a previous export_web output. Follow up with a playtest of the exported build.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zipNoAlso write <outDir>.zip with index.html at the archive root (default true).
pruneNoDrop img/audio/movies/effects files nothing references (default true). Set false to copy every asset — the escape hatch if a plugin builds asset names at runtime.
outDirYesFolder to write the deployment into (absolute, or relative to the project root). Must not be the project folder or inside its img/audio/data/js/… folders.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so extensively: it explains the pruning logic, what is always kept, what gets dropped, what gets written, default zip behavior, existing outDir replacement rules, and safety constraints about not writing inside the project. It also discloses return values such as file/byte counts, dropped paths, screen size, and itch.io limit warnings.

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 front-loaded with the core export purpose and uses no obvious filler. However, the second sentence is extremely long and dense with parenthetical rules, making it harder to parse than necessary for an agent. The content earns its place, but the structure could be clearer.

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

Completeness5/5

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

For a complex export tool with no output schema, the description compensates by explaining what gets returned, what warnings are produced, and the exact filesystem constraints. It gives the agent enough information to invoke the tool correctly and anticipate its side effects and outputs.

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%, so the input schema already documents all three parameters well. The description reinforces defaults and the outDir replacement constraint, but much of the parameter meaning is already present in the schema. Baseline 3 is appropriate because the schema does the heavy lifting.

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 precise verb and resource: 'Export a pruned HTML5 web deployment.' It immediately scopes the operation as a pruned deployment for itch.io or any static host, making it easy to distinguish from database-editing or validation siblings. An agent can tell what the tool produces without opening the schema.

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?

It gives clear usage context ('for itch.io or any static host') and a follow-up recommendation ('Follow up with a playtest of the exported build'). It also documents the prune=false escape hatch for runtime-generated asset names. It does not explicitly compare against a sibling alternative, but there is no close sibling export tool, so the guidance is strong.

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