Skip to main content
Glama

BLE Sniffer Status

ble_sniff_status
Read-onlyIdempotent

Check whether off-device BLE capture is possible right now. Lists attached sniffer dongles, plugin resolution, missing requirements, and active captures, so you can confirm readiness before sniffing.

Instructions

Report whether an off-device BLE capture is possible right now.

Lists attached sniffer dongles, whether Nordic's nrfutil-ble-sniffer plugin resolved, and captures already running; always registered, so it works with no dongle. transmit_supported is always false: the sniffer cannot transmit, so there is no BLE counterpart to inject_frame. See docs/ble-sniffer.md.

Returns {ready, sniffers: [{port, vid, pid, serial_number}], sniffer_bin, missing, hint, capture_dir, transmit_supported, active_captures: [{job_id, port, pcap_path}]}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ble_sniff_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
hintYeshow to get what is missing
readyYes
missingYes
sniffersYes
capture_dirYes
sniffer_binYes
active_capturesYes
transmit_supportedYesalways false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, so the bar is lower. The description still adds real context beyond them: the tool is always registered even without hardware, it detects `nrfutil-ble-sniffer` plugin resolution, and it discloses that `transmit_supported` is always false, which prevents an agent from expecting BLE transmission capabilities.

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 question the tool answers, followed by supporting behavior and a return-shape line. The final line enumerates return keys that an output schema already covers, which is the one place the text does not fully earn its space, but the rest is tight and free of filler.

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?

Given a zero-parameter, read-only status tool with an output schema, the description supplies enough to call it correctly and interpret the primary `ready` and `transmit_supported` signals. The meanings of secondary keys such as `missing` and `hint` are left to the output schema, which is acceptable but slightly thin for a diagnostic tool.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline is 4. The description correctly avoids inventing inputs and instead spends its space on the readiness signal and returned fields.

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 first line states a specific verb and resource: report whether an off-device BLE capture is currently possible. It also distinguishes the tool from a named sibling by noting there is no BLE counterpart to `inject_frame`, so an agent can tell what this does and does not do without opening any schema.

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?

The description gives a clear calling context (check readiness before attempting an off-device BLE capture) and explicitly notes the tool is always registered and works with no dongle attached, which tells the agent it is safe to probe before hardware is present. It stops short of naming alternatives such as `recorder_status` or an actual capture tool, so when-not-to-use guidance is only implied.

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