Skip to main content
Glama

media_get_resolution

Read-only

Retrieves a clip's resolution from Resolve's clip properties using a media pool clip ID, exact clip name, or file path.

Instructions

Read a clip's resolution from Resolve's clip properties.

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": {
      "clip": "<clip>"
    },
    "name": "media_get_resolution"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipYesMedia pool clip id, exact clip name, or file path

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.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered structurally. The description contributes one extra signal by grounding the value in 'Resolve's clip properties,' implying the read reflects the live project rather than a cached or filesystem probe, but it says nothing about failure modes for unresolvable clips.

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 front-loaded sentence with no filler or redundancy. The purpose and data source both appear before any clause that could be trimmed.

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?

This is a simple one-parameter read tool, an output schema exists to describe the return value, and annotations cover safety. What remains unaddressed is behavior on unresolvable or offline clips, a minor gap for a tool this narrow.

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%, and the single 'clip' parameter already documents the three accepted identifier forms (id, exact name, file path). The description adds no format, matching, or precedence detail beyond what the schema provides, so the baseline of 3 applies.

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 and resource ('Read a clip's resolution') and names the source ('Resolve's clip properties'), which cleanly separates it from adjacent siblings such as media_get_frame_rate and media_get_duration. It stops short of naming a sibling directly, so it lands at clear-but-not-routing.

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?

Usage is implied by the narrowly scoped accessor: an agent that needs a clip's resolution has an obvious reason to call it. However, there is no explicit when/when-not guidance, no statement about prerequisites (e.g., the clip must exist in the media pool or Resolve must be connected), and no note about offline or missing clips.

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