Skip to main content
Glama

Get a session timeline

get_session_timeline
Read-only

The raw drill-down beneath find_sessions and get_session_story: prefer those first, then come here to zoom into a moment's event range. Without sessionId it lists the ticket's matched session and its customer's captured sessions in a fixed window around ticket creation; with sessionId (one of those) it returns one compacted, token-budgeted page of that session's events (page views, clicks, console, network, errors). Page a long session with the returned nextCursor. All content is captured browser data.

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

Input Schema

NameRequiredDescriptionDefault
cursorNoThe nextCursor from a prior timeline page, to continue
ticketIdNoThe ticket uuid
sessionIdNoThe ticket's matchedSession from get_ticket, or a session id from a prior sessions listing; omit to list sessions first
ticketNumberNoThe human-readable ticket number shown in Slack (for example 42)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safe-read profile (readOnlyHint=true, openWorldHint=false), and the description adds real behavior: results are one compacted, token-budgeted page, long sessions are continued with the returned nextCursor, and the ticket-level listing is bounded to a fixed window around ticket creation. It also warns all content is captured browser data. It does not state what happens if a sessionId outside the listed set is passed.

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?

Front-loaded with the routing decision, then the two modes, then pagination and a data-provenance note. Dense but every clause carries information; the middle sentence is long and could be split for readability without losing content.

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?

No output schema exists, yet the description compensates by enumerating the event types returned and describing pagination via nextCursor. Complete enough to invoke correctly; only the invalid-sessionId edge case and the exact fixed window bounds are unstated.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description goes beyond the schema: it explains the conditional relationship between sessionId and the listing mode, constrains sessionId to 'one of those' sessions, and explains cursor as continuation of a prior page. ticketId and ticketNumber are left to the schema.

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+resource and explicitly positions itself under find_sessions and get_session_story as the raw drill-down. The two-mode behavior (ticket-level session listing vs. single-session event page) is spelled out, so an agent can distinguish it from every named sibling.

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

Usage Guidelines5/5

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

Gives an explicit ordering rule ('prefer those first, then come here to zoom into a moment's event range') and states the condition that switches modes: omit sessionId to list, supply one of the listed session ids to page events. Alternatives and exclusions are both present.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources