Skip to main content
Glama

set_input_action_trigger_behavior

DestructiveIdempotent

Tune InputAction trigger behavior by setting actuation thresholds, hold times, tap release windows, and time-dilation sensitivity for Hold, Tap, and timed triggers.

Instructions

Tune HOW an input trigger fires on an InputAction: actuation threshold, hold time and one-shot for Hold triggers, tap release window for Tap, time-dilation sensitivity for timed ones -- i.e. how long "hold E to interact" must be held. Address the trigger either by index or by trigger_class (first of that type). Only the fields you pass change; the action is saved, and the call succeeds only when it reaches disk. Add the trigger first with add_input_trigger and re-read with get_input_action.

Returns: { action_path, action_name, trigger_index, trigger_class, properties_set, trigger, saved, save_error? }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
action_nameNoFallback for action_path when action_path is absent.
action_pathNoAsset path of the Input Action (or short asset name).
is_one_shotNoWhen set, UInputTriggerHold::bIsOneShot (bool). Hold triggers only.
trigger_classNoSelect the first trigger of this type (Down|Pressed|Released|Hold|Tap|Pulse|ChordAction) instead of an index.
trigger_indexNoIndex into the action's Triggers array to edit. Mutually exclusive with trigger_class.
tap_release_timeNoWhen set, UInputTriggerTap::TapReleaseTimeThreshold (float). Tap triggers only.
actuation_thresholdNoWhen set, the base UInputTrigger::ActuationThreshold (float).
hold_time_thresholdNoWhen set, UInputTriggerHold::HoldTimeThreshold (float). Hold triggers only.
affected_by_time_dilationNoWhen set, UInputTriggerTimedBase::bAffectedByTimeDilation (bool). Timed triggers only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • removedInput schema / required
      Removed value: -[
      -  "action_path"
      -]
  2. First observedv1.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say not-readOnly, destructive, idempotent) by disclosing partial-update semantics ('Only the fields you pass change'), the disk-persistence success condition ('the call succeeds only when it reaches disk'), and the save_error escape hatch. This is exactly the kind of mutation-behavior detail annotations cannot carry.

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?

Front-loads the core purpose and stays information-dense with no filler; the inline return shape is justified because no output schema exists. The middle sentences are long and clause-heavy, which slightly weakens scannability.

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?

For a 9-parameter mutation tool with no output schema, the description supplies the missing return contract ({ action_path, trigger_class, saved, save_error? }), the selection semantics, the persistence guarantee, and the surrounding workflow — nothing an agent needs to invoke it correctly is absent.

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 description coverage is 100%, so each parameter is already documented, including 'Mutually exclusive with trigger_class' and 'Hold triggers only'. The description largely mirrors this (index vs trigger_class, per-type properties) and adds only the practical gloss on hold-to-interact, so baseline 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?

States a precise verb+resource ('Tune HOW an input trigger fires on an InputAction') and enumerates the exact properties being tuned for each trigger type. It clearly separates itself from add_input_trigger, remove_input_trigger, and get_input_action by naming them as prerequisite/followup tools.

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

Usage Guidelines4/5

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

Gives concrete workflow context: 'Add the trigger first with add_input_trigger and re-read with get_input_action', and explains that the trigger is addressed either by index or by trigger_class. It does not spell out when to prefer one addressing mode over the other or explicit exclusions, so it falls just short of a full 5.

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