Skip to main content
Glama
w1ne
by w1ne

export_images

Export photos to JPEG, PNG, or TIFF via darktable-cli. Pass absolute source paths and an output directory; check the .export_images.jsonl output field for the real file name to avoid collisions.

Instructions

Export photos to JPEG/PNG/TIFF via darktable-cli. Pass absolute file paths in photo_ids — the path field from view_photos drops in directly. Output names are de-collided: two sources sharing a stem (e.g. DSC_0001.NEF from two folders) get suffixed names rather than overwriting each other, so do not assume the written file is .. Read the real path from the output field of the .export_images.jsonl side file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatYes
qualityNo
max_widthNoConstrain the output width in pixels; aspect ratio is preserved. Omit for full resolution.
photo_idsYesAbsolute paths to source images
max_heightNoConstrain the output height in pixels; aspect ratio is preserved. Omit for full resolution.
output_pathYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description carries full behavioral disclosure. It reveals that output filenames are de-collided to avoid overwrites, that the actual written file may not match the expected stem, and that the real path must be read from the .export_images.jsonl side file. This materially changes how an agent should invoke and inspect results.

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?

Three dense sentences with no filler. The purpose is front-loaded, and each sentence adds necessary operational detail—input format expectations, name-collision behavior, and how to recover the real output path. The side-file sentence is long but justified.

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 tool with six parameters, no annotations, and no output schema, the description covers the key workflow: inputs from view_photos, output naming hazards, and the side file to read. The main gaps are the exact semantics of output_path (directory vs file prefix) and when the side file is produced, but the description is largely complete for successful use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 50%, and the description compensates for the undocumented output_path by explaining de-collision and the side file's output field. It also adds meaning to photo_ids by linking directly to view_photos.path. It does not clarify whether output_path is a directory or base filename, and format/quality semantics are only lightly implied.

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 clearly states the action ('Export photos'), the output formats (JPEG/PNG/TIFF), and the mechanism ('via darktable-cli'). This distinguishes it from siblings like view_photos or extract_previews, so an agent can identify what this tool does without needing to inspect the schema.

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?

It gives concrete usage context: pass the path field from view_photos directly into photo_ids, and use this tool when exporting photos to the listed formats. It does not explicitly name sibling alternatives or say 'do not use X', but the integration instruction provides enough context for correct selection.

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

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/w1ne/darktable-mcp'

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