Skip to main content
Glama

listen

Demodulate a specified frequency across WFM, NFM, AM, USB, or LSB; save audio as WAV, optionally transcribe speech, and return a spectrogram to identify speech, music, tones, or data signals.

Instructions

Demodulate a frequency, save a WAV, transcribe speech (whisper.cpp, if installed) and return an audio spectrogram (shows speech vs music vs tones vs data like AFSK/POCSAG/DMR). mode: wfm (broadcast FM), nfm (walkie-talkies, ham, land mobile), am (aviation, CB), usb, lsb. seconds 3-60. squelch: rtl_fm squelch level (0 = off; ~50-200 for two-way radio).

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": {
      "freq_mhz": "<freq_mhz>"
    },
    "name": "listen"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNowfm
secondsNo
squelchNo
freq_mhzYes
languageNoauto
transcribeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the side effect of writing a WAV, a conditional dependency (whisper.cpp, if installed), the seconds range 3-60, and that squelch 0 means off. Gaps remain on where files land, expected latency given the 12s default, and hardware/rtl_fm prerequisites.

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 and outputs, then parameter guidance; every clause carries information. The compressed run-on phrasing ('mode: wfm ..., nfm ...') is dense but functional rather than padded.

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 six-parameter capture tool with no annotations and no output schema, the description covers what the tool produces (WAV, transcription, spectrogram) and the constraints that matter. Remaining gaps are secondary details (artifact paths, runtime, radio hardware requirements) rather than anything that would cause a mis-call.

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?

Schema description coverage is 0%, so the description must compensate, and it does for the highest-risk parameters: mode gains five named values absent from the schema, seconds gains a 3-60 bound, and squelch gains a concrete level scale. It leaves language (valid values, default 'auto') and transcribe's default behavior unexplained, so compensation is substantial but incomplete.

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 chain of actions on a specific resource: demodulate a frequency, save a WAV, transcribe speech, and return a spectrogram. The mention of data modes (AFSK/POCSAG/DMR) hints at a boundary with decode tools, but no sibling (spectrum_sweep, waterfall, decode_devices) is named, so differentiation is left to inference.

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 mode-to-service mapping (wfm = broadcast FM, nfm = walkie-talkies/ham, am = aviation/CB) gives strong guidance on choosing a mode, but that is parameter-level guidance. There is no statement of when to call listen versus spectrum_sweep, waterfall, or decode_devices, which is exactly the ambiguity an agent faces here.

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