Skip to main content
Glama

Precise rebuild spec for an existing game or app

re_blueprint

Creates a clean-room rebuild spec from a lookup dossier or game/app details to match original function and feel, with measurable systems, milestones, parity checks, and an optional skeleton.

Instructions

Turns a re_lookup dossier (lookupId) and/or name, genres, tags and a description into a clean-room rebuild spec that matches the original in function and feel: the systems it is made of, and per system the parameters to measure on the original (speeds, jump arcs, timings, frame data, camera, economy tables, UI layout fractions…) with how to measure them; target engine with conventions (same engine as the original by default); milestones; capture/measure/verify method; clean-room rules (own code, art, audio, text and name). Writes BLUEPRINT.md, parity.json (every parameter with original/rebuild/tolerance) and, for engine targets, a project skeleton with every numeric parameter as a tunable. Archetypes: platformer, shooter, racing, flight, rpg, roguelike, strategy, management, survival, puzzle, card, fighting, sports, narrative, multiplayer, idle, horror, social-app, productivity-app, shopping-app, media-app, fitness-app, web-saas.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "re_blueprint"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNogame or app (default from the lookup, else game).
nameNoName of the original (when there is no lookupId).
tagsNoTags/categories (e.g. ["multiplayer", "controller support"]).
engineNoEngine of the original, if known.
genresNoGenres (e.g. ["platformer"]).
outputNoProject skeleton folder (new or empty; default workspace/blueprints/<name>/project-<target>).
targetNoTarget: godot, godot-csharp, unity, unreal, threejs, or web, flutter, react-native, swift, kotlin, electron, or a language.
lookupIdNoDossier id from re_lookup.
scaffoldNoWrite the project skeleton (default true for engine targets).
archetypesNoForce archetypes.
descriptionNoWhat the original is and does.
perspectiveNo2d or 3d (default from the lookup).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.25.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only say it is non-read-only, non-destructive, and non-idempotent; the description adds the substantive behavior — it writes BLUEPRINT.md, parity.json and, for engine targets, a project skeleton with every numeric parameter as a tunable. That is exactly the missing detail about what side effects to expect. It does not say what happens on re-runs into a populated folder or how long generation takes, which is why this isn't a 5.

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

Conciseness3/5

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

The purpose is front-loaded and the text is dense rather than padded, but it is essentially one run-on sentence built from parenthetical lists, which hurts scannability. The 23-item archetype enumeration duplicates the schema enum and does not earn its place in the description.

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 12-parameter generation tool with no output schema, the description covers the important ground: inputs accepted, deliverables produced, measurement methodology, clean-room constraints, and engine conventions. Missing only edge behavior such as overwrite semantics and failure modes when neither lookupId nor name resolves.

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; the description still adds meaning by explaining that the target engine defaults to the original's engine with its conventions, and that scaffolding is on by default for engine targets. The archetype list restates the schema enum verbatim, which adds nothing, but the defaulting behavior does.

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?

States a concrete verb and artifact: turns a re_lookup dossier plus metadata into 'a clean-room rebuild spec that matches the original in function and feel,' then enumerates the deliverable files. It also ties itself to the sibling that feeds it (lookupId from re_lookup), so an agent can tell it apart from the other re_* analysis tools.

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 input contract is clear — a lookupId from re_lookup and/or name, genres, tags and a description — which implicitly tells the agent this runs after dossier collection. It does not state when NOT to use it (e.g. for a brand-new design with no original), but the intended sequencing is unambiguous.

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