Skip to main content
Glama

get_selected_photo_files

Retrieve file details for photos selected in Lightroom Classic to inspect metadata and properties for editing workflows.

Instructions

List selected Lightroom photos with direct file-inspection details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo

Implementation Reference

  • The `get_selected_photo_files` function is implemented here as an MCP tool. It retrieves selected photos and enhances them with file-inspection details using `_normalize_photo_for_inspection`.
    async def get_selected_photo_files(limit: int = 200) -> dict[str, Any]:
        """List selected Lightroom photos with direct file-inspection details."""
        response = await get_selected_photos(limit=limit)
        photos = response.get("photos")
        if not isinstance(photos, list):
            return {
                **response,
                "photos": [],
            }
        return {
            **response,
            "photos": [
                _normalize_photo_for_inspection(photo)
                for photo in photos
                if isinstance(photo, dict)
            ],
        }

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