Skip to main content
Glama
flipper-mcp
by jamiew

subghz_rx_raw

Read-only

Capture raw SubGHz pulse durations without decoding to inspect proprietary RKE or unusual framing signals.

Instructions

Capture raw pulse timings on a SubGHz frequency, no decoding.

Unlike subghz_rx (which only emits when a known protocol decodes), rx_raw dumps pulse durations continuously. Useful for signals the firmware can't decode — proprietary RKE, unusual framing, etc. The output is a stream of +<us> -<us> pairs representing pulse / gap durations in microseconds.

Note: the subghz rx_raw CLI command does not accept a device arg, so this always uses the internal CC1101.

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": {
      "frequency_hz": "<frequency_hz>"
    },
    "name": "subghz_rx_raw"
  }
}

Input Schema

NameRequiredDescriptionDefault
duration_sNo
frequency_hzYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantive behavior: continuous dumping rather than event-on-decode, the exact output shape (+<us> -<us> pairs), and the constraint that no device argument is accepted so the internal CC1101 is always used. It does not say what happens on timeout or how the stream terminates, which keeps it short of a 5.

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?

Front-loads the core capability in the first sentence and follows with differentiation, output format, and a caveat in descending order of importance. The prose is tight; the closing note is slightly digressive but earns its place by preventing a device-argument mistake.

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 needn't be explained, and the behavioral caveats and sibling contrast are well covered. However, for a capture tool the agent still lacks the practical facts that matter: what duration_s controls and what the valid frequency range is, which are absent from both schema and description.

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 carry parameter meaning and largely does not: duration_s (default 10, max 600) is never mentioned, and frequency_hz is only implied by 'a SubGHz frequency' with no valid range. The one bit of added meaning is that output timings are in microseconds, which describes the stream, not the inputs.

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?

States a specific verb and resource (capture raw pulse timings on a SubGHz frequency) plus the key qualifier 'no decoding'. It names the sibling subghz_rx and explains exactly how the output differs, so an agent can choose between them without opening either schema.

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

Usage Guidelines5/5

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

Explicitly says when to use it (signals the firmware can't decode — proprietary RKE, unusual framing) and contrasts it with the alternative subghz_rx, which only emits on a known protocol. Both the use case and the exclusion are stated outright.

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