Skip to main content
Glama

apply_local_adjustment_settings

Adjust specific areas of photos in Lightroom Classic by modifying exposure, contrast, and clarity settings on active masks for targeted editing.

Instructions

Set local_* adjustment parameters on the currently active mask.

Settings dict uses local_* parameter names, e.g.: {"local_Exposure": 1.5, "local_Contrast": 25, "local_Clarity": 40} A mask must be active (selected) first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
settingsYes

Implementation Reference

  • The implementation of the apply_local_adjustment_settings tool which acts as a wrapper around the masks.set_local_settings call.
    @mcp.tool()
    async def apply_local_adjustment_settings(settings: dict[str, Any]) -> dict[str, Any]:
        """Set local_* adjustment parameters on the currently active mask.
    
        Settings dict uses local_* parameter names, e.g.:
        {"local_Exposure": 1.5, "local_Contrast": 25, "local_Clarity": 40}
        A mask must be active (selected) first.
        """
        if not settings:
            raise ValueError("settings dict is required")
        return await _call("masks.set_local_settings", {"settings": settings})

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