Optimized Album Sync
photos_optimized_album_syncSync and analyze Google Photos album contents with smart caching. Configure metadata analysis and limit items to process.
Instructions
Efficiently sync and analyze album contents with smart caching
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| album_id | Yes | ID of the album to sync. Required. | |
| max_items | No | Maximum items to process. Defaults to 200. | |
| analyze_metadata | No | Whether to analyze photo metadata. Defaults to True. | |
| user_google_email | No | The user's Google email address for Photos access. If None, uses the current authenticated user from FastMCP context (auto-injected by middleware). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if sync failed | |
| success | No | Whether the album sync operation succeeded | |
| album_id | Yes | ID of the synced album | |
| file_types | No | List of unique file types found in the album | |
| user_email | No | Email address of the user | |
| years_span | No | List of years represented in the album content | |
| cache_stats | No | Cache statistics for the sync operation | |
| total_items | No | Total number of items in the album | |
| photos_count | No | Number of photos in the album | |
| text_summary | No | Human-readable sync summary | |
| videos_count | No | Number of videos in the album | |
| cameras_detected | No | List of unique cameras used to capture album content | |
| sync_time_seconds | No | Time taken for the sync operation in seconds |