Skip to main content
Glama
flipper-mcp
by jamiew

workflow_close_app

Closes any app currently running on the Flipper and returns to the main screen, clearing UI and radio ownership before direct CLI commands.

Instructions

Close any app currently running on the Flipper; return to main screen.

Useful as a prologue before direct-radio CLI commands (subghz rx, led, vibro) which fail with "app open" while any app owns the UI / radio.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "workflow_close_app"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, and the description is consistent with a non-destructive state change by explaining the post-condition (main screen) and the failure mode it prevents. It does not warn whether the closed app's unsaved state or in-progress work is lost, which is the key behavioral risk for a close-app operation.

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 action and its effect are front-loaded in the first sentence, and the second sentence supplies only the operational rationale that justifies reaching for this tool. The parenthetical CLI examples are compact and directly useful, with no filler.

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 zero-parameter, no-output-schema utility, the description covers purpose, effect, and the concrete situation that motivates calling it. It leaves open edge behavior such as what happens when no app is running, but nothing essential for correct invocation is missing.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description correctly implies no arguments are needed to select which app to close.

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 ("Close any app currently running on the Flipper") plus the resulting state ("return to main screen"), which is far beyond a tautology. It does not distinguish itself from the sibling `loader_close`, which plausibly overlaps, so it falls short of a 5.

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 an explicit triggering condition: run it as a prologue before direct-radio CLI commands (`subghz rx`, `led`, `vibro`) that fail with "app open". No when-not-to-use guidance or named alternative is given, so it is clear context rather than full routing.

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