Skip to main content
Glama

stop_recording

Finalize a session recording by recording ID, saving captured segments and reporting any gaps or partial files.

Instructions

Finalize a recording from this session using its recording ID. The result includes saved segments and reports any gaps or partial files.

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": {
      "recording_id": "<recording_id>"
    },
    "name": "stop_recording"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_idNo
timeout_msNo
recording_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

The annotations establish this is a non-read-only, open-world, non-idempotent but non-destructive operation, and the description usefully adds what the call returns: saved segments plus notes about gaps or partial files. That outcome disclosure is real value beyond the annotations, though it does not say whether repeating the call is safe or what a gap report implies for the caller.

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 sentences, both front-loaded with the action first and the return information second. No filler, no restatement of the tool name, and every clause carries information.

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?

For a three-parameter mutation with annotations and no output schema, the description covers purpose, prerequisite context, and result shape adequately. The remaining gap is the unexplained device_id and timeout_ms parameters, which matters for an agent deciding how long to wait for finalization.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description carries the full burden. It explains only recording_id (the identifier of the session's recording); device_id and especially timeout_ms — whose 1–30000ms range suggests a wait for finalization — are left entirely unexplained in both schema and description.

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?

"Finalize a recording from this session using its recording ID" gives a specific verb (finalize) and resource (recording), and the pairing with start_recording in the sibling list makes the counterpart role inferable. It stops short of naming the alternative explicitly, so it is clear but not fully differentiated.

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?

The phrase "from this session" and the requirement for an existing recording ID imply the prerequisite that a recording is already running, and the tool is clearly the closing step. However, there is no explicit statement of when not to call it, what happens if no recording is active, or which sibling to use for related operations such as capturing screenshots mid-recording.

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