Skip to main content
Glama
mcp-synology

mcp-synology

Photos: Folder

photo_folder
DestructiveIdempotent

Create or rename Synology Photos folders and set a folder cover photo, with duplicate names refused; use copy_photos or move_photos for moving or copying.

Instructions

Create or rename a folder in Synology Photos, or set its cover photo. A name the parent folder already has is refused. To copy or move folders use copy_photos / move_photos; to delete, delete_photo_folders. For folders outside Photos, use File Station's create_folder and rename when File Station write is enabled, or ask the user to do it in DSM.

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": {
      "action": "<action>"
    },
    "name": "photo_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOne folder name, without `/`.
spaceNo`personal` (default) or `shared` (Shared Space). IDs belong to one space.personal
actionYes`create` (`name` inside the parent folder), `rename` (the folder to `name`) or `set_cover` (the folder, `item_id`).
item_idNo`set_cover`: an item ID from list_photos.
folder_idNoFor `rename` and `set_cover`; not the space root. Folder ID (list_photo_collections type=folder).
parent_idNo`create`: the parent folder's ID, or parent_path.
folder_pathNoOr the folder's path, such as `/Trips/2024`; not with folder_id.
parent_pathNoOr its path, such as `/Trips` (`/`: the space root).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.10.1
    • changedInput schema / properties / action / description
      Previous value: -"`create` (`name` inside `parent`), `rename` (`folder` to `name`) or `set_cover` (`folder`, `item_id`)."New value: +"`create` (`name` inside the parent folder), `rename` (the folder to `name`) or `set_cover` (the folder, `item_id`)."
    • removedInput schema / properties / folder
      Removed value: -{
      -  "description": "For `rename` and `set_cover`; not the space root. Folder ID (list_photo_collections type=folder) or path, such as `/Trips/2024`.",
      -  "type": "string"
      -}
    • addedInput schema / properties / folder_id
      Added value: +{
      +  "description": "For `rename` and `set_cover`; not the space root. 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 / parent
      Removed value: -{
      -  "default": "/",
      -  "description": "`create`: the parent folder's ID or path (default `/`, the space root).",
      -  "type": "string"
      -}
    • addedInput schema / properties / parent_id
      Added value: +{
      +  "description": "`create`: the parent folder's ID, or parent_path.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / parent_path
      Added value: +{
      +  "description": "Or its path, such as `/Trips` (`/`: the space root).",
      +  "type": "string"
      +}
  2. Addedv0.9.2

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations it adds a real behavioral rule ('A name the parent folder already has is refused') and a permission/enablement prerequisite ('when File Station write is enabled'), plus a user-facing fallback. The one gap is that destructiveHint=true is never explained — nothing says that set_cover replaces an existing cover or what rename does to shares/links on the folder.

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?

Front-loaded with purpose, then the uniqueness constraint, then routing to alternatives — no wasted framing. The final File Station/DSM sentence is slightly long but carries distinct, actionable fallback information.

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 an 8-parameter, multi-action mutation tool with annotations present and no output schema, the description covers purpose, refusal behavior, prerequisites and alternatives adequately. It stops short of explaining what each action changes or returns, which matters most for set_cover given destructiveHint=true.

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%, so the schema already documents every parameter including the per-action meaning of action, space, folder_id, parent_id and the *_path alternatives. The description only restates the action verbs, adding no syntax or edge-case detail (e.g. how space interacts with IDs) 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?

States a specific verb set and resource: 'Create or rename a folder in Synology Photos, or set its cover photo', which maps directly onto the three action values. It also distinguishes itself from copy_photos, move_photos, delete_photo_folders, and File Station's create_folder/rename by name.

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 routing: copy/move go to copy_photos / move_photos, deletion goes to delete_photo_folders, and folders outside Photos fall back to File Station or the DSM UI. Both the when-to-use-this and the when-to-use-something-else cases are stated.

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