Skip to main content
Glama
HullForge MCP Connector

HullForge MCP Connector

by jigwright

Restart Editor

hf_restart_editor
Idempotent

Restart the Unreal editor when C++ changes require it: save, close, build the editor target, reopen, and reconnect in one call; build failures return errors without reopening.

Instructions

Save everything, close the Unreal editor, build the project's editor target, reopen the project and reconnect, in one call (a few minutes). Use it when a C++ change cannot load while the editor runs: a compile result says restart_required, a module dependency was added, or a new class did not register. The user approves it. If the build fails, the editor is not reopened and the errors come back.

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": "hf_restart_editor"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNohf_save_all first. Default true.
buildNoBuild before reopening. Default true.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare it is mutating, non-destructive, idempotent and closed-world. The description adds the cost (a few minutes), the approval requirement, and the partial-failure contract -- on build failure the editor stays closed and errors are returned -- which is behavior an agent cannot infer from the flags.

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 operation is front-loaded in the first sentence, followed by when-to-use, then approval and failure semantics. Every clause carries information; nothing repeats the schema or annotations.

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?

An output schema exists so return-value detail is unnecessary, and the description still covers the one return case that matters (build errors returned, editor not reopened). For a two-parameter composite tool, nothing an agent needs before calling it is missing.

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 coverage is 100%, so both booleans (save, build) are already documented with defaults in the schema. The prose implies save and build are performed but adds no format or edge-case meaning beyond that, so the baseline of 3 applies.

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 names the exact composite operation -- save all, close the Unreal editor, build the editor target, reopen and reconnect -- rather than restating the tool name. That sequence is unmistakable and cannot be confused with any sibling compile or create tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete trigger conditions: a compile result returning restart_required, a newly added module dependency, or a class that failed to register. It also states the user-approval requirement, which is exactly the kind of gating an agent needs before invoking a disruptive tool.

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