Skip to main content
Glama

Inspect Single Session Timeline

get_session_timeline
Read-onlyIdempotent

Retrieves a single session's chronological event sequence, IVT risk signals, Web Vitals, and device context for forensic debugging. Use it to diagnose one session_id, not aggregate bot reports.

Instructions

Retrieve the chronological event sequence, IVT risk signals, Web Vitals, and device context for a single session_id. Use for deep forensic debugging; for aggregate bot reports or recent sessions, use get_traffic_quality or get_realtime. Read-only via read token; HTTP 404 if unknown session_id.

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": {
      "site_id": "<site_id>",
      "session_id": "<session_id>"
    },
    "name": "get_session_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesPrismUV site slug identifier (e.g. "prismuv-abc123") returned by list_sites.
session_idYesSession identifier obtained from get_realtime or get_traffic_quality.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / session_id / description
      Added value: +"Session identifier obtained from get_realtime or get_traffic_quality."
    • addedInput schema / properties / site_id / description
      Added value: +"PrismUV site slug identifier (e.g. \"prismuv-abc123\") returned by list_sites."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, but the description adds genuinely new behavior: a read-token auth requirement and a 404 error contract for unknown session_id. It omits response size, latency, or pagination expectations for what is likely a heavy event-sequence payload, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the capability and payload lead, the routing guidance follows, and the auth/error facts close. No filler and no restatement of the tool name.

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

Completeness5/5

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

With no output schema, the description compensates by enumerating the returned data (event sequence, IVT risk signals, Web Vitals, device context). Combined with full schema coverage, annotations, and the 404 contract, an agent has everything needed to call it and interpret routing.

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 coverage is 100% and both parameters already document their format and provenance (list_sites, get_realtime/get_traffic_quality). The description only reinforces the single-session scoping, adding no format or validation 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 (Retrieve) and resource (chronological event sequence for a single session_id), and enumerates the payload contents: IVT risk signals, Web Vitals, and device context. It also names the siblings it is not (get_traffic_quality, get_realtime) for aggregate/recent views, so an agent can route without opening a schema.

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?

Explicitly scopes the tool to 'deep forensic debugging' and names the two alternatives with the conditions that select them: aggregate bot reports and recent sessions. Both when-to-use and when-not-to-use are covered in one clause.

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