Skip to main content
Glama
mcp-synology

mcp-synology

Photos: Delete folders

delete_photo_folders
Destructive

Deletes Synology Photos folders and all their contents, moving items to the recycle bin when available. Confirm before running; large deletions continue on the NAS with a task handle.

Instructions

Delete folders in Synology Photos with everything in them (files and subfolders). They go to the recycle bin of the share that holds the space if it has one, otherwise they're gone. A large delete keeps running on the NAS and the reply gives a handle for photo_task. Confirm with the user first.

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": "delete_photo_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
spaceNo`personal` (default) or `shared` (Shared Space). IDs belong to one space.personal
folder_idsNoIDs of the folders (list_photo_collections type=folder); not the space root; at most 1,000 in all.
folder_pathsNoPaths of the folders, such as `/Trips/2024`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.10.1
    • addedInput schema / properties / folder_ids
      Added value: +{
      +  "description": "IDs of the folders (list_photo_collections type=folder); not the space root; at most 1,000 in all.",
      +  "items": {
      +    "type": "integer"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / folder_paths
      Added value: +{
      +  "description": "Paths of the folders, such as `/Trips/2024`.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / folders
      Removed value: -{
      -  "description": "Not the space root; at most 1,000. Folder ID (list_photo_collections type=folder) or path, such as `/Trips/2024`.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / required
      Removed value: -[
      -  "folders"
      -]
  2. Addedv0.9.2

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds consequences the annotation cannot: subfolders are removed too, data goes to the share's recycle bin only if one exists and is otherwise unrecoverable. It also discloses the asynchronous execution model and that the reply carries a handle for photo_task, which changes how the caller must poll.

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?

Three short sentences ordered by importance: what is destroyed, what happens to it, then the confirmation requirement. The irreversibility caveat and the async-handle note are each one clause and nothing is repeated from the schema.

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 three-parameter destructive tool with no output schema, the description covers the safety profile, recoverability, and async follow-up — everything an agent needs before invoking. The only gap is that it never clarifies the relationship between folder_ids and folder_paths, which is material given that zero parameters are required.

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 space, folder_ids, and folder_paths are already documented with their constraints (1,000-item cap, not the space root, ID-per-space rule). The description adds no parameter-level meaning and does not explain how the two target selectors relate, leaving it at the baseline for a fully documented 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 and resource — 'Delete folders in Synology Photos with everything in them (files and subfolders)' — and the recursive-contents clause cleanly separates it from deleting photos or albums among the siblings. An agent can tell what is being removed and at what granularity without opening the schema.

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

Usage Guidelines4/5

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

Gives an explicit precondition ('Confirm with the user first') and routes the long-running case to photo_task by name, which is real when-to-use guidance. It stops short of naming the alternative tools to pick when the target is a photo or an album rather than a folder, so the agent must infer that boundary from the sibling names.

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