Skip to main content
Glama
flipper-mcp
by jamiew

subghz_decode_raw

Read-only

Replays a saved raw .sub capture through every registered Flipper decoder and reports matches, so you can identify signals from stored captures.

Instructions

Replay a raw .sub capture through the decoder and report matches.

subghz decode_raw is a streaming command on the Flipper: it plays the saved capture back in real time through every registered decoder and prints any hits. That means this tool takes at least as long as the original capture (bounded here by duration_s, default 15s).

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": {
      "sub_file_path": "<sub_file_path>"
    },
    "name": "subghz_decode_raw"
  }
}

Input Schema

NameRequiredDescriptionDefault
duration_sNo
sub_file_pathYes

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?

Annotations already declare readOnlyHint=true and openWorldHint=false, consistent with a file-to-decoder replay that performs no writes. Beyond that, the description discloses the important behavioral trait the annotations cannot: the command streams in real time, so latency is at least the capture's length and is capped by duration_s. Auth or failure behavior is not covered.

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 action is front-loaded in one sentence, followed by exactly the timing context an agent needs. The prose is economical with no filler; the multi-line formatting around short text is slightly heavier than necessary but harmless.

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?

With an output schema present, return values need no explanation, and the tool has only two parameters. The latency model and duration cap are well covered; the remaining gap is path semantics and any error conditions, which are minor for a small read-only tool.

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 well for duration_s, explaining it as an upper bound with a default of 15s relative to capture length, but says nothing about sub_file_path conventions (base directory, extension handling, existence requirements).

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 first sentence names a specific action and resource: replay a raw .sub capture through the decoder and report matches. That clearly separates it from transmit-style siblings such as subghz_tx_from_file or live receive tools like subghz_rx_raw, though no sibling is named explicitly to confirm the boundary.

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?

The description gives an implied selection criterion by explaining the call is long-running and bounded by duration_s (default 15s), which helps an agent judge cost. However, it never states when to prefer this over alternatives (e.g., live capture vs file replay) or any preconditions, leaving usage to inference.

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