Skip to main content
Glama

unreal_create_input_action

Create an Enhanced Input action (value_type: bool, axis1d, axis2d, axis3d) and map it to key (e.g. "SpaceBar", "W", "Gamepad_FaceButton_Bottom") in a mapping context (created if missing).

Instructions

Create an Enhanced Input action (value_type: bool, axis1d, axis2d, axis3d) and map it to key (e.g. "SpaceBar", "W", "Gamepad_FaceButton_Bottom") in a mapping context (created if missing). overwrite replaces an existing asset at the same path.

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": {
      "name": "<name>",
      "key": "<key>"
    },
    "name": "unreal_create_input_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
nameYes
folderNo/Game/Input
overwriteNo
value_typeNobool
mapping_contextNoIMC_Default

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose two consequential behaviors: the mapping context is auto-created if absent, and 'overwrite' destructively replaces an existing asset at the same path. It stops short of stating what happens when an asset exists and overwrite is false (error vs. no-op) or whether it mutates an existing mapping context in place.

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?

Two sentences, front-loaded with the primary action, then the mapping behavior, then the overwrite caveat — a sensible ordering. The parenthetical example lists are useful but make the text slightly dense; nothing is truly wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating asset-creation tool, the definition covers the main effects and an output schema exists so return values need not be explained. Missing are the failure mode when the target name already exists without overwrite, and whether the mapping context is modified in place for existing contexts — details an agent would want before invoking it.

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%, so the description must compensate, and it does for four of six parameters: value_type with its enumerated values (bool, axis1d, axis2d, axis3d), key with concrete examples ('SpaceBar', 'W', 'Gamepad_FaceButton_Bottom'), mapping_context's auto-creation, and overwrite's replace semantics. Only 'name' and 'folder' (default /Game/Input) are left undocumented, which is a modest gap.

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 gives a specific verb and resource ('Create an Enhanced Input action') plus the secondary operation ('map it to key ... in a mapping context'), which distinguishes it from the read-only siblings like unreal_get_input_mappings. An agent knows exactly what asset is produced and what side effect accompanies it.

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?

Usage is implied rather than stated: it says the mapping context is created if missing and that 'overwrite' replaces an existing asset at the same path, which tells the agent when these options matter. However, there is no explicit when-to-use/when-not-to-use guidance, no statement about prerequisites (e.g. an existing project or enabled Enhanced Input), and no comparison to the get_input_settings/get_input_mappings siblings.

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