Skip to main content
Glama
mcp-synology

mcp-synology

photo_share_link

Destructive

Share a Synology Photos album by link, set public view or download access, password, expiry and members, update existing links, or stop sharing.

Instructions

Share a Synology Photos album by link, change the link's public access, password, expiry and members, or stop sharing. A password or an expiry needs public view or download: Photos drops them on a link without public access, so they're refused there. Stopping keeps the link, and sharing again brings it back with its settings reset. Personal space albums only.

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_share_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes`share` (turns the link on, public access `none` unless given; returns the link), `update` (an album already shared) or `stop` (turns it off; no settings).
publicNoWhat anyone with the link can do: `none` (invited members only), `view` or `download`. `none` also clears the password and expiry.
expiresNoLink expiry: `YYYY-MM-DD` (end of that day, UTC), a date-time with offset (`2026-12-31T18:00-05:00`) or `never`. Except `never`, needs public `view` or `download`.
membersNoDSM users or groups, each `{"name": ..., "type": "user" (default) or "group", "role": "view" (default), "download", "upload" or "none" (removes)}`.
album_idNoAlbum ID (list_photo_collections type=album).
passwordNoLink password; `""` removes it. Needs public `view` or `download`.
album_nameNoOr the album's name, case ignored; not with album_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.10.1
    • removedInput schema / properties / album
      Removed value: -{
      -  "description": "Album ID (list_photo_collections type=album) or unique name.",
      -  "type": "string"
      -}
    • addedInput schema / properties / album_id
      Added value: +{
      +  "description": "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"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "action",
      -  "album"
      -]New value: +[
      +  "action"
      +]
  2. Addedv0.9.2

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint=false/destructiveHint=true annotations by disclosing that Photos silently drops password and expiry when the link lacks public access, that stopping preserves the link, and that re-sharing resets its settings. The reset-on-reshare behavior is exactly the kind of consequence an agent needs before calling a destructive mutation.

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?

Front-loaded with the operation set, followed by the constraint that governs password/expiry, then lifecycle behavior, then scope. Every sentence carries distinct information with no repetition of schema text.

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 7-parameter destructive mutation with no output schema, the description covers action semantics, cross-field constraints, lifecycle, and scope. The only minor gap is what update returns (share's return is noted, but the update/stop responses are not described), which is low-risk given callers mainly need the link behavior.

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; the description earns above that by stating the cross-parameter constraint that password and expiry require public view/download, and that public=none clears both. This coupling is not derivable from the individual field descriptions alone, though per-field syntax details remain in 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 and resource ('Share a Synology Photos album by link') and enumerates the full operation set: share, update access/password/expiry/members, and stop sharing. The scope restriction 'Personal space albums only' further narrows it so an agent can distinguish it from general album tools like photo_album or delete_photo_albums.

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 clear context for each action (share turns the link on, update requires an album already shared, stop turns it off) and points to list_photo_collections for obtaining album_id. It does not explicitly contrast with sibling tools such as photo_album, but the personal-space-only constraint and action semantics make usage conditions clear.

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