Skip to main content
Glama

Video and report

record_session

Capture screen video, test reports, timelines, or crash/stall flight data during app tests to document failures and replay user journeys.

Instructions

Keep evidence. kind video: screen video, one per device; start, stop. report: a test report, index.html with steps, video, logs, crashes, measurements, secrets hidden; start, write, stop. timeline: start, the journey, stop: timeline.html, with video, touches, frames, requests, log and memory on one clock. flight: the last seconds, kept on a crash or stall. To replay actions: run_flow. Returns the file.

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": {
      "kind": "<kind>",
      "action": "<action>"
    },
    "name": "record_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
dirNo
fileNo
kindYes
actionYes
overwriteNo
maxSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.4

TDQS

A3.5/5.0
Behavior3/5

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

Annotations are minimal (only openWorldHint=false), so the description carries most of the burden. It discloses useful behavior: video is one per device, report redacts secrets, outputs land in index.html / timeline.html, flight is retained on crash or stall, and it returns the file. It does not cover permission requirements, what happens if a session is already running, or what overwrite does to prior evidence.

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

Conciseness3/5

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

There is essentially no filler — every clause carries information — and the evidence scope is front-loaded. But the per-kind phrasing is telegraphic and hard to parse ('timeline: start, the journey, stop: timeline.html, with video, touches, frames, requests, log and memory on one clock'), forcing the reader to reconstruct the grammar. Information-dense but not cleanly structured.

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?

For a 6-parameter mutation tool with no output schema and near-zero annotation coverage, the description explains the recording modes and partial return behavior ('Returns the file') but omits session lifecycle conflicts, file/directory targeting, overwrite semantics, and the maxSeconds cap. Adequate to start a recording, not complete enough to call it confidently in edge cases.

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 0%, so the description must compensate, and it does well for the two required enums: all four 'kind' values and the three 'action' values are given concrete meaning and mapped to each other. However, four parameters (dir, file, overwrite, maxSeconds with its 1800 default) receive no explanation at all, leaving a substantial gap an agent must guess at.

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?

Opens with a scope statement ('Keep evidence') and then enumerates the four recordable resources (video, report, timeline, flight) with the action verbs each supports, so the agent knows exactly what the tool produces. It also distinguishes itself from the replay sibling ('To replay actions: run_flow'). The only weakness is the oblique opener, which an agent must read past to reach the concrete content.

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?

Gives per-kind usage instructions, effectively telling the agent which action values are valid for which kind (video: start/stop; report: start/write/stop; timeline: start/stop; flight: retained on crash/stall). It explicitly names run_flow as the alternative for replaying recorded actions. No explicit when-not-to-use or prerequisite guidance, which keeps it below a 5.

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