Skip to main content
Glama
flipper-mcp
by jamiew

scan_and_identify

Read-only

Scan a SubGHz frequency for a set duration, capture transmissions, and fingerprint them against known protocols to return decoded matches plus raw output for review.

Instructions

Listen on SubGHz, then fingerprint the capture against the registry.

One-shot workflow: runs subghz rx, collects output for duration_s, stops the scan, then matches the output against every known SubGHz protocol. Returns both the raw text (for human review) and the structured matches with decoded fields and metadata.

device: 0 = internal CC1101, 1 = external CC1101 module. If unset, falls back to the FLIPPER_DEFAULT_DEVICE env var (default 0).

Examples: frequency_hz=433920000 duration_s=15 # common key fobs / garage remotes frequency_hz=315000000 duration_s=15 # older US garage / gate remotes frequency_hz=868000000 duration_s=15 # EU ISM (smart meters, alarms)

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": "scan_and_identify"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNo
duration_sNo
frequency_hzYes

Output Schema

NameRequiredDescriptionDefault
deviceYes
matchesYes
duration_sYes
raw_outputYes
match_countYes
frequency_hzYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only say readOnlyHint and openWorldHint; the description adds meaningful behavior: the scan runs for `duration_s`, the radio is stopped afterwards, output is matched against *every* known protocol, and both raw text and structured matches come back. The device-resolution fallback to the FLIPPER_DEFAULT_DEVICE env var is real operational detail not present in the schema. It does not mention what happens on no signal or whether the radio is busy during the capture, so it is not exhaustive.

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-loaded with the core action, then params, then examples — a sound order. The sentence describing return values is partly redundant given an output schema exists, but the rest of the text is dense and earns its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter, hardware-touching tool with an output schema available, the description covers the workflow, the device selector, the capture duration, and frequency selection with realistic examples. Nothing essential to invoking it correctly is missing, since return-value shape is documented by the output schema.

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?

With 0% schema description coverage, the description carries the load and mostly does: it defines the `device` enum semantics (0 = internal CC1101, 1 = external module) and the env-var fallback, and the examples convey that `frequency_hz` is in Hz and `duration_s` is capture seconds. It omits the actual valid frequency range (281–962 MHz) and the 600 s duration cap, which an agent would have to read from the schema.

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 opening line states a specific verb and resource ('Listen on SubGHz, then fingerprint the capture against the registry') and the body names the exact sequence (`subghz rx` → collect → stop → match). It is clearly distinguishable from the sibling `ir_scan_and_identify` because the band and protocol registry are explicit.

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 labels itself a 'One-shot workflow' and implies the alternative is running `subghz rx` manually, plus the three frequency examples show concrete use contexts (key fobs, US garage remotes, EU ISM). It stops short of an explicit 'use X instead when you only need raw capture' exclusion, so it is not a full 5.

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