Skip to main content
Glama
Karanfil Labs Visual DNA

Karanfil Labs Visual DNA

Official

identify_scene_from_image

Identify the movie or TV series episode shown in a local frame image or direct image URL, returning closest scene matches and similarity scores above a chosen threshold.

Instructions

Identify a movie or TV series episode from a local video frame file path or direct image URL.

Args:
    image_source: Local image path (PNG, JPG, WEBP) or direct http/https image URL.
    top_k: Number of closest scene candidates to return (1 to 10, default 3).
    min_score: Minimum cosine similarity threshold between 0.0 and 1.0 (default 0.70; 0.82+ recommended for strict matching).

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_source": "<image_source>"
    },
    "name": "identify_scene_from_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_kNo
min_scoreNo
image_sourceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden: it implies a read-only lookup and discloses the default similarity threshold's effect, but says nothing about behavior on no-match, failure modes for unreachable URLs, permissions, or latency/cost of the lookup.

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?

The purpose sentence is front-loaded and the argument list is scannable; the only minor waste is restating defaults (3 and 0.70) already present in the schema, though the added ranges justify keeping the lines.

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?

With an output schema present, return values need no explanation, and the three parameters are well covered; what remains missing is behavioral context an agent needs to act confidently, such as what a below-threshold result looks like or whether remote URL fetching has constraints.

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 description coverage is 0%, so the description must compensate and largely does: it documents image_source accepted formats (PNG/JPG/WEBP or http/https), top_k bounds (1-10, default 3), and min_score range (0.0-1.0, default 0.70) with a strictness recommendation, adding real meaning beyond the bare types.

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 description opens with a specific verb+resource ('Identify a movie or TV series episode') and bounds the input to a local frame file or direct image URL, which cleanly separates it from the text-based sibling search_scenes_by_text without needing to name it.

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?

There is no explicit when-to-use/when-not statement or named alternative; the only conditional guidance is parameter-level ('0.82+ recommended for strict matching'), which helps tuning but does not tell an agent when to pick this tool over a text search.

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