Skip to main content
Glama

media_find_duplicates

Read-only

Identify duplicate media pool clips by comparing file size and name or SHA-256 hashes, so you can locate redundant source files before organizing or editing.

Instructions

Find duplicate source files among media pool clips. 'quick' compares size+name, 'hash' compares SHA-256 (reads every file).

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": "media_find_duplicates"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodNoquick

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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint=false, so safety is covered. The description adds a genuinely useful behavioral trait beyond annotations: 'hash' reads every file, signaling a significant I/O cost the agent should weigh before choosing that mode.

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?

Two compact sentences, front-loaded with purpose and followed by the mode explanation. Every clause carries information; nothing is padded.

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?

For a one-parameter, zero-required, read-only tool with an output schema, the description covers purpose and the only decision point (method). Minor gap: it doesn't say what a duplicate group result contains, but the output schema presumably handles returns.

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 coverage is 0%, but the single parameter is an enum whose values the schema lists without explaining. The description defines what each mode compares (size+name vs SHA-256) and the cost of the latter, which is meaningful added meaning — solid, though not exhaustive (e.g. no guidance on hash accuracy vs. false positives).

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 and resource: 'Find duplicate source files among media pool clips.' This is clearly distinguishable from other sibling operations (missing, search, relink), though it doesn't explicitly name an alternative for contrast.

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?

Implicit guidance comes from the method tradeoff ('quick' vs 'hash' reads every file), which tells the agent when the costlier mode is warranted. There is no explicit when-to-use/when-not-to-use statement or named alternative for related cleanup tasks.

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