Skip to main content
Glama
luquimbo

DaVinci Resolve MCP Server

by luquimbo

item_get_duration

Read-only

Retrieve the duration of a named timeline item in frames. Specify track type and index to target the correct clip.

Instructions

Return the duration of a timeline item in frames.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_nameYesName of the item.
track_typeNoTrack type — "video" or "audio".video
track_indexNo1-based track number.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The readOnlyHint annotation already declares a non-destructive operation. The description complements this by specifying the exact return unit (frames), confirming the read-only nature and adding useful behavioral detail beyond the annotation. No contradictions.

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?

A single, well-structured sentence that immediately states the action and output. Every word earns its place; no filler or redundancy.

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?

The tool is simple, has an output schema, and the description states the return value (duration in frames). However, it does not clarify which timeline is being referenced (e.g., current timeline), which could be ambiguous given the absence of a timeline parameter. Slight incompleteness.

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%, so the baseline is 3. The description adds no parameter-specific meaning beyond what the schema already provides (item_name, track_type, track_index). It references 'timeline item' but does not explain parameter roles.

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 uses a specific verb ('Return') and resource ('duration of a timeline item') with a clear unit ('frames'). It distinguishes itself from sibling tools like item_get_start_end and item_get_properties by focusing solely on duration.

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

Usage Guidelines4/5

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

The description clearly implies when to use this tool: when you need the duration of a timeline item. However, it does not explicitly mention alternatives or exclusions (e.g., deriving duration from item_get_start_end), so it misses the top criteria but still provides clear context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/luquimbo/davinci-resolve-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server