Capture quality
capture_qualityAssess whether a capture supports loss and timing conclusions before treating retransmissions or missing packets as faults; reports drops, duplicates, truncation, and timestamp issues.
Instructions
Can loss and timing conclusions be drawn from this capture? Call it before
reading retransmissions or missing packets as network faults. It reports copies of one packet (with the
likely cause), capture drops versus network loss, truncated and oversized frames, checksum
offload, one-sided flows and timestamp problems, and verdict.loss_conclusions
(trustworthy, use with care or not trustworthy) with the reasons.
More detail: resource schema://tools/capture_quality.
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": {
"path": "<path>"
},
"name": "capture_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Same forms as start | |
| path | Yes | Capture file (absolute, in an allowed dir) or open_capture handle | |
| start | No | ISO 8601, epoch s, +Ns from start, -Ns from end | |
| redact | No | Replace subscriber identifiers in this result with tokens; ids+ips hides every IP too | off |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last | No | ||
| path | No | ||
| error | No | ||
| first | No | ||
| frames | No | ||
| window | No | ||
| verdict | No | keys: loss_conclusions, summary, reasons, notes | |
| checksums | No | keys: validated, bad, bad_by_sender, bad_tcp_data_segments, bad_tcp_segments_acknowledged, likely_offload, explanation | |
| one_sided | No | keys: tcp_streams, tcp_one_direction, tcp_one_direction_short, tcp_syn_unanswered, udp_flows, udp_one_way_flows, examples | |
| duplicates | No | keys: copies, share, causes, examples, repeated_identical | |
| duration_s | No | ||
| interfaces | No | ||
| ip_packets | No | ||
| link_types | No | ||
| timestamps | No | keys: backwards_jumps, max_backwards_s, first_backwards_frame, identical_to_previous, identical_share, resolution, largest_gap_s, largest_gap_after_frame, before_year_2000 | |
| encapsulations | No | ||
| tcp_capture_gaps | No | keys: tcp_data_segments, missed_by_capture, missed_bytes, directions_with_missed, lost_before_capture, retransmitted_after_capture, out_of_order, unresolved_gaps | |
| truncated_frames | No | keys: frames, share, snaplen, protocols | |
| oversized_packets | No | keys: packets, max_ip_len, link_mtu |