Skip to main content
Glama
flipper-mcp
by jamiew

flipper_input_sequence

Run a mini-DSL sequence of keypresses and timed waits against the Flipper UI to automate navigation, long presses, and input actions.

Instructions

Run a mini-DSL sequence of keypresses / waits against the Flipper UI.

Syntax (comma-separated steps): ok — short press OK long:ok — long press OK press:down — press-only event for Down (without release) release:down — release-only event wait:0.5 — wall-clock delay of 0.5 seconds

Example: "ok,down,down,long:ok,wait:0.3,back" navigates two items down, holds OK, waits 300 ms, then backs out.

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": {
      "sequence": "<sequence>"
    },
    "name": "flipper_input_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
sequenceYes
step_delay_sNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A3.5/5.0
Behavior3/5

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

Annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) already cover the safety profile, and the description clarifies that 'wait:N' is wall-clock time. It does not say what happens on an invalid step (abort vs skip), whether partial sequences leave the UI in an intermediate state, or whether the call blocks until completion.

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-loaded with the one-line purpose, then a compact token list and a single example. Every line teaches something; the formatting is slightly code-doc-ish but nothing is padding.

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?

An output schema exists, so return values need not be described. However, for a tool that drives real device UI state, missing error/abort semantics and the meaning of step_delay_s leave an agent unable to predict failure behavior.

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 coverage is 0%, so the description carries the load — and it does so for the required 'sequence' parameter, fully specifying the DSL tokens and giving a concrete example. The second parameter, 'step_delay_s', is never explained (only the in-sequence 'wait:' delay is), which is the one remaining semantic hole.

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 states a specific verb and resource ('Run a mini-DSL sequence of keypresses / waits against the Flipper UI') and the worked example makes the intent unambiguous. It never names the sibling primitives (flipper_press_key, flipper_hold_key, flipper_interrupt), so the agent must infer that this is the batch/scripted counterpart to the single-key tools.

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?

Use is implied rather than stated: the DSL and the navigation example suggest multi-step sequences, but there is no sentence saying 'use this instead of repeated flipper_press_key calls' or when to prefer the single-key tools. No exclusions or prerequisites are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.