Flash + monitor embedded targets over two backends — probe-rs (JTAG/SWD + RTT/semihosting; any probe-rs target: STM32, nRF, RP2350, ESP Xtensa+RISC-V, …) and espflash (UART; ESP only).
flashprobe-mcp has well-structured tool definitions with complete input schemas and descriptions for all 11 tools. Naming follows verb_noun convention (flash, monitor, erase_flash, etc.). However, descriptions are inconsistent in depth, some tools like flash_monitor have rich parameter docs (15 params, each described), while others like list_ports are minimal. Output schemas are not documented, and error handling guidance is absent. No tool annotations (readOnlyHint/destructiveHint) despite clear risk levels. Parameter descriptions are generally good but lack format constraints (e.g., regex patterns for 'stop', 'grep', 'module' are not specified). The server instructions are comprehensive but do not compensate for missing per-tool output documentation.
Compute MD5 checksum of flash region (espflash/serial backend)
Get chip information (espflash/serial backend)
Erase entire flash (espflash/serial backend)
Erase a flash region (espflash/serial backend)
Flash firmware (no monitor)
Flash, then capture from boot
List available serial ports (espflash/serial backend)
Attach + capture only
Output schemas not documented. Tools return structured data but LLMs cannot plan downstream calls without knowing response fields. E.g., flash_monitor returns captured output, but format (text vs. JSON), field names, and pagination are undocumented.
Tool annotations missing. Tools have explicit risk levels (WRITE, DESTRUCTIVE, READ_ONLY) but do not declare readOnlyHint, destructiveHint, or idempotentHint in schema. Agents cannot infer safety properties.
Minimal descriptions for utility tools. list_ports (40 chars), chip_info (60 chars), erase_flash (60 chars) lack context on when to call them vs. alternatives. Baseline for A+ tools is 50-200 chars; these fall short.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | <=2025-11-25 | v2 |
Read flash contents (espflash/serial backend)
Reset + capture (no reflash); repeat>1 for flaky-bug runs
Reset the device (espflash/serial backend)
Parameter format constraints not specified. 'stop' and 'grep' accept regex patterns, 'module' is a regex filter, but no pattern field or format hint in schema. LLMs may pass invalid regex.
No error recovery guidance. Tools can fail (port not found, chip not detected, flash timeout) but descriptions do not explain what to do next. E.g., 'port auto-detected if not provided', what if auto-detection fails?