Skip to main content
Glama

create_pause_menu_widget

Creates a pause menu widget Blueprint with configurable Resume, Restart, Reset Save, and Quit buttons, and binds a pause toggle input action for game pausing.

Instructions

Create a Pause Menu Widget Blueprint as described in Ch. 11.

Creates the pause menu with Resume, Restart, Reset Save, and Quit buttons. Also sets up the pause menu toggle (input action -> SetGamePaused + widget).

Args: widget_name: Widget Blueprint name (e.g., "WBP_PauseMenu") resume_button: Include a Resume (unpause) button restart_button: Include a Restart level button reset_save_button: Include a Reset Save File button quit_button: Include a Quit Game button

KB: see knowledge_base/17_GAME_SYSTEMS_COOKBOOK.md#overview Example: create_pause_menu_widget()

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quit_buttonNo
widget_nameNoWBP_PauseMenu
resume_buttonNo
restart_buttonNo
reset_save_buttonNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral disclosure burden. It does disclose the main effects: creating a widget Blueprint, adding specific buttons, and setting up a pause toggle via input action to SetGamePaused and the widget. However, it omits side effects such as whether an existing widget is overwritten, whether compilation happens, or whether any asset save is required.

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 well organized with a short summary, a detailed Args section, a KB reference, and an example. It is mostly concise, though the repeated 'Creates...' phrasing in the opening lines adds slight redundancy without much extra value.

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 5-parameter tool with an output schema, the description covers the core behavior, every parameter, an example, and a knowledge-base pointer. It is missing explicit failure-mode or precondition information, but the provided context is sufficient for most invocations.

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%, but the Args block compensates fully by defining each parameter's semantic intent, including the boolean 'Include...' meaning and a concrete widget_name example. The example call and KB reference further clarify how to invoke the tool correctly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Create') and resource ('Pause Menu Widget Blueprint') and enumerates the buttons it adds. However, it does not explicitly distinguish itself from sibling tools like create_win_menu_widget or create_hud_widget, though the pause-menu-specific detail makes the purpose mostly unambiguous.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as create_win_menu_widget, create_lose_screen_widget, or the lower-level add_button_to_widget. Usage context is only implied by the tool name and the mention of a pause menu, with no exclusions or alternative routing.

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