Skip to main content
Glama
mcp-synology

mcp-synology

Photos: Upload

upload_photos

Upload local photos and videos to a Synology Photos folder or existing album, with duplicate handling and timeout-aware results for unsent files.

Instructions

Upload photos or videos from this machine into a Synology Photos folder, optionally adding them to an existing album. Only reads files inside the allowed local folders. Starts no new file after the configured task timeout (30 s by default, at most 45 s) and lists the files not tried, to pass to another call. Photos indexes new items over the next seconds to minutes; until then their taken dates and previews may be missing.

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": {
      "local_paths": "<local_paths>"
    },
    "name": "upload_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
spaceNo`personal` (default) or `shared` (Shared Space). IDs belong to one space.personal
album_idNoAn existing album to add them to (personal space; create one with photo_album). Album ID (list_photo_collections type=album).
folder_idNoThe existing folder's ID; this or folder_path is required.
album_nameNoOr the album's name, case ignored; not with album_id.
folder_pathNoOr its path, such as `/Trips` (`/`: the space root).
local_pathsYes1-50 local files inside one of the allowed local folders (/root/Downloads), or below it.
on_duplicateNoA file with that name already there: `rename` (default) keeps both, `skip` leaves the existing one and skips that file.rename

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.10.1
    • removedInput schema / properties / album
      Removed value: -{
      -  "description": "An existing album to add them to (personal space; create one with photo_album). Album ID (list_photo_collections type=album) or unique name.",
      -  "type": "string"
      -}
    • addedInput schema / properties / album_id
      Added value: +{
      +  "description": "An existing album to add them to (personal space; create one with photo_album). 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: -{
      -  "default": "/",
      -  "description": "The existing folder's ID or path (default `/`, the space root).",
      -  "type": "string"
      -}
    • addedInput schema / properties / folder_id
      Added value: +{
      +  "description": "The existing folder's ID; this or folder_path is required.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / folder_path
      Added value: +{
      +  "description": "Or its path, such as `/Trips` (`/`: the space root).",
      +  "type": "string"
      +}
  2. Addedv0.9.2

TDQS

A4/5.0
Behavior4/5

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

The annotations declare a non-destructive write, and the description adds meaningful behavior: it only reads from allowed local folders, stops starting new files at the task timeout, reports untried files for a follow-up call, and warns that Photos indexing may temporarily hide taken dates and previews. It does not fully explain the success response, but it discloses several operational traits beyond 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.

Conciseness5/5

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

The description is compact and front-loaded, with each sentence carrying distinct operational information about scope, timeout behavior, retry leftovers, and indexing lag. There is no redundant restatement of the name or title.

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 write tool with no output schema, the description covers the most important edge cases: allowed source locations, timeout truncation, untried files, and delayed indexing. It stops short of describing the success payload or any size limits, but the operational guidance is otherwise sufficient for correct invocation.

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 coverage is complete, so the schema already documents the seven parameters, including the album and folder alternatives and duplicate handling. The description reinforces a few meanings, such as optional album placement and local path restrictions, but does not add syntax or selection detail beyond 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 description gives a specific verb and resource: uploading photos or videos into a Synology Photos folder, with optional album placement. It distinguishes this from a generic file upload by tying the result to Photos indexing and album membership.

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 context makes it clear that this tool is for Photos content and that leftover files should be passed to another call, but it never explicitly says when to choose this over upload_file or other upload-related siblings. Usage is strongly implied rather than stated as a selection rule.

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