Skip to main content
Glama
w1ne
by w1ne

open_in_darktable

Launch darktable GUI on a folder of raw files, automatically registering it as a film roll, with optional star-rating filters to show only wanted images.

Instructions

Launch the darktable GUI on a folder. The folder is registered as a film roll on first launch and XMP sidecars are picked up automatically. The lighttable opens already filtered via the official darktable.gui.libs.collect.filter Lua API for any rating spec: exact rating=N, rating_min=N (>=), rating_max=N (<=), arbitrary rating_min..rating_max inner ranges, or no filter at all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ratingNoFilter to exactly this rating (-1=reject, 0=unrated, 1-5=stars)
rating_maxNoUpper bound of a rating range
rating_minNoLower bound of a rating range
source_dirYesFolder containing the raw files
darktable_pathNodarktable executable (default: 'darktable' on PATH)darktable

Schema Changelog

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

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it delivers meaningful behavior: first-launch film roll registration, automatic XMP sidecar pickup, and filter application via a named Lua API. It does not disclose whether the GUI launch blocks until exit or what happens if the darktable executable is missing, but it covers the most important side effects.

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?

The main purpose and side effects are front-loaded, followed by a compact specification of every supported rating form. The text is dense but each clause contributes; only the internal Lua API reference is mildly incidental to actual invocation, and the overall length is justified by the complexity of the filtering behavior.

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 5-parameter, no-output-schema tool with no annotations, the description covers the purpose, the non-obvious rating filter combinations, and key side effects. It does not discuss the darktable_path parameter or process return behavior, but those are low-stakes: darktable_path has a schema default, and a GUI launcher does not require detailed return documentation.

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 coverage is 100%, so the baseline is 3, but the description adds real value by explaining how the rating parameters combine: exact rating=N, rating_min=N, rating_max=N, arbitrary inner ranges, or no filter. This gives the agent semantic guidance beyond the individual integer descriptions in the schema.

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 states a specific verb ('Launch'), a clear resource ('the darktable GUI on a folder'), and the distinguishing behavior: it is the tool that opens an interactive GUI rather than performing batch operations like export_images or apply_preset. It also differentiates itself by naming the exact outcome: film roll registration and an already-filtered lighttable.

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 context is clear: use this when the user wants to open the interactive darktable GUI on a folder, optionally with rating filters. It does not explicitly name or contrast with sibling tools such as view_photos or rate_photos, so it stops short of a 5, but the launch-GUI framing makes the intended usage obvious.

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