Skip to main content
Glama

photo_export

Export album or selected photos as JPG, PNG, or TIF images with optional max dimension and JPEG quality, plus overwrite protection to prevent accidental replacement.

Instructions

Export photos (all in the album, or selected) as finished images with PhotoAlbumItem.ExportFrame (jpg/png/tif), optional max dimension and JPEG quality. Never overwrites without overwrite: true.

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": {
      "outputDir": "<outputDir>"
    },
    "name": "photo_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
albumNo
formatNojpg
photosNo
prefixNo
qualityNo
outputDirYesAbsolute local file path
overwriteNo
maxDimensionNo

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 declare readOnlyHint=false, destructiveHint=false and openWorldHint=false; the description adds the meaningful safety detail that it "never overwrites without overwrite: true," which explains why a write operation is non-destructive and what the overwrite flag controls. It also discloses that output is written to local files in a chosen format. It does not mention where files land or naming behavior beyond the prefix parameter.

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 dense sentences with the core action and scope front-loaded, followed by the safety constraint. The only near-waste is the internal API reference (PhotoAlbumItem.ExportFrame), which most agents cannot use, but it costs a single clause.

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?

With an output schema present, return values need no explanation, and the description covers the main behavioral risk (overwrite) plus the majority of the 8 parameters. It stops short of explaining the prefix parameter or how album and photos interact when only one is supplied on a moderately complex tool.

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 only 13% (only outputDir is annotated), so the description carries most of the burden: it explains album-vs-selected photos, the format enum, optional max dimension and JPEG quality, and the overwrite flag. That leaves prefix and the string-vs-integer photo identifiers unexplained, so it adds real but incomplete meaning over the 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 gives a specific verb and resource ("Export photos") plus the output nature ("finished images", formats jpg/png/tif) and the two scope modes ("all in the album, or selected"). It is clear enough to distinguish from clip/timeline export siblings by resource alone, but it never explicitly contrasts itself with any alternative tool.

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?

The phrase "all in the album, or selected" implies which parameter drives the export (album vs photos), which is useful mode guidance. However there is no explicit when-to-use/when-not guidance, no prerequisites (must photos be imported first?), and no routing to any alternative export tool.

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