Skip to main content
Glama

lychee_photos

Read-only

List and retrieve photos from a self-hosted Lychee gallery via /api/v2, filtering by album, page, or query and fetching individual photos by ID.

Instructions

lychee_photos covers the photos toolset (2 operations). Calls go to LYCHEE_URL under /api/v2. The Authorization header is the raw token. action help with target returns one action's parameters. Actions: list, get.

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

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON object or JSON array. Passwords are redacted in output.
queryNoQuery parameters, such as album_id, page, and q.
actionYesLychee operation to call, or help.
paramsNoPath parameters, such as photo_id.
targetNoWith action help, the action whose parameters to describe.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false. The description adds useful auth and endpoint context (LYCHEE_URL /api/v2, raw token Authorization) and help behavior, but says nothing about pagination, rate limits, or result shape for list/get.

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 description is short and mostly front-loaded with the tool domain, then endpoint/auth, then action behavior. A few sentences are useful, though the action list is separated from the opening operation count and could be tighter.

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

Completeness3/5

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

For a two-operation read-only tool with complete parameter documentation and annotations, the description covers endpoint, auth, and help. However, with no output schema, it does not explain what list/get return or how operations differ in practice, leaving meaningful gaps.

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 100%, so the schema already documents action, params, query, body, and target. The description restates the help/target relationship and action names, adding little meaning beyond the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the photos toolset and lists the two operations (list, get), which lets an agent identify the resource and available actions. It does not phrase the operations as explicit verbs or distinguish this from lychee_search beyond the domain name, so it is clear but not maximally specific.

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

Usage Guidelines2/5

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

The only usage guidance is for the help action with target; there is no explanation of when to use list versus get, or when another sibling such as lychee_search is more appropriate. An agent must infer operation choice from the enum and schema.

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