Skip to main content
Glama

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.

QNX Neutrino SDP 8.0 Kernel Trace (.kev / traceprinter / qnx-trace-v1 JSON) deterministic diagnostic MCP server. How to analyze a QNX trace:

  1. Pass traceContent (raw traceprinter log or JSON), tracePath (local file path or built-in fixture name: adas_ipc_deadlock, ventilator_prio_inversion, industrial_ethercat_jitter, healthy_baseline), or kevBase64 (base64-encoded QNXKEV80 binary .kev capture).

  2. Call inspect_qnx_trace for a complete report combining IPC/mutex deadlock cycles, unbounded priority inversions, hard-RT p50/p95/p99 WCET & IST latency, and ready-to-apply QNX SDP 8.0 C remediation diffs.

  3. Call detect_ipc_deadlocks, audit_priority_inversions, or audit_wcet_deadlines for targeted subsystem checks.

  4. Read qnx://reference/neutrino-constants or qnx://fixtures/ via resources/read to inspect authentic <sys/states.h> / <sys/neutrino.h> bitmasks and sample traces.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
inspect_qnx_traceB

Run all 4 deterministic QNX SDP 8.0 analyzers (IPC deadlock cycles, unbounded priority inversions, hard-RT WCET/IST p99 deadlines, and C remediation patches) on a traceprinter log, JSON trace, or binary .kev capture.

detect_ipc_deadlocksB

Reconstruct the live QNX Neutrino (pid, tid) -> chid -> owner_pid Wait-For Graph across STATE_SEND, STATE_REPLY, and STATE_MUTEX, extracting minimal Tarjan/Johnson deadlock cycles and MsgDeliverEvent/SIGEV_PULSE fixes.

audit_priority_inversionsA

Detect unbounded priority inversions where high-priority SCHED_FIFO threads block in STATE_REPLY or STATE_MUTEX while medium-priority threads preempt unboosted servers (_NTO_CHF_FIXED_PRIORITY or missing PTHREAD_PRIO_INHERIT).

audit_wcet_deadlinesB

Compute p50/p95/p99/max READY->RUNNING scheduling latency, Interrupt Service Thread (IST) response times, handler WCET overruns, APS partition budget starvation, and QNX pulse queue saturation.

Prompts

Interactive templates invoked by user choice

NameDescription
diagnose-qnx-deadlock-and-inversionGuided workflow to inspect a QNX SDP 8.0 .kev or traceprinter capture for STATE_SEND/STATE_REPLY callback deadlocks and _NTO_CHF_FIXED_PRIORITY priority inversions, producing C patches.
audit-qnx-hard-rt-wcetAudit Interrupt Service Thread (IST) dispatch p99 latency, handler WCET overruns, APS partition starvation, and pulse queue drops on a QNX 8.0 capture.

Resources

Contextual data attached and managed by the client

NameDescription
QNX Neutrino SDP 8.0 Kernel States, Channel Flags & Trace ConstantsReference JSON mapping <sys/states.h> thread states, <sys/neutrino.h> ChannelCreate flags (_NTO_CHF_FIXED_PRIORITY), pulse codes, scheduling policies, and KEV event IDs.
Sample Trace: 3-Node ADAS Synchronous MsgSend Callback DeadlockQNX 8.0 traceprinter capture demonstrating SensorFusion -> PathPlanner -> BrakeActuator IPC cycle.
Sample Trace: ICU Ventilator 14.2ms Unbounded Priority InversionQNX 8.0 traceprinter capture where _NTO_CHF_FIXED_PRIORITY (0x0001) disables priority inheritance on a SPI sensor resource manager.
Sample Trace: Industrial EtherCAT 1ms Cyclic IST Jitter & APS StarvationQNX 8.0 traceprinter capture showing p99 dispatch breach, WCET overrun, Fieldbus_RT APS exhaustion, and SND_PULSE_DIS.
Sample Trace: Healthy Dual-Core QNX 8.0 BaselineRemediated QNX 8.0 reference trace with dynamic priority inheritance boost and 100% RT deadlines met.

TDQS

B3.4/5.0

Scored across 4 tools

Disambiguation4/5

Three tools cleanly map to distinct analysis domains (deadlock, priority inversion, WCET), and inspect_qnx_trace is explicitly documented as running all analyzers plus remediation. The only overlap is that the aggregate is a superset of the other three, so an agent must decide between run-all versus drill-down, but descriptions make that choice clear.

Naming Consistency4/5

All names are snake_case verb_noun constructions, which is consistent and predictable. The verbs vary (inspect/detect/audit) rather than following one canonical verb, but each choice reads naturally for its action.

Tool Count4/5

Four tools is a tight, focused surface for a trace-inspection server, and the aggregate-plus-three-analyzers structure is well scoped. It sits at the thin end of the ideal range, with the aggregate arguably duplicating the other three.

Completeness3/5

The core analysis domain (deadlocks, priority inversion, WCET, remediation) is covered, but there are notable gaps: no standalone remediation/patch tool despite patches being advertised, and no trace discovery/validation, report export, or trace comparison operations. Agents hitting a non-parseable or unsupported trace format have no fallback path.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues