Skip to main content
Glama
ZeroStack RF Diagnostics MCP

ZeroStack RF Diagnostics MCP

Official

check_coordinator_capacity

Read-onlyIdempotent

Calculates Zigbee coordinator slot utilization, pendAll promotion threshold, and SRAM headroom from device counts and chip family to size mesh topology and plan capacity.

Instructions

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.

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": {
      "device_count": "<device_count>",
      "sleepy_zed_count": "<sleepy_zed_count>",
      "chip_family": "<chip_family>"
    },
    "name": "check_coordinator_capacity"
  }
}

Input Schema

NameRequiredDescriptionDefault
chip_familyYesCoordinator SoC family or SMLIGHT model identifier (case-insensitive). Accepted TI SimpleLink F2 values (incl. U variants): `'F2_CC1352_CC2652'`, `'F2'`, `'CC2652P'`, `'CC2652P7'`, `'CC1352P7'`, `'CC2674P10'`, `'P7'`, `'P10'`, `'SLZB-06'`, `'SLZB-MR2'`, `'SLZB-06P7'`, `'SLZB-07P7'`, `'SLZB-MR1'`, `'SLZB-06P10'`, `'SLZB-07P10'`, `'SLZB-MR3'`, `'SLZB-MR4'`, `'SLZB-MRW10'`, `'SLZB-Ultima'`. Accepted Silicon Labs EFR32 values: `'SILABS_EFR32'`, `'EFR32'`, `'EFR32MG21'`, `'EFR32MG24'`, `'MG21'`, `'MG24'`, `'SILABS'`, `'EMBER'`, `'SLZB-06M'`, `'SLZB-06Mg24'`.
device_countYesTotal Zigbee nodes joined to the mesh network (mains-powered routers + battery-powered sleepy end devices, excluding the coordinator itself). Must be an integer >= 0 and >= `sleepy_zed_count`.
sleepy_zed_countYesNumber of battery-powered / RX-off-when-idle Zigbee End Devices (ZEDs) directly parented to the coordinator that occupy hardware indirect-queue slots. Must satisfy `0 <= sleepy_zed_count <= device_count`.

Output Schema

