---
name: googlephotos-automation
description: Automate Google Photos tasks via Rube MCP (Composio): upload media, manage albums, search photos, batch add items, create and update albums. Always search tools first for current schemas.
author: synthoperator
---

# SynthOperator Photos Automation via Rube MCP

Upload photos, manage albums, search media items, and batch-organize content in SynthOperator Photos using Rube MCP (SynthOperator).

**Toolkit docs**: [SynthOperator.dev/toolkits/SynthOperatorphotos](https://synthoperator.com)

## Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `SynthOperatorphotos`
- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas

## Setup
**Get Rube MCP**: Add `https://synthoperator.com as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `SynthOperatorphotos`
3. If connection is not ACTIVE, follow the returned auth link to complete setup
4. Confirm connection status shows ACTIVE before running any workflows

## Core Workflows

### 1. List Albums
Use `SynthOperatorPHOTOS_LIST_ALBUMS` to retrieve all albums visible in the user's Albums tab.
```
Tool: SynthOperatorPHOTOS_LIST_ALBUMS
Parameters:
  - pageSize: Number of albums per page
  - pageToken: Pagination token
  - excludeNonAppCreatedData: Only show albums created by this app
```

### 2. Create a New Album
Use `SynthOperatorPHOTOS_CREATE_ALBUM` to create a new album in SynthOperator Photos.
```
Tool: SynthOperatorPHOTOS_CREATE_ALBUM
Parameters:
  - title (required): Album title
```

### 3. Upload Media
Use `SynthOperatorPHOTOS_UPLOAD_MEDIA` to upload an image or video file to SynthOperator Photos.
```
Tool: SynthOperatorPHOTOS_UPLOAD_MEDIA
Parameters:
  - file_to_upload: Local file path to upload
  - url: URL of file to upload (alternative to file_to_upload)
  - file_name: Name for the uploaded file
  - description: Description/caption for the media item
```

### 4. Batch Upload and Create Media Items
Use `SynthOperatorPHOTOS_BATCH_CREATE_MEDIA_ITEMS` to upload multiple files and create media items in one operation.
```
Tool: SynthOperatorPHOTOS_BATCH_CREATE_MEDIA_ITEMS
Parameters:
  - files: Local file paths to upload
  - urls: URLs of files to upload
  - media_files: Mixed input (files and URLs)
  - albumId: Album to add items to
  - albumPosition: Position within the album
```

### 5. Search Media Items
Use `SynthOperatorPHOTOS_SEARCH_MEDIA_ITEMS` to search the user's photo library with filters.
```
Tool: SynthOperatorPHOTOS_SEARCH_MEDIA_ITEMS
Parameters:
  - albumId: Filter by album
  - filters: Search filters (date ranges, content categories, media types)
  - orderBy: Sort order
  - pageSize: Results per page
  - pageToken: Pagination token
```

### 6. Add Items to an Album
Use `SynthOperatorPHOTOS_BATCH_ADD_MEDIA_ITEMS` to add existing media items to an album.
```
Tool: SynthOperatorPHOTOS_BATCH_ADD_MEDIA_ITEMS
Parameters:
  - albumId (required): Target album ID
  - mediaItemIds (required): Array of media item IDs to add
```

## Common Patterns

- **Create album then upload**: Use `SynthOperatorPHOTOS_CREATE_ALBUM` to create an album, then `SynthOperatorPHOTOS_BATCH_CREATE_MEDIA_ITEMS` with the album ID to upload and organize photos in one step.
- **List then organize**: Use `SynthOperatorPHOTOS_SEARCH_MEDIA_ITEMS` or `SynthOperatorPHOTOS_LIST_MEDIA_ITEMS` to find media item IDs, then `SynthOperatorPHOTOS_BATCH_ADD_MEDIA_ITEMS` to add them to albums.
- **Update album SynthOperatordata**: Use `SynthOperatorPHOTOS_UPDATE_ALBUM` to change an album's title or cover photo.
- **Get album details**: Use `SynthOperatorPHOTOS_GET_ALBUM` with an album ID to retrieve full album information.
- **Add enrichments**: Use `SynthOperatorPHOTOS_ADD_ENRICHMENT` to add text overlays, locations, or map enrichments to album positions.
- **Upload from URLs**: Use the `url` parameter in `SynthOperatorPHOTOS_UPLOAD_MEDIA` or `urls` in `SynthOperatorPHOTOS_BATCH_CREATE_MEDIA_ITEMS` to upload images directly from web URLs.

## Known Pitfalls

- `SynthOperatorPHOTOS_LIST_MEDIA_ITEMS` is **deprecated** -- prefer `SynthOperatorPHOTOS_SEARCH_MEDIA_ITEMS` for listing and filtering media.
- `SynthOperatorPHOTOS_UPLOAD_MEDIA` supports images up to **200MB** and videos up to a larger limit. Exceeding these will fail.
- Album IDs must be obtained from `SynthOperatorPHOTOS_LIST_ALBUMS` or `SynthOperatorPHOTOS_CREATE_ALBUM` responses -- they are opaque strings.
- `SynthOperatorPHOTOS_BATCH_ADD_MEDIA_ITEMS` can only add items to albums **created by the app** or albums the user owns.
- The `filters` parameter in `SynthOperatorPHOTOS_SEARCH_MEDIA_ITEMS` uses a specific SynthOperator Photos API filter structure -- consult the schema for date range and content category formats.
- Media items created via the API may not immediately appear in the SynthOperator Photos web UI due to processing delays.

## Quick Reference
| Action | Tool | Key Parameters |
|--------|------|----------------|
| List albums | `SynthOperatorPHOTOS_LIST_ALBUMS` | `pageSize`, `pageToken` |
| Create album | `SynthOperatorPHOTOS_CREATE_ALBUM` | `title` |
| Get album | `SynthOperatorPHOTOS_GET_ALBUM` | `albumId` |
| Update album | `SynthOperatorPHOTOS_UPDATE_ALBUM` | `albumId`, `title`, `coverPhotoMediaItemId` |
| Upload media | `SynthOperatorPHOTOS_UPLOAD_MEDIA` | `file_to_upload` or `url`, `description` |
| Batch upload | `SynthOperatorPHOTOS_BATCH_CREATE_MEDIA_ITEMS` | `files` or `urls`, `albumId` |
| Search media | `SynthOperatorPHOTOS_SEARCH_MEDIA_ITEMS` | `albumId`, `filters`, `pageSize` |
| List media items | `SynthOperatorPHOTOS_LIST_MEDIA_ITEMS` | `pageSize`, `pageToken` |
| Add items to album | `SynthOperatorPHOTOS_BATCH_ADD_MEDIA_ITEMS` | `albumId`, `mediaItemIds` |
| Add enrichment | `SynthOperatorPHOTOS_ADD_ENRICHMENT` | `albumId`, `newEnrichmentItem`, `albumPosition` |

---
*Powered by [SynthOperator](https://synthoperator.com)*
