Skip to main content
Glama

Find frames that look like an image

video_search_by_image
Read-only

Find video frames that look like a picture, plus passages about it, optionally limited to selected videos.

Instructions

Where a picture, logo, chart or slide appears: frames that look like it, and passages about it.

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": {
      "image_path": "<image_path>"
    },
    "name": "video_search_by_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_kNoHits to return.
video_idsNoLimit to these video ids. Omit for every indexed video.
image_pathYesAbsolute path to a picture (jpg, png, webp).

Output Schema

NameRequiredDescriptionDefault
hitsYesBest first.
countYesHits returned.
queryYesThe query, or the image path for image search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description does add genuine behavioral value by revealing that the result mixes two kinds of evidence — visually similar frames and textual passages about the subject — which the annotations don't convey. It stops short of describing match confidence, behavior when nothing matches, or whether matching is against every indexed video by default.

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?

A single economical sentence with no filler, and the core outcome is front-loaded. The fragmentary, verb-less phrasing ('Where a picture... appears: frames that look like it') trades a little clarity for brevity but wastes no space.

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

Completeness3/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-value detail is not the description's burden, and annotations cover the read-only profile. What remains missing is around the edges of invocation: no note on whether all indexed videos are searched by default, and no expectation-setting for zero-match or low-confidence results — modest gaps for a three-parameter tool.

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%, with top_k, video_ids and image_path each documented in the schema itself, so the baseline is 3. The description adds no further parameter meaning — it doesn't say how many results are typically useful or that scoping via video_ids exists — so it neither compensates nor detracts.

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?

The description names a concrete outcome — locating where a picture, logo, chart or slide appears — and clarifies the return types (matching frames plus related passages). It is more specific than the bare name, though it never states an explicit verb like 'search' and gives no contrast with siblings such as video_search or video_frames, so an agent must infer that this is a visual-similarity lookup over indexed videos.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: no statement of when to pick this over video_search, video_find_phrase or video_frames, and no mention of prerequisites such as the image needing to correspond to indexed content. The use case (finding a logo/chart/slide) is implied by the examples, but routing between alternatives is left entirely to inference.

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