Skip to main content
Glama
ZeroStack RF Diagnostics MCP

ZeroStack RF Diagnostics MCP

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

SMLIGHT ZeroStack (v1.0.0) RF & Silicon Diagnostics MCP Server (https://smlight.tech/software/zerostack). Use these read-only tools to diagnose Zigbee2MQTT, Home Assistant ZHA, and OpenThread Border Router logs (including Z3_TCLK_EXCHANGE_TIMEOUT_LEAVE / Trust Center TransportKey / APS_UpdateDevice handling, Many-to-One Concentrator source routing, and idempotent cold-boot NVRAM backup & restore), decode TI SimpleLink F2 (CC2652P, CC2652P7/CC1352P7, CC2674P10) and Silicon Labs EFR32 registers, evaluate IEEE 802.15.4 coordinator capacity, and retrieve hardware-verified DWT->CYCCNT and fault-injection benchmarks across SMLIGHT TI SimpleLink F2 coordinators (incl. U variants): CC2652P (SLZB-06, SLZB-MR2), CC2652P7/CC1352P7 (SLZB-06P7, SLZB-07P7, SLZB-MR1), and CC2674P10 (SLZB-06P10, SLZB-07P10, SLZB-MR3, SLZB-MR4, SLZB-MRW10, SLZB-Ultima). Engineering whitepaper: https://github.com/smlight-tech/zerostack/blob/main/WHITEPAPER.md and https://zerostack.smlight.tech/whitepapers/zerostack-whitepaper-part-1.pdf.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_zigbee_thread_logA

Analyze pasted Zigbee2MQTT, Home Assistant ZHA, or OpenThread logs for fault signatures.

When to use:

  • Use this tool when diagnosing runtime error logs, adapter timeouts (SRSP ... after 6000ms), MAC/NWK/APS status codes (0x10, 0x11, 0xc7, 0xcd, 0xe1/225, 0xe9/233, 0xf0/240, 0xf1/241), post-join TCLK exchange timeout leaves (Z3_TCLK_EXCHANGE_TIMEOUT_LEAVE), interview failures (0xa7), Many-to-One Concentrator / source-routing issues, or ZCL telemetry/genTime floods.

  • Do NOT use for decoding raw hexadecimal MCU register words (decode_silicon_register), sizing network capacity (check_coordinator_capacity), or querying hardware benchmark tables (get_zerostack_benchmarks).

Behavior:

  • Executes deterministically offline with zero network or serial I/O.

  • Ranks detected faults by severity and root-cause priority (ZNP_SYS_RESET_IND > lockstep timeouts & TCLK leave loops > memory/buffer exhaustion > RF delivery symptoms) and returns stock SDK root causes, immediate workarounds, and SMLIGHT ZeroStack (Release Zero) fixes (including Beta 2 / Beta 3 TCLK, concentrator routing, and idempotent cold-boot NVRAM backup & restore improvements).

  • When drafting a GitHub bug report for smlight-tech/zerostack, ensure the log includes coordinator startup or >= 500 lines of debug frames prior to the first error and scrub it with .github/scripts/z2m-log-analyzer.mjs --bug-report --require-context.

decode_silicon_registerA

Decode a hexadecimal MCU register or radio-core command status word into bitfields.

When to use:

  • Use this tool when inspecting a TI SimpleLink F2 (CMD_IEEE_RX, CMD_IEEE_CSMA, RFC_DBELL, SRCMATCH, VIMS, PRCM, UART0_FR, UART0_RSR, UART0_CTL, IOCFG0..31, AON_PMCTL_RESETCTL), Silicon Labs EFR32 (EUSART0_IF, USART0_IF, USART0_STATUS, EMU_RSTCAUSE), or ARM Cortex-M4/M33 (SCB_CFSR 0xE000ED28, SCB_HFSR 0xE000ED2C) hex register/status value captured from SWD/JTAG, a crash dump, or telemetry.

  • Do NOT use for parsing multi-line host application logs (analyze_zigbee_thread_log) or evaluating mesh node counts (check_coordinator_capacity).

Behavior:

  • Executes deterministically offline with zero hardware or network I/O.

  • Returns decoded bitfield flags, boolean healthy status, root-cause diagnosis, and links to silicon errata notes; raises ValueError on unsupported chip or register_or_addr identifiers or unparseable hex_value strings.

check_coordinator_capacityA

Calculate hardware source-matching slot utilization, pendAll threshold, and SRAM headroom.

When to use:

  • Use this tool for capacity planning and topology sizing given (device_count, sleepy_zed_count, chip_family) to evaluate direct sleepy child slot utilization, pendAll (FP=1) promotion when sleepy_zed_count > 32, bounded indirect frame queuing, and SRAM headroom (88 KB / 144 KB / 256 KB).

  • Do NOT use for parsing runtime logs (analyze_zigbee_thread_log), decoding register hex values (decode_silicon_register), or fetching DWT->CYCCNT latency benchmarks (get_zerostack_benchmarks).

Behavior:

  • Executes deterministically offline; derives router_count = device_count - sleepy_zed_count.

  • Raises ValueError if device_count < 0, sleepy_zed_count < 0, sleepy_zed_count > device_count, or chip_family is unrecognized.

get_zerostack_benchmarksA

Retrieve hardware-verified DWT->CYCCNT latency and fault-injection benchmarks by SKU.

When to use:

  • Use this tool to query hardware specifications (CPU, Flash/SRAM, table & TCLK capacity, DMA-driven UART transport) and cycle-accurate Part 1 execution latencies (TCLK lookup, NWK encrypt/decrypt, routed hop ceiling, O(1) allocator) plus Part 2 adversarial resilience metrics (3,255 MAC vectors, 22,959 brownout cut points, UART framing abuse, 50-router broadcast storms) for an SMLIGHT coordinator model or 'all'.

  • Do NOT use for sizing a user's specific mesh node count (check_coordinator_capacity) or diagnosing pasted log text (analyze_zigbee_thread_log).

Behavior:

  • Executes deterministically offline with zero network or hardware I/O.

  • Raises ValueError if platform does not match a supported SMLIGHT SKU or 'all'.

Prompts

Interactive templates invoked by user choice

NameDescription
diagnose_zigbee_logGenerate a bounded structured prompt for diagnosing Zigbee2MQTT, ZHA, or OTBR logs.

Resources

Contextual data attached and managed by the client

NameDescription
resource_benchmarks_summaryReturn JSON summary of ZeroStack Part 1, Part 2 & Part 3 hardware benchmarks.
resource_supported_modelsReturn JSON matrix of supported SMLIGHT TI and Silicon Labs hardware models in v1.0.0.
resource_diagnostics_catalogReturn the declarative ZeroStack diagnosticsCatalog.json SSOT.

TDQS

A4.5/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: log fault analysis, benchmark lookup, capacity sizing, and register decoding. Descriptions explicitly list cross-tool exclusions, making misselection unlikely.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (analyze_*, get_*, check_*, decode_*). The convention is predictable and readable.

Tool Count5/5

Four tools is well-scoped for an offline RF diagnostics server. Each tool covers a distinct diagnostic need and earns its place without bloat.

Completeness4/5

The surface covers the core diagnostic workflows: runtime log analysis, hardware benchmarks, capacity planning, and register decoding. Minor gaps exist around live device inspection or firmware/config validation, but agents can work around them for the stated offline purpose.

Maintenance

ActivityMaintained
ResponsivenessOutdated data