Skip to main content
Glama

audit_wcet_deadlines

Read-onlyIdempotent

Analyze QNX .kev traces to compute READY→RUNNING latency percentiles, IST response times, WCET overruns, APS budget starvation, and pulse queue saturation for deadline audits.

Instructions

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.

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

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).
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.2/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 safety profile is covered. The description adds the analytical scope (which latency/failure classes are quantified), but says nothing about output shape, whether trace input is mandatory, or how large traces are handled.

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?

One front-loaded sentence with the verb first and the metric list following; every clause names a distinct computed quantity. It is dense but not padded.

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's metric list does partial duty in conveying what comes back. However, for a diagnostic tool with three optional-but-effectively-mandatory inputs, the absence of any statement about input requirements or report structure leaves a real gap.

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%, and the three input parameters are documented including the built-in fixture names, so the schema carries the semantics. The description contributes no additional hints such as input precedence when multiple sources are given; 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?

A specific verb ("Compute") paired with a detailed enumeration of the metrics produced — p50/p95/p99/max READY->RUNNING latency, IST response, WCET overruns, APS budget starvation, pulse queue saturation. This makes the tool's domain distinguishable from siblings like detect_ipc_deadlocks or audit_priority_inversions, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

The description never states when to reach for this audit versus inspect_qnx_trace or the other audit tools, nor does it state the precondition that at least one of kevBase64/tracePath/traceContent must be supplied despite zero required parameters. The intended use case is only inferable from the metric list.

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