Skip to main content
Glama
flipper-mcp
by jamiew

flipper_hold_key

Press and hold a specified key for a set duration, then release it, using explicit press/release events for wall-clock-accurate timing.

Instructions

Press and hold a key for duration_s seconds, then release.

Uses explicit press/release events so the hold duration is wall-clock accurate rather than firmware-preset.

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>",
      "duration_s": "<duration_s>"
    },
    "name": "flipper_hold_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
duration_sYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the mechanism (explicit press then release events) and the consequence (wall-clock accurate hold rather than firmware preset), which is meaningful for a mutating input tool. It does not say what happens if the call fails or is interrupted mid-hold, so the release guarantee under error is unstated.

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?

Two short sentences, action first, rationale second. Nothing is repeated and the release behavior is front-loaded.

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?

The tool is simple and an output schema exists, so return values need no explanation, but with 0% schema coverage the definition leaves the key-value vocabulary and the bounds rationale (0–30 s in schema) unaddressed. An agent still has to guess what strings are acceptable for 'key'.

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 0%, so the description must carry parameter meaning. It does clarify that duration_s is in seconds, but says nothing about the valid format of 'key' (e.g., key names vs. characters), which is the more ambiguous parameter.

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?

States a specific verb and resource with scope: 'Press and hold a key for duration_s seconds, then release.' The 'hold for a duration' framing implicitly separates it from a plain press sibling like flipper_press_key, but no sibling is named explicitly.

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 only implied — an agent can infer this is the tool for timed holds rather than instantaneous presses. There is no explicit when-to-use/when-not guidance and no mention of alternatives such as flipper_press_key.

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