Skip to main content
Glama

remove_input_trigger

Destructive

Delete a trigger from a key mapping in an Enhanced Input context and save it. Use to remove triggers like Hold so a key fires immediately.

Instructions

Delete one trigger from a key mapping in an Enhanced Input mapping context, by mapping_index + trigger_index -- e.g. dropping a Hold so the key fires immediately again -- and save the context; the call succeeds only when the context reaches disk. Get the indices from list_input_triggers; they shift after a removal, so work from the highest down.

Returns: { applied, removed_class_name, remaining_count, saved, save_error? }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ctx_pathYesAsset path of the UInputMappingContext
mapping_indexYes0-based index of the FEnhancedActionKeyMapping
trigger_indexYes0-based index of the trigger within Mapping.Triggers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.7/5.0
Behavior5/5

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

The annotations already mark this as destructive and non-idempotent, and the description adds important behavioral context beyond them: it saves the context, succeeds only when the context reaches disk, warns about index shifting after removal, and documents the return fields including saved/save_error. This is exactly the kind of operational detail an agent needs for a mutation tool.

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?

The purpose is front-loaded, followed by a concise example, a save/disk-success condition, index guidance, and a return shape. Every sentence earns its place with no wasted text.

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 destructive removal tool with no output schema, the description covers the action, required indices, index-acquisition prerequisite, ordering hazard, disk-save success condition, and the return payload. Combined with the annotations, it is complete enough for correct invocation.

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 100%, so a baseline of 3 applies, but the description adds meaningful parameter context: where to obtain the indices (list_input_triggers) and the critical fact that they shift after a removal, so the agent should work from the highest down. It does not add further per-parameter semantics beyond that.

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 states a specific verb ('Delete one trigger'), the exact resource ('from a key mapping in an Enhanced Input mapping context'), and the keying parameters. It is clearly distinguishable from siblings like remove_input_modifier, remove_mapping_from_context, and add_input_trigger.

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?

It gives clear procedural guidance: get indices from list_input_triggers, and work from the highest index down because indices shift after removal. It provides a useful example ('dropping a Hold') but does not explicitly name when to choose this tool over the related remove_input_modifier or remove_mapping_from_context tools.

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