Skip to main content
Glama
sweetrb

apple-photos-mcp

by sweetrb

find-duplicates

Find exact duplicate photos in your Apple Photos library. Groups identical images by fingerprint, showing filename, date, size, and dimensions to help you clean up after double imports.

Instructions

Use when: you want to find exact duplicates across the library — cleaning up after a double import, checking whether files were re-uploaded, or auditing before a migration/export. Returns: groupCount (total duplicate groups found), returned (groups in this response, capped at limit, default 100), and groups ordered newest-first — each with the member UUIDs plus per-member filename, date, size, dimensions, and movie flag. Use get-thumbnail on members to eyeball a group before acting on it. Do not use when: you're looking for near-duplicates or similar shots — Photos' fingerprint matches EXACT duplicates (identical image data) only; edited copies, resized versions, and burst siblings will NOT group. Safety: read-only. This server cannot delete photos — to act on duplicates, quarantine the extra copies into an album (create-album + add-to-album when writes are enabled, otherwise by hand in Photos.app) and review/delete inside Photos.app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax duplicate groups to return (default 100; groupCount reports the total)
libraryNoPath to a .photoslibrary (default: system Photos library)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupsNo
returnedNo
groupCountNo
Behavior5/5

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

With no annotations provided, the description carries full burden and meets it thoroughly. It discloses read-only behavior, inability to delete photos, return structure (groupCount vs returned), the 100-group cap default, newest-first ordering, and per-member details. It also warns about the exact-match limitation and explains the recommended review workflow.

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

Conciseness5/5

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

The description is well-structured with labeled sections (Use when, Returns, Do not use, Safety) and is appropriately sized given the tool's complexity and absence of annotations. Every sentence earns its place, covering purpose, behavior, limitations, and follow-up actions without redundancy.

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 and lack of annotations, the description is remarkably complete: it explains use cases, exact-match constraints, return value semantics, safety posture, and manual fallback procedures. The presence of an output schema does not detract from the need for this context, and the description delivers it comprehensively.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already documents both parameters, including the limit default and its relationship to groupCount. The description reiterates this information but adds no deeper parameter semantics beyond what the schema provides, so the baseline score of 3 is appropriate.

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 finds exact duplicates across the library, with a specific verb ('find') and resource ('duplicates'). It distinguishes itself from siblings like get-photos or query by emphasizing exact-match semantics and providing concrete use cases such as cleanup after double import and pre-migration auditing.

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?

Explicit 'Use when' and 'Do not use when' sections provide clear conditions for tool selection, including exclusions for near-duplicates and edited copies. It also names complementary tools (get-thumbnail, create-album, add-to-album) and suggests a manual workflow when writes are disabled, giving actionable guidance beyond basic usage.

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