Skip to main content
Glama

media_generate_optimized

Read-only

Generates optimized media for specified clips using clip IDs, names, or file paths, helping prepare projects for reliable playback and editing when the scripting API lacks this capability.

Instructions

Generate optimized media for clips. (Not scriptable: the scripting API has no optimized-media method.)

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_generate_optimized"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipsNo

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

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered by structured data. The description adds only a meta note about the scripting API, saying nothing about how long generation takes, what artifacts it produces or where they land, or whether repeated calls are idempotent. The 'Generate' verb also sits in mild tension with readOnlyHint, since media generation typically produces new cache files, and the description does nothing to resolve that tension.

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?

Two short sentences with the purpose front-loaded; nothing is padded or buried. The parenthetical is arguably tangential for an agent calling the tool, but it is compact and does not obscure the main statement.

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?

The tool is simple (one optional param) and ships an output schema plus annotations, so return values and safety need not be explained. What remains missing is the operational context an agent needs: what 'optimized' media is relative to a proxy, and the behavior when 'clips' is omitted, which matters because the parameter is not required.

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?

The single 'clips' parameter is typed as an array of strings whose item schema already explains the accepted forms ('clip id, exact clip name, or file path'). The description adds no semantics of its own, for example whether an empty or omitted array means all clips, or whether mixed id/name/path entries are allowed. Reported schema description coverage is 0%, so the description should be compensating here and does not.

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 gives a specific verb+resource combination ('Generate optimized media for clips'), which is meaningfully more precise than the bare tool name. It stops short of distinguishing this from the obvious sibling media_generate_proxy, so an agent cannot tell from the text which generation path to take.

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 or when-not-to-use guidance, and no named alternative despite media_generate_proxy existing as a near-identical genre of operation. The only guidance offered is a scripting-API caveat ('Not scriptable'), which tells the agent nothing about when to select this tool over a sibling.

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