Skip to main content
Glama

search_metadata

Search photos by EXIF metadata: location (city/state/country), camera make/model, date range, favorites, and asset type (IMAGE/VIDEO). Filter by these criteria to find specific photos in your Immich library.

Instructions

Search photos by EXIF metadata: location (city/state/country), camera (make/model), date range, favorites, and type (IMAGE/VIDEO).

Args:
    city: Filter by city name (e.g. 'Barcelona', 'Cairo').
    state: Filter by state/region.
    country: Filter by country (e.g. 'Spain', 'Egypt').
    make: Camera manufacturer (e.g. 'Apple', 'Canon').
    model: Camera model (e.g. 'iPhone 14 Pro').
    taken_after: ISO date — only photos after this date.
    taken_before: ISO date — only photos before this date.
    is_favorite: Filter favorites only.
    asset_type: 'IMAGE' or 'VIDEO'.
    page: Page number (default 1).
    size: Results per page (default 50, max 200).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNo
stateNo
countryNo
makeNo
modelNo
taken_afterNo
taken_beforeNo
is_favoriteNo
asset_typeNo
pageNo
sizeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It describes filtering but lacks details on side effects (none expected for a search), authorization needs, rate limits, or pagination behavior (though page/size parameters are listed).

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 a purpose sentence followed by an Args list. It is slightly long but efficiently conveys necessary information 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 11 parameters and zero schema descriptions, the description covers all parameters with clear explanations. The presence of an output schema means return values do not need elaboration.

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?

With 0% schema description coverage, the description adds value by explaining each parameter's purpose and providing examples (e.g., city: 'Barcelona'), compensating for the schema's lack of descriptions.

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 searches photos by EXIF metadata and lists specific filter categories (location, camera, date, etc.), distinguishing it from siblings like 'search_smart'.

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

Usage Guidelines3/5

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

The description implies usage for metadata-based search but provides no explicit guidance on when to use this tool versus alternatives like 'search_smart', nor does it mention exclusions or prerequisites.

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/drolosoft/immich-photo-manager'

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