Skip to main content
Glama

qa.session_events

Read-only

Retrieve recorded browser session events as an exploration log for QA harnesses to ingest, enabling evidence collection while keeping control of the harness's own storage.

Instructions

The recording as an exploration event log a QA harness can ingest (Auto-QA: feed each to qa_record_event). Returned rather than written, so the harness keeps control of its own evidence directory.

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": "qa.session_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoRelative ("5m", "90s") or absolute ISO timestamp.
untilNoUpper bound of the time window.
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Adds genuinely useful behavior beyond readOnlyHint/openWorldHint: events are returned, not written to disk, so the harness controls its own evidence directory. That is a real side-effect disclosure. However, it doesn't say what happens when no recording is active, whether it reflects a live or completed session, or whether results are bounded by the since/until window.

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?

Two tight sentences with no filler, and the key behavioral fact (returned not written) is stated early. The opening clause is syntactically a fragment ("The recording as an exploration event log..."), which costs a little immediate clarity.

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?

With no output schema, the description carries the burden of describing the return value, and it only characterizes it abstractly as an "exploration event log" without event shape, volume, or ordering. Adequate for calling the tool, but thin for interpreting the response in a four-parameter, harness-driven workflow.

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 the four parameters (since, until, target_id, browser_id) are already fully documented, establishing the baseline of 3. The description adds no time-window or handle semantics beyond the schema, though "the recording" implicitly scopes results to a session.

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?

Conveys the specific resource (the session recording's events) and the intended consumer (a QA harness ingesting an exploration event log). It is a noun phrase rather than a verb phrase ("get/return the recorded events"), leaving the operation itself slightly implicit, but the scope is identifiable and distinct from qa.evidence by the explicit "returned rather than written" framing.

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

Usage Guidelines3/5

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

Provides one concrete downstream usage path: feed each returned item to qa_record_event for Auto-QA. It gives no guidance on when to prefer this over qa.evidence, qa.steps, or qa.record_status, and no exclusions or preconditions (e.g., a recording must be active).

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

Deploy Server

Other Tools