Skip to main content
Glama
sweetrb

apple-photos-mcp

by sweetrb

add-to-album

Add photo UUIDs to a specific album. Returns the album details and counts of newly added, already present, and not found UUIDs.

Instructions

Use when: you have photo UUIDs (from query / find-duplicates) and want to file them into an album — e.g. collecting duplicate extras into a quarantine album, or filing a trip's photos. Returns: the album {uuid, name, path}, addedCount, added (UUIDs newly added), alreadyPresent (UUIDs that were already members — adding is idempotent), and notFound (requested UUIDs that don't exist in the library). Fails only when the album doesn't exist or NO requested photo exists. Do not use when: the album doesn't exist yet — call create-album first; or you want photos OUT of an album — use remove-from-album. Safety: WRITE tool — disabled unless APPLE_PHOTOS_MCP_ENABLE_WRITES=1 (run doctor to check). Changes album membership only: photos are never copied, modified, or deleted, and each target is validated to exist first. Max 100 UUIDs per call. Drives Photos.app via AppleScript (launches it if needed; requires macOS Automation permission — one-time prompt). Writes target the library currently open in Photos.app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesPhoto UUID(s) to add (1–100, as returned by query)
albumYesAlbum name or UUID (UUID-looking values try the id lookup first)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
addedNo
albumNo
notFoundNo
addedCountNo
alreadyPresentNo
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description fully bears the transparency burden. It discloses that it is a WRITE tool requiring an environment variable, that it is idempotent (alreadyPresent field), imposes a 100-UUID limit, validates photo existence, and drives AppleScript (launching Photos.app and requiring permission). This is unusually thorough.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections ('Use when', 'Returns', 'Do not use when', 'Safety'). It is front-loaded and every sentence adds information. However, it is somewhat lengthy and could be slightly more concise without losing clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (write operation, idempotency, error conditions, sibling differentiation), the description covers all essential aspects: prerequisites, failure modes, safety requirements, and output fields. The presence of an output schema further reduces the need for detailed return description, but the description already lists key return fields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by revealing the typical source of UUIDs ('from query / find-duplicates') and clarifying that the album parameter accepts both name and UUID. This slight augmentation justifies a 4.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: adding photo UUIDs to an album. It provides specific use cases (e.g., collecting duplicate extras, filing trip photos) and distinguishes itself from siblings by explicitly contrasting with remove-from-album and create-album.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance: 'Use when: you have photo UUIDs... and want to file them into an album.' It also gives clear when-not-to-use instructions, directing the agent to create-album for missing albums and remove-from-album for removal tasks. This covers both context and alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/sweetrb/apple-photos-mcp'

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