Skip to main content
Glama

session_timeline

Read-only

Visualize a recorded capture as a timeline, folding RX/TX byte density into buckets and overlaying audited operations like commands, writes, workflow steps, and denials—no hardware needed.

Instructions

Lay a recorded capture out as a session timeline: rx/tx byte density folded into buckets, plus the capture session's audited operations (commands, raw writes, workflow steps, denials) as events. Reads captures/.obcap and .openbaud/audit.jsonl — no hardware. The result declares view:{kind:"timeline"}, so its full_result path (or the result itself) renders via show_result.

Input Schema

NameRequiredDescriptionDefault
pathYesCapture file directly under captures/, e.g. captures/cap-….obcap
to_msNoWindow end; default: the last record or event
bucketsNoHow many density buckets the window folds into (empty buckets are omitted)
from_msNoWindow start (wall-clock ms, the clock record ts_ms uses); default: everything known
max_inline_bytesNoResult JSONs longer than this many bytes are written in full to .openbaud/out/ and returned as a summary carrying a full_result path — keeps huge payloads out of your context. Raise it to force large results inline.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and closed-world, so safety is covered. The description adds real value beyond that: it names the exact files read (captures/<file>.obcap, .openbaud/audit.jsonl), confirms no hardware is touched, and discloses the view:{kind:"timeline"} output contract plus the show_result rendering path.

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?

Three dense sentences, front-loaded with the core purpose, then inputs, then the output/rendering contract. Every sentence carries information, though the third sentence's phrasing is slightly convoluted.

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

Completeness4/5

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

With no output schema present, the description usefully explains what the result declares (view.kind) and how it reaches the user via show_result, and it documents the two data sources. A mutation-heavy tool would need more, but for a read-only analysis tool this is close to complete.

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 every parameter (path, from_ms, to_ms, buckets, max_inline_bytes) is already fully documented in the schema. The description mentions bucket folding and windowing only in passing and adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource: it lays a recorded capture out as a session timeline, combining rx/tx density buckets with audited operations as events. This is clearly distinguishable from sibling tools like session_stats or capture_frames, since it names both the input artifacts and the output shape.

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

Usage Guidelines4/5

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

The description gives clear context for use: it operates on an existing capture file plus the audit log and explicitly notes 'no hardware', which tells the agent this is an offline analysis tool rather than a live one. It does not, however, explicitly name when to prefer session_stats or diagnose_frame over this.

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