Skip to main content
Glama

create_player_controller

Creates a PlayerController Blueprint in Unreal Engine, with optional mouse cursor and click/touch event settings.

Instructions

Create a PlayerController Blueprint.

Args: name: Blueprint name (e.g., "BP_MyPlayerController") show_mouse_cursor: Show mouse cursor in game enable_click_events: Enable actor click events enable_touch_events: Enable touch events

KB: see knowledge_base/03_GAMEPLAY_FRAMEWORK.md#overview Example: create_player_controller(name="ExampleName")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
show_mouse_cursorNo
enable_click_eventsNo
enable_touch_eventsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior2/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 of behavioral disclosure. It states that a PlayerController Blueprint is created and what the boolean parameters do, but it does not disclose where the asset is created, whether an existing asset is overwritten, whether the blueprint is compiled, or what side effects the creation has. The KB link is a pointer rather than actual behavioral transparency.

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 structured with an Args list, a KB reference, and an example, and every line earns its place. It is slightly redundant in that the example mostly duplicates the parameter explanation, but overall it remains compact and scannable.

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 four-parameter creation tool, the description covers all parameters, gives a usable example, and points to relevant knowledge base material. Since an output schema exists, return values need not be described. The main gap is the lack of behavioral side-effect context, but the description is otherwise sufficient for an agent to invoke the tool correctly.

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 description coverage is 0%, and the description compensates well by explaining all four parameters in plain language, including a naming example for `name` and one-line semantics for the boolean flags. It adds meaning beyond the schema's types and defaults, though it could be stronger on naming constraints such as whether the 'BP_' prefix is required.

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: 'Create a PlayerController Blueprint.' This clearly identifies the tool's function and distinguishes it from sibling creation tools like create_ai_controller, create_character_blueprint, and create_game_mode. The inclusion of a concrete naming example further reinforces the intended outcome.

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?

The description implies the usage context through the tool name and the KB pointer to the gameplay framework overview, but it does not explicitly state when to use this tool over alternatives or when not to use it. There is no exclusion guidance, such as 'for AI controllers use create_ai_controller instead,' so the agent must infer the appropriate selection from the resource type alone.

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