Skip to main content
Glama

apply_lightroom_preset

Apply Lightroom develop presets to photos using preset UUIDs to automate photo editing workflows and enhance images consistently.

Instructions

Apply a Lightroom develop preset by its UUID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
preset_uuidYes
local_idsNo

Implementation Reference

  • The MCP tool definition and handler for 'apply_lightroom_preset'. It is decorated with @mcp.tool() and uses the _call helper to communicate with the Lightroom bridge.
    @mcp.tool()
    async def apply_lightroom_preset(
        preset_uuid: str,
        local_ids: list[int] | None = None,
    ) -> dict[str, Any]:
        """Apply a Lightroom develop preset by its UUID."""
        if not preset_uuid:
            raise ValueError("preset_uuid is required")
        ids = validate_local_ids(local_ids)
        payload: dict[str, Any] = {"uuid": preset_uuid}
        if ids:
            payload["local_ids"] = ids
        return await _call("develop.apply_lr_preset", payload)

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/4xiomdev/lightroom-classic-mcp'

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