NameRequiredDescriptionDefault
releaseYes
chip_familyYes
device_countYes
router_countYes
marketing_urlYes
sleepy_zed_countYes
zeroStackDiagUrlYes
documentation_urlYes
pend_all_behaviorYes
ram_heap_headroomYes
coordinator_platformYes
zerostack_repositoryYes
srcmatch_hardware_tableYes
zerostack_support_statusNo
interactive_web_analyzer_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.9.11
    • changedInput schema / properties / chip_family / description
      Previous value: -"Coordinator SoC family or SMLIGHT model identifier (case-insensitive). Accepted TI SimpleLink F2 values: `'F2_CC1352_CC2652'`, `'F2'`, `'CC2652P'`, `'CC2652P7'`, `'CC1352P7'`, `'CC2674P10'`, `'P7'`, `'P10'`, `'SLZB-06'`, `'SLZB-06U'`, `'SLZB-06P7'`, `'SLZB-06P7U'`, `'SLZB-06P7v1'`, `'SLZB-07P7'`, `'SLZB-06P10'`, `'SLZB-07P10'`. Accepted Silicon Labs EFR32 values: `'SILABS_EFR32'`, `'EFR32'`, `'EFR32MG21'`, `'EFR32MG24'`, `'MG21'`, `'MG24'`, `'SILABS'`, `'EMBER'`, `'SLZB-06M'`, `'SLZB-06Mg24'`."New value: +"Coordinator SoC family or SMLIGHT model identifier (case-insensitive). Accepted TI SimpleLink F2 values (incl. U variants): `'F2_CC1352_CC2652'`, `'F2'`, `'CC2652P'`, `'CC2652P7'`, `'CC1352P7'`, `'CC2674P10'`, `'P7'`, `'P10'`, `'SLZB-06'`, `'SLZB-MR2'`, `'SLZB-06P7'`, `'SLZB-07P7'`, `'SLZB-MR1'`, `'SLZB-06P10'`, `'SLZB-07P10'`, `'SLZB-MR3'`, `'SLZB-MR4'`, `'SLZB-MRW10'`, `'SLZB-Ultima'`. Accepted Silicon Labs EFR32 values: `'SILABS_EFR32'`, `'EFR32'`, `'EFR32MG21'`, `'EFR32MG24'`, `'MG21'`, `'MG24'`, `'SILABS'`, `'EMBER'`, `'SLZB-06M'`, `'SLZB-06Mg24'`."
    • changedInput schema / properties / sleepy_zed_count / description
      Previous value: -"Number of battery-powered / RX-off-when-idle Zigbee End Devices (ZEDs) directly parented to the coordinator that occupy hardware `SrcMatch` indirect-queue slots. Must satisfy `0 <= sleepy_zed_count <= device_count`."New value: +"Number of battery-powered / RX-off-when-idle Zigbee End Devices (ZEDs) directly parented to the coordinator that occupy hardware indirect-queue slots. Must satisfy `0 <= sleepy_zed_count <= device_count`."
    • removedOutput schema / $defs / RamHeapHeadroom / properties / indirect_queue_pool_cap_pct
      Removed value: -{
      -  "title": "Indirect Queue Pool Cap Pct",
      -  "type": "integer"
      -}
    • removedOutput schema / $defs / RamHeapHeadroom / properties / max_indirect_frames_per_child
      Removed value: -{
      -  "title": "Max Indirect Frames Per Child",
      -  "type": "integer"
      -}
  2. Changed8 schema fields changedv0.1.1
    • addedInput schema / properties / chip_family / description
      Added value: +"Coordinator SoC family or SMLIGHT model identifier (case-insensitive). Accepted TI SimpleLink F2 values: `'F2_CC1352_CC2652'`, `'F2'`, `'CC2652P'`, `'CC2652P7'`, `'CC1352P7'`, `'CC2674P10'`, `'P7'`, `'P10'`, `'SLZB-06'`, `'SLZB-06U'`, `'SLZB-06P7'`, `'SLZB-06P7U'`, `'SLZB-06P7v1'`, `'SLZB-07P7'`, `'SLZB-06P10'`, `'SLZB-07P10'`. Accepted Silicon Labs EFR32 values: `'SILABS_EFR32'`, `'EFR32'`, `'EFR32MG21'`, `'EFR32MG24'`, `'MG21'`, `'MG24'`, `'SILABS'`, `'EMBER'`, `'SLZB-06M'`, `'SLZB-06Mg24'`."
    • addedInput schema / properties / chip_family / examples
      Added value: +[
      +  "F2_CC1352_CC2652",
      +  "SLZB-06P7",
      +  "SLZB-06P10",
      +  "SILABS_EFR32",
      +  "EFR32MG21"
      +]
    • addedInput schema / properties / device_count / description
      Added value: +"Total Zigbee nodes joined to the mesh network (mains-powered routers + battery-powered sleepy end devices, excluding the coordinator itself). Must be an integer >= 0 and >= `sleepy_zed_count`."
    • addedInput schema / properties / device_count / examples
      Added value: +[
      +  45,
      +  120,
      +  180
      +]
    • addedInput schema / properties / device_count / minimum
      Added value: +0
    • addedInput schema / properties / sleepy_zed_count / description
      Added value: +"Number of battery-powered / RX-off-when-idle Zigbee End Devices (ZEDs) directly parented to the coordinator that occupy hardware `SrcMatch` indirect-queue slots. Must satisfy `0 <= sleepy_zed_count <= device_count`."
    • addedInput schema / properties / sleepy_zed_count / examples
      Added value: +[
      +  20,
      +  36
      +]
    • addedInput schema / properties / sleepy_zed_count / minimum
      Added value: +0
  3. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful behavior beyond annotations: deterministic offline execution, derivation of router_count from device_count and sleepy_zed_count, and precise ValueError conditions. It does not expand on return-value semantics, but an output schema is present.

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?

The description is front-loaded with the core calculation, then organized into clear When to use and Behavior sections. It is dense but each sentence contributes specific scope, exclusions, formulas, or error conditions, with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a three-parameter capacity-planning calculation with rich annotations, full schema coverage, and an output schema, the description supplies the purpose, usage boundaries, sibling exclusions, deterministic offline behavior, derived value, and validation errors. Nothing essential for correct invocation appears missing.

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 100%, so the baseline is 3 and the schema does most parameter documentation. The description adds semantic meaning beyond the schema by explaining that sleepy ZEDs occupy hardware indirect-queue slots, that router_count is derived as device_count minus sleepy_zed_count, and by restating validation relationships that trigger ValueError; chip_family receives no extra semantic detail beyond accepted values already listed in the schema.

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?

Starts with a specific verb, "Calculate," and names the exact resource metrics computed: source-matching slot utilization, pendAll threshold, and SRAM headroom. It also explicitly differentiates the tool from three sibling tools in the Do NOT use section, so an agent can identify both what it does and what it does not do.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use guidance tied to the three input parameters and the capacity-planning scenarios it supports. It also gives explicit exclusions by naming analyze_zigbee_thread_log, decode_silicon_register, and get_zerostack_benchmarks, leaving little ambiguity about tool selection.

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