Skip to main content
Glama
flipper-mcp
by jamiew

flipper_cli

Runs arbitrary Flipper Zero CLI commands as an escape hatch for operations without a dedicated tool.

Instructions

Run an arbitrary Flipper CLI command.

Escape hatch for commands without a dedicated tool. For streaming commands (subghz rx, ir rx, nfc detect) prefer the dedicated tool — it handles the Ctrl-C for you.

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": {
      "command": "<command>"
    },
    "name": "flipper_cli"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes
timeout_sNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that streaming commands need interruption handling it does not provide, which is real behavioral context. But it says nothing about the risk of executing arbitrary commands, permission/auth needs, or what happens on timeout — and timeout_s semantics are left to the schema.

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?

Three short clauses, front-loaded with the core purpose, then the fallback positioning, then the streaming exception. The parenthetical examples are the only elaboration and they earn their place by making the exclusion concrete.

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 no explanation. However, for a high-risk arbitrary-execution tool with zero annotation coverage and 0% parameter documentation, the description should say more about command syntax and failure/timeout behavior than it does.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 compensate and largely does not. It never explains the expected syntax of `command` (raw CLI string, quoting, argument separation) or the meaning of `timeout_s` beyond the schema's default of 10 and max of 120.

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 gives a specific verb and resource ("Run an arbitrary Flipper CLI command") and immediately positions it relative to siblings: it is an escape hatch for commands lacking a dedicated tool. An agent can distinguish it from flipper_press_key, ir_rx, or nfc_detect without opening any schema.

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 states when to use it (commands without a dedicated tool) and when not to (streaming commands: subghz rx, ir rx, nfc detect, which get Ctrl-C handling elsewhere). That is explicit routing guidance with named alternatives, though it does not address other edge cases such as commands that mutate device state.

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