Skip to main content
Glama

find_shots

Search video clips by visual content in English or Vietnamese, returning ranked shot matches with in/out points and optional markers or timeline sequence.

Instructions

Find shots by what is in the picture, in English or Vietnamese ("close-up of a face", "wide shot of the restaurant", "waiter in a red shirt", or "cô gái cầm menu"), through the media engine (SigLIP 2, local): every second of each clip's proxy is compared with the words, the best stretches come back ranked with in/out and a score. Each hit becomes a marker on the source clip in the Project panel (open the clip in the Source Monitor to see it; searching the same words again replaces those markers). With placeOnTimeline, also builds a sequence "Tìm: " with the hits in rank order. Uses the clips kept in the project with their proxies, like describe_sources. The first search on a folder reads the images (about 30 s for 5 minutes of footage); later searches take a few seconds.

Input Schema

NameRequiredDescriptionDefault
binNoOnly the clips in this project bin
topNoHow many hits (default 8)
queryYesWhat to look for, e.g. "girl holding a menu", "close-up", "wide shot of the restaurant" (Vietnamese works too)
markersNoPut a marker for each hit on its source clip in the project (default true)
waitSecondsNoHow long to wait in this call before returning "running" (default 45)
sourceFolderNoFootage folder. Default: the clips kept in the project (with their proxies); with a folder, only the project clips inside it, or the whole folder when none are imported
allowOriginalNoClips without a proxy: read the original file instead of stopping (heavier on the machine)
placeOnTimelineNoAlso build a sequence "Tìm: <query>" with the hits in rank order (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly: it discloses the local SigLIP 2 engine, proxy-frame comparison, ranked in/out results with scores, marker creation and replacement, optional sequence creation, and first-search versus later-search latency. It also explains the project-clip/proxy scope like describe_sources.

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?

The description is front-loaded with the core purpose and examples, then proceeds logically through engine behavior, side effects, optional timeline output, source scope, and latency. Despite being a dense paragraph, every sentence contributes useful information for invoking the tool correctly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with no annotations and no output schema, the description is complete enough: it explains the result shape, side effects, proxy requirements, latency profile, and optional timeline behavior. An agent has what it needs to decide when and how to call it.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful semantics for several parameters: markers replace prior markers on repeat searches, placeOnTimeline creates a sequence named 'Tìm: <query>' in rank order, and sourceFolder search behavior explains the first-search image-reading latency. It does not elaborate on top, bin, or waitSeconds, keeping it below a 5.

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 opening sentence states a specific verb and resource: 'Find shots by what is in the picture,' and gives concrete English and Vietnamese examples. It clearly frames the tool as content-based visual search rather than a filename or metadata lookup, and it references the sibling describe_sources for proxy behavior.

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?

The description gives clear usage context through examples and explains the optional placeOnTimeline outcome. It does not explicitly name alternatives such as search_project_items or find_project_item_by_name, nor does it state when not to use this tool, so it falls short of full routing guidance.

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

Deploy Server

Other Tools