Skip to main content
Glama

unreal_set_world_game_mode

Set this level's GameMode override (World Settings). Class path, e.g. "/Game/Gameplay/BP_GameMode.BP_GameMode_C" or "/Script/Engine.GameModeBase".

Instructions

Set this level's GameMode override (World Settings). Class path, e.g. "/Game/Gameplay/BP_GameMode.BP_GameMode_C" or "/Script/Engine.GameModeBase".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "game_mode_class": "<game_mode_class>"
    },
    "name": "unreal_set_world_game_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
game_mode_classYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that the write targets World Settings and is level-scoped, but says nothing about whether the change is saved to disk, applied at runtime versus requiring PIE restart, or what happens with an invalid class path.

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?

Two sentences: the action and scope first, then the value format with examples. No filler, and the most decision-relevant information is front-loaded.

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?

An output schema exists, so return values need not be described, and a single required parameter is well covered by the class-path examples. The only real gap is post-write behavior (persistence, activation timing), which an agent would want before calling.

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 0% (the parameter has only a title), and the description compensates well by specifying the expected value as a class path and giving two concrete examples covering both a Blueprint generated class and a native /Script class. Still missing validation/fallback behavior for malformed paths.

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?

Specific verb (Set) plus a precisely scoped resource: 'this level's GameMode override (World Settings)'. The parenthetical and the per-level scope distinguish it from the sibling unreal_set_game_mode and from unrelated setters without needing 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 Guidelines3/5

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

Implies the context (editing a level's World Settings override) but never states when to choose this over unreal_set_game_mode or unreal_set_world_settings, nor any prerequisites such as the level being open or the asset existing. Usage is inferable but not explicit.

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