Skip to main content
Glama

ai_find_best_clips

Read-only

Ranks media pool clips by resolution, duration, rating metadata, naming, and keyword matches, returning reasons so you can choose the right clips for an edit.

Instructions

Rank clips by usefulness (resolution, length, Good Take / rating metadata, naming, keyword matches) with reasons.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ai_find_best_clips"
  }
}

Input Schema

NameRequiredDescriptionDefault
binNo
topNo
clipsNoClip ids/names (default: all clips)
keywordsNo
minSecondsNo

Output Schema

NameRequiredDescriptionDefault
okYesTrue only when DaVinci Resolve confirmed the operation.
dataNo
toolYes
errorNo
sourceNoWhere the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone.
statusYes
messageYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already establish this as a safe, read-only, closed-world operation, so the safety profile needs no restating. The description adds real value by disclosing that results are ranked by weighted signals and returned 'with reasons', but it says nothing about scoring determinism, tie-breaking, or the effect of the optional 'top' cap beyond what the schema shows. Adequate but not rich.

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 front-loaded sentence with the criteria parenthesized so the core action lands first; no filler or redundancy. It is efficient, though the parenthetical list is dense and could have been better separated from the differentiation information that is missing.

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 not be described, and the read-only annotations cover safety. What remains missing is comparative usage guidance against the many sibling search/analysis tools and meaning for the undocumented bin/top parameters, which leaves the definition only just sufficient for a 5-parameter optional tool.

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

Parameters2/5

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

Schema description coverage is only 20%, so the description must carry parameter meaning, and it only partially does: 'keyword matches' maps to keywords and 'length' loosely to minSeconds, but 'bin', 'top', and the default-to-all-clips behavior are never explained in the description. An agent still cannot tell what 'bin' scopes or how 'top' interacts with ranking without reading the raw 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?

The description names a specific verb and resource ('Rank clips by usefulness') and enumerates the ranking signals (resolution, length, Good Take/rating metadata, naming, keyword matches), so its function is unmistakable. It does not explicitly differentiate itself from nearby tools such as ai_search_media or ai_create_highlights, keeping it just short of a 5.

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 statement of when to choose this over ai_search_media, ai_create_highlights, or timeline_get_clips, and no prerequisites or exclusions are given. The only usage signal is implicit in the verb 'Rank', leaving the agent to infer the scenario.

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