Skip to main content
Glama

skill_repair_broken_blueprint

Diagnose and auto-repair broken Blueprints by running compile and structural checks, applying deterministic fixes, and verifying health improvements.

Instructions

Diagnose a Blueprint and apply deterministic repairs automatically.

Phase 4 / V6 skill — orchestrates the full repair loop:

  1. Run compile diagnostics

  2. Run structural validation (orphans, disconnected exec chains)

  3. Build repair plan (auto_repairable issues only)

  4. Apply repairs (orphan removal, exec reconnection)

  5. Recompile Blueprint

  6. Run post-mutation verification

  7. Return before/after JSON with health_delta

Issues that are NOT deterministically repairable (compile errors, possibly-unused variables, missing graphs) are collected in repairs_skipped — never silently ignored.

Args: blueprint_path: Full asset path (e.g. '/Game/BP_HealthSystem') or plain name ('BP_HealthSystem') dry_run: If True, report what would be repaired without actually making changes (default False) max_repairs: Safety cap on number of auto-repairs applied in a single call (default 20)

Returns: StructuredResult with outputs: before — health snapshot before repair after — health snapshot after repair repairs_applied[] — list of applied repair records repairs_skipped[] — list of skipped issues with reasons health_delta — int (after.health_score - before.health_score) safe_to_continue — bool repair_summary — human-readable string

KB: see knowledge_base/32_AGENT_PLAYABLE_SLICE_RECIPE.md#overview Example: skill_repair_broken_blueprint(blueprint_path="/Game/MCP_Test/BP_Example")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
max_repairsNo
blueprint_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations to lean on, the description fully discloses side effects: it applies repairs, recompiles the Blueprint, runs post-mutation verification, and supports a dry_run safety mode. It also explains that non-deterministically repairable issues are collected in repairs_skipped rather than silently ignored, and documents max_repairs as a safety cap.

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 well organized with a one-line summary, numbered steps, a limitations note, Args, Returns, KB pointer, and example. It is detailed but every section earns its place, and the most important purpose statement is front-loaded.

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 skill tool with no annotation coverage, the description provides everything needed: input semantics, behavior, limitations, return fields, a KB reference, and a concrete example. It even documents the not-repairable cases so an agent can predict outcomes before calling.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description has the full burden of explaining all three parameters. It does so clearly: blueprint_path accepts either a full asset path or plain name, dry_run toggles reporting-only behavior, and max_repairs caps how many auto-repairs are applied. This goes well beyond the bare input schema.

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 opens with a specific verb and resource: 'Diagnose a Blueprint and apply deterministic repairs automatically.' It then names the exact orchestration steps (compile diagnostics, structural validation, repair plan, apply repairs, recompile, verify), which clearly distinguishes it from lower-level siblings like bp_repair_exec_chain and bp_remove_orphaned_nodes.

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 strong context for when to use the tool: when a Blueprint has deterministic, auto-repairable structural issues like orphans or disconnected exec chains. It clearly states which issue types are not repaired and are instead reported in repairs_skipped, but it does not explicitly name alternative sibling tools or say 'use X instead' when only auditing or compiling is needed.

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