Skip to main content
Glama
t3ratech

T3rnel Browser — Session Bridge

Official
by t3ratech

session_record_stop

Idempotent

Stop an active browser session recording and get its summary (recording, session ID, event count, duration). Specify a session ID when multiple recordings are running to target the right one.

Instructions

Stop a recording and return {recording, sessionId, eventCount, durationMs}. The events themselves are read separately with session_record_events, so this is cheap to call on a long recording. Requires the T3rnel Browser extension. With several recordings active, sessionId is required and the error names how many are running.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdNoSession to stop; required only when more than one recording is active

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • changedInput schema / properties / sessionId / description
      Previous value: -"Session to stop; required only when multiple recordings are active"New value: +"Session to stop; required only when more than one recording is active"
  2. First observedv1.1.1

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description adds the extension requirement, the performance trait ('cheap to call on a long recording'), and the error behavior when multiple recordings are active. No contradiction with idempotentHint=true or destructiveHint=false.

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?

Three dense sentences with no filler. The primary action and return value are front-loaded, followed by necessary operational context and edge-case guidance.

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?

The description covers the return value, prerequisite, and an important conditional requirement, which is enough for a simple one-optional-parameter tool with idempotency and destructive hints provided by annotations. Minor gaps like behavior on already-stopped recordings are not critical.

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%, so the schema already documents sessionId. The description restates the condition and adds a detail about the error message, but does not materially expand parameter semantics beyond 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?

The description states a specific action ('Stop a recording') and names the exact return payload, distinguishing it clearly from sibling tools like session_record_start and session_record_events. No ambiguity about what the tool accomplishes.

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?

It explicitly points to session_record_events as the alternative for reading events, and clarifies when sessionId is required. It does not enumerate every sibling, but gives enough context to route the agent correctly.

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