Skip to main content
Glama

lightroom_library_structure

Draw the complete Lightroom cloud folder and album tree, including API-made items that standard album lists omit, and find items by name with full path, parent, type, and origin.

Instructions

The complete folder and album structure of the account. Reads every page of all four album types (app-made: collection, collection_set; API-made: project, project_set) and draws the tree: [F] folder, [A] album, "api" marks API-made items, each with its id, and folders with album and sub-folder counts. API-made folders such as "Automation" are NOT shown by lightroom_list_albums or, usually, in the main album list of the Lightroom apps. Use find to locate one by name and get its full path and parent. By default only folders are drawn (to keep it short): pass include_albums for albums, folder_id to draw one folder.

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

Input Schema

NameRequiredDescriptionDefault
findNoPart of a folder or album name. Returns each match with its path, parent, type and how it was made.
folder_idNoDraw only this folder and everything inside it.
max_depthNo
include_albumsNoAlso list albums, not just folders.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does most of it: it states that every page of all four album types is read (pagination handled), that output is a drawn tree with a legend ([F], [A], 'api' markers, ids, album and sub-folder counts), and that the default is folders-only to keep output short. It stops short of saying anything about permissions, read-only safety, or cost on very large accounts.

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 core purpose is front-loaded in the first sentence and every subsequent clause is functional, including the output legend, which is genuinely needed because there is no output schema. The middle paragraph is dense and slightly run-on, bundling the legend, the sibling contrast, and the find guidance into one block.

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

Completeness5/5

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

There is no output schema, so the description must explain the return shape, and it does with the [F]/[A]/api legend plus counts. Combined with coverage of all traversal modes and defaults, an agent has everything required to call this correctly on the first attempt.

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?

The description adds meaning beyond the schema for three of the four parameters, not just restating them: `find` returns each match with path, parent, type and provenance; `folder_id` draws one folder and everything inside it; `include_albums` widens beyond folders. The schema only partially documents `find`, `folder_id`, and `include_albums`, and `max_depth` is undocumented in both places, keeping it below a 5.

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 states a concrete verb and resource ('draws the complete folder and album structure of the account'), enumerates the four album types it traverses, and explicitly contrasts itself with lightroom_list_albums, which does not surface API-made folders. An agent can distinguish this tree-view tool from flat listing siblings without opening any schema.

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?

It gives an explicit when-to-use branch: use `find` to locate a single item by name and obtain its path and parent, use `folder_id` to scope to one subtree, and pass `include_albums` when albums are needed (default only draws folders). It also names the specific case where a sibling misses data, which is exactly the routing information an agent needs.

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