Skip to main content
Glama
mcp-synology

mcp-synology

list_photos

Read-only

Search and list photos or videos in Synology Photos by date, type, rating, favorite, folder, person, tag, album, place, concept, or keyword, returning IDs and metadata for details or downloads.

Instructions

List or search photos and videos in Synology Photos, newest first by default, with the total. folder, person and tag combine with the date, type, rating and favorite filters; album, place, concept and keyword each work alone. Each row has the item's id, filename, taken time, type, size and folder; pass the ids to get_photo for full details or to download_photos to save the files. For files outside Photos, use File Station's list_files when that module is enabled.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoOnly items with this tag name.
typeNo`all` (default), `photo` or `video`.all
limitNoMost items to return, 1-500.
placeNoOne place only: a place ID from list_photo_collections type=place.
spaceNo`personal` (default) or `shared` (Shared Space). IDs belong to one space.personal
offsetNoEntries to skip, for the next page.
conceptNoOne concept only (a thing or scene Photos recognized): an ID from list_photo_collections type=concept. Photos 1.9.1+.
keywordNoSearch filenames and tag names; works alone, in search order (no sorting).
sort_byNo`taken` (default), `filename`, `size` or `type`.taken
album_idNoOne album only (personal space). Album ID (list_photo_collections type=album).
end_dateNoTaken on or before this date, `YYYY-MM-DD`.
favoriteNo`true`: favorites only (Photos 1.9.1+). `false` doesn't filter.
folder_idNoOnly items directly in this folder, not subfolders. Folder ID (list_photo_collections type=folder).
person_idNoOnly items showing this person. Person ID (list_photo_collections type=person).
album_nameNoOr the album's name, case ignored; not with album_id.
min_ratingNoMinimum rating, 1-5.
start_dateNoTaken on or after this date, `YYYY-MM-DD` (the photo's local time).
folder_pathNoOr the folder's path, such as `/Trips/2024`; not with folder_id.
person_nameNoOr the person's name, case ignored; not with person_id.
sort_directionNo`desc` (default) or `asc`.desc

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.10.1
    • removedInput schema / properties / album
      Removed value: -{
      -  "description": "One album only (personal space). Album ID (list_photo_collections type=album) or unique name.",
      -  "type": "string"
      -}
    • addedInput schema / properties / album_id
      Added value: +{
      +  "description": "One album only (personal space). Album ID (list_photo_collections type=album).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / album_name
      Added value: +{
      +  "description": "Or the album's name, case ignored; not with album_id.",
      +  "type": "string"
      +}
    • removedInput schema / properties / folder
      Removed value: -{
      -  "description": "Only items directly in this folder, not subfolders. Folder ID (list_photo_collections type=folder) or path, such as `/Trips/2024`.",
      -  "type": "string"
      -}
    • addedInput schema / properties / folder_id
      Added value: +{
      +  "description": "Only items directly in this folder, not subfolders. Folder ID (list_photo_collections type=folder).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / folder_path
      Added value: +{
      +  "description": "Or the folder's path, such as `/Trips/2024`; not with folder_id.",
      +  "type": "string"
      +}
    • removedInput schema / properties / person
      Removed value: -{
      -  "description": "Only items showing this person. Person ID (list_photo_collections type=person) or unique name.",
      -  "type": "string"
      -}
    • addedInput schema / properties / person_id
      Added value: +{
      +  "description": "Only items showing this person. Person ID (list_photo_collections type=person).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / person_name
      Added value: +{
      +  "description": "Or the person's name, case ignored; not with person_id.",
      +  "type": "string"
      +}
  2. Addedv0.9.2

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description goes further by disclosing default ordering, that a total is returned, the per-row fields, and the non-obvious constraint that certain filters cannot be combined. Those combination rules materially change how an agent must build a query and are not recoverable from the annotations.

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?

Four sentences, front-loaded with the core action and scope, then filtering rules, then return shape and next-step routing. Dense semicolon-separated clauses cost some readability, but no sentence is filler and nothing is repeated from the schema verbatim.

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?

With 20 optional parameters and no output schema, the description carries the right burden: it explains the returned row fields, the total, default sort order, filter-combination constraints, and where to go for full details or file export. Nothing an agent needs to call this correctly or to interpret the result is missing.

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 the baseline is 3 and the schema already documents each parameter individually (defaults, ranges, ID sources). The description adds meaning beyond the schema by grouping parameters into combinable versus standalone sets, which the per-property text does not convey. It stops short of explaining interaction edge cases, so it is a solid but not maximal gain over the schema.

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 opening clause names a specific verb pair ('List or search') and the exact resource ('photos and videos in Synology Photos'), plus the default ordering ('newest first') and that a total is included. It is immediately distinguishable from siblings like get_photo, download_photos and list_files, which are named with their distinct roles.

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?

It gives explicit routing: pass ids to get_photo for full details, to download_photos to save files, and use File Station's list_files for files outside Photos 'when that module is enabled'. It also states which filter groups combine ('folder, person and tag combine with the date, type, rating and favorite filters') versus which must be used alone ('album, place, concept and keyword'), which is the key selection guidance for a 20-parameter search tool.

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