Skip to main content
Glama

inspect_qnx_trace

Read-onlyIdempotent

Analyze QNX SDP 8.0 kernel traces to detect IPC deadlocks, priority inversions, and WCET deadline risks, then generate C remediation patches.

Instructions

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.

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": "inspect_qnx_trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
kevBase64NoBase64-encoded binary QNX .kev trace buffer (QNXKEV80).
tracePathNoPath to a .trace / .json / .kev file, or built-in fixture name (adas_ipc_deadlock, ventilator_prio_inversion, industrial_ethercat_jitter, healthy_baseline).
minHighPrioNoMinimum QNX real-time priority treated as high-priority waiter (default: 50).
traceContentNoRaw QNX traceprinter text log or qnx-trace-v1 JSON string.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that the analyses are deterministic and enumerates the four checks performed, but says nothing about relative cost/latency of the full suite, trace size limits, or whether all analyzers always run. With annotations doing the heavy lifting, this is adequate but thin.

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?

A single front-loaded sentence with the action and scope first and the analyzer list in a parenthetical. Dense but every clause carries information; the only strain is the packed parenthetical enumeration.

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

Completeness3/5

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

There is no output schema, so the description should hint at result shape; it implies findings plus C remediation patches but not structure or severity. More importantly, all four parameters are optional, yet the description never states that at least one input (kevBase64, tracePath, or traceContent) must be supplied, leaving a real invocation ambiguity unresolved.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all four parameters are already documented, including the minHighPrio default of 50 and the fixture names. The description's mention of "traceprinter log, JSON trace, or binary .kev capture" restates the three input channels without adding format constraints or precedence rules. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb ("Run") plus a precisely bounded resource: all four named QNX SDP 8.0 analyzers, enumerated by what they detect (IPC deadlock cycles, priority inversions, WCET/IST p99, remediation patches). The word "all" implicitly separates it from the single-purpose siblings, but no sibling is named, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the full-suite call versus the narrower audit_priority_inversions / audit_wcet_deadlines / detect_ipc_deadlocks tools. There is no explicit when-to-use, when-not-to-use, or cost trade-off guidance for running all four analyzers instead of one.

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