Skip to main content
Glama

spectrum_sweep

Sweep a frequency range to produce a spectrum plot and list signals above the noise floor, each tagged with its likely band allocation.

Instructions

Sweep a frequency range and return a spectrum plot plus a list of signals above the noise floor, each tagged with the likely band allocation. bin_khz = resolution (0 = auto). A full 24-1700 MHz sweep takes ~30-60 s.

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": {
      "start_mhz": "<start_mhz>",
      "stop_mhz": "<stop_mhz>"
    },
    "name": "spectrum_sweep"
  }
}

Input Schema

NameRequiredDescriptionDefault
bin_khzNo
stop_mhzYes
start_mhzYes
threshold_dbNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does add genuinely useful behavior: the ~30-60 s runtime for a full 24-1700 MHz sweep, the auto-resolution behavior, and the shape of the return (plot plus tagged signal list). It omits whether the call blocks, hardware/device prerequisites, failure modes for an unavailable radio, and whether the sweep can be interrupted.

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 dense sentences, front-loaded with what the tool returns, then the parameter hint, then the cost warning. No filler and no repetition of structured data beyond the one clarifying gloss on bin_khz.

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?

For a 4-parameter tool with no annotations and no output schema, the description covers output shape and latency well, but leaves two of four parameters and all operational preconditions (device availability, blocking behavior, error cases) undocumented.

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 it only partly does. bin_khz is well explained ('resolution (0 = auto)'), but start_mhz, stop_mhz and especially threshold_db (default 7, unit and reference point unstated — presumably dB above the noise floor) are left entirely to the bare schema titles.

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 concrete verb and resource ('Sweep a frequency range') and enumerates both outputs: a spectrum plot and a noise-floor-filtered signal list tagged with band allocations. That output description distinguishes it in spirit from plotting/streaming siblings like waterfall or listen, though no sibling is named.

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?

Usage is only implied: an agent can infer this is the discovery/scan step that precedes decoding or listening, but the description never says when to pick this over waterfall or listen, nor when not to use it (e.g. narrow-band monitoring).

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