Skip to main content
Glama

Index Recording

index_recording
Destructive

Builds a searchable text timeline for a recording, extracting scene OCR, events, markers, and transcripts so search_recording can locate on-screen content.

Instructions

Build a recording's text timeline (.index.json: OCR per scene, events, markers, transcript) for search_recording.

Input Schema

NameRequiredDescriptionDefault
forceNoRe-OCR despite a matching cached index.
inputNoRecording path.
maxFramesNoKeyframes to OCR (default 120).
sessionIdNoOr a stopped session id.
transcriptNoAn .srt, or 'whisper' to transcribe. Default: <video>.srt if any.
sceneThresholdNoChange starting a segment (default 0.03).

Output Schema

NameRequiredDescriptionDefault
segmentsYes
indexPathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.47.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the agent knows this writes/overwrites something. The description usefully identifies the written artifact, but it omits operationally important facts: that OCR is expensive, that results are cached (only visible in the force parameter's schema text), and what gets overwritten when an index already exists.

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?

A single front-loaded sentence with no filler; the artifact and the downstream purpose both come immediately.

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?

With an output schema present, return values need not be explained, and the six parameters are fully documented in the schema. The remaining gap is behavioral: cost, caching and overwrite semantics are not addressed despite destructiveHint=true.

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 every parameter including force, maxFrames, transcript and sceneThreshold is already documented. The description adds no parameter-level meaning beyond what the schema provides, so the baseline of 3 applies.

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?

A specific verb ('Build') and resource ('a recording's text timeline'), including the concrete artifact name (<video>.index.json) and its contents. It also names the downstream consumer, search_recording, which helps separate it from neighbors like transcribe or read_events, though it doesn't explicitly contrast with those siblings.

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 'for search_recording' implies this is a prerequisite for searching, but the description never says when to use it versus alternatives such as transcribe or chapters, nor when not to run it. Usage is implied rather than stated.

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