Skip to main content
Glama

Search Recording

search_recording
Read-onlyIdempotent

Search an index_recording timeline (screen text, events, markers, transcript): timecoded hits, best first, secrets masked. No frames unless asked. No input: search all indexes.

Instructions

Search an index_recording timeline (screen text, events, markers, transcript): timecoded hits, best first, secrets masked. No frames unless asked. No input: search all indexes.

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": {
      "query": "<query>"
    },
    "name": "search_recording"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoRecording path.
limitNoMax hits (default 10).
queryYesText; tolerates OCR misreads.
regexNoquery is a regex.
imagesNoThumbnails of the top N hits (default 0).
sessionIdNoOr a stopped session id.

Output Schema

NameRequiredDescriptionDefault
hitsYes
totalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.47.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent read, so the description's job is to add operational context — and it does: hits are timecoded, ranked best-first, secrets are masked, and frames are omitted unless thumbnails are requested. That is real disclosure an agent cannot get from the annotations or schema.

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 compact sentences, front-loaded with the operation and its output shape. The telegraphic phrasing ("No frames unless asked") is efficient but slightly clipped; nothing is genuinely wasted.

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?

An output schema exists, so return values need not be explained, and the description covers scoping, ranking, and masking. The only meaningful gap is the absence of any routing hint against the similar find_text sibling.

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 baseline is 3. The description does add one useful semantic — omitting `input` searches all indexes — and implies `images` controls frame inclusion, but leaves `sessionId`, `regex`, and `limit` entirely to the schema.

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?

States a specific verb (search) and resource (an index_recording timeline) plus the content searched — screen text, events, markers, transcript. An agent can picture the operation immediately. It does not distinguish itself from the sibling find_text, which is a plausible alternative for similar queries.

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?

"No input: search all indexes" gives one concrete scoping rule for when to omit the path parameter. There is no guidance on when to prefer this over find_text or review_recording, and no prerequisites are stated, so usage is only implied.

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