Skip to main content
Glama
mcp-synology

mcp-synology

Photos: Download

download_photos
Destructive

Download Synology Photos items by ID to a local folder as original files or JPEG previews, with overwrite control and allowed-folder safety.

Instructions

Download Synology Photos items by id to a folder on this machine: the original files or JPEG previews, one file per item, named after the original. Only writes inside the allowed local folders, and never replaces an existing file unless overwrite=true. Items that share a name get their id added; to retry part of a call, repeat it with the same ids in the same order, since names depend on all of them. For files outside Photos, use File Station's download_file when that module is enabled.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ids": "<ids>"
    },
    "name": "download_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes1-50 item IDs from list_photos.
sizeNo`original` (default), or a JPEG preview saved as `<name>_<size>.jpg`: `xl`, `m` or `sm`: 1280, 320 or 240 px on the short side, never larger than the original.original
spaceNo`personal` (default) or `shared` (Shared Space). IDs belong to one space.personal
overwriteNoReplace a local file with the same name; otherwise that item is skipped.
dest_folderNoAn existing local folder: one of the allowed local folders (/root/Downloads), or one below it; default the allowed folder, when there's only one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.0
    • changedInput schema / properties / size / description
      Previous value: -"`original` (default), or a JPEG preview saved as `<name>_<size>.jpg`: `xl` (~1280 px), `m` (~320 px) or `sm` (~240 px)."New value: +"`original` (default), or a JPEG preview saved as `<name>_<size>.jpg`: `xl`, `m` or `sm`: 1280, 320 or 240 px on the short side, never larger than the original."
  2. Addedv0.9.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=true; the description justifies that by disclosing that it only writes inside allowed local folders and refuses to replace an existing file unless overwrite=true. It further explains that skipped items happen on name collision and that generated names depend on the full id list, which is real behavioral context not derivable from annotations. It stops short of describing the response payload or partial-failure reporting.

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 write-scope and overwrite guarantees are front-loaded, followed by naming/retry semantics and then sibling routing. It is dense but nearly every clause carries information; the only mild cost is that the retry/naming sentence is long and requires careful reading.

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

Completeness4/5

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

For a five-parameter write tool with no output schema, the definition covers destination constraints, overwrite behavior, naming collisions, retry determinism, and the sibling alternative. The remaining gap is what the call returns (paths, skipped items), so an agent cannot confidently report results without trial.

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, and the description adds meaning beyond it: it clarifies that size selects originals versus previews, that dest_folder is constrained to allowed local folders under /root/Downloads, and that ids ordering affects output names. It does not restate the enum-like size values, but it does add the collision-naming rule the schema omits.

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 sentence gives a specific verb (Download), resource (Synology Photos items by id), destination (a local folder), and the variant space (originals or JPEG previews), plus the on-disk naming rule. It explicitly contrasts itself with the sibling download_file for non-Photos files, so an agent can route without opening either schema.

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 names the alternative tool (File Station's download_file) and the precise condition that selects it (files outside Photos, and only when that module is enabled). It also gives a retry protocol: repeat the call with the same ids in the same order, which is non-obvious operational guidance.

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