Skip to main content
Glama
flipper-mcp
by jamiew

flipper_press_key

Sends a synthetic keypress (up, down, left, right, ok, back) to the Flipper UI, supporting short, long, press, or release actions for remote button control.

Instructions

Send a synthetic keypress to the Flipper UI.

key: one of up, down, left, right, ok, back (aliases like u, enter, esc accepted). press_type: short | long | press | release. Default short is a full press-and-release, matching a normal button tap.

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

Input Schema

NameRequiredDescriptionDefault
keyYes
press_typeNoshort

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already state readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the agent knows this mutates device UI state without being destructive. The description adds useful context that the input is synthetic and goes to the Flipper UI, and clarifies that short is a full press-and-release. It stops short of saying what a long press means or what happens if the UI is in an unexpected state.

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 purpose is front-loaded in one sentence, then each parameter gets a compact definition with no filler. The backtick-quoted literals are a minor formatting inconsistency but cost no comprehension.

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 two-parameter input tool with an output schema and annotations already in place, the description covers what the agent must supply, including accepted values and the default. What is missing is relative positioning against flipper_hold_key and any note on device-side preconditions, but the return values need not be explained given the output schema exists.

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% and neither parameter carries an enum in the schema, so the description carries the whole burden and largely succeeds: it enumerates the six accepted key values plus aliases (u, enter, esc) and lists the four press_type values with the default. The only gap is that "long" and the press/release split are not defined in terms of duration or effect.

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?

"Send a synthetic keypress to the Flipper UI" gives a concrete verb (send) and resource (keypress to the Flipper UI), so an agent knows immediately what the tool does. It does not contrast itself with the closely related flipper_hold_key or flipper_input_sequence sibling, so differentiation is left to the agent.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as flipper_hold_key (for sustained holds) or flipper_input_sequence (for multi-step navigation). The only implicit guidance is that the default press_type reproduces "a normal button tap," which hints at usage but does not route between tools.

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