Skip to main content
Glama

delete_collection

Remove a collection from Lightroom Classic by specifying its ID to manage your photo catalog and organize your editing workspace.

Instructions

Delete a collection by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collection_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the delete_collection tool, which is registered as an MCP tool and calls the internal _call method.
    @mcp.tool()
    async def delete_collection(collection_id: int) -> dict[str, Any]:
        """Delete a collection by its ID."""
        return await _call("catalog.delete_collection", {"collection_id": collection_id})
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. While 'Delete' implies a destructive mutation, the description doesn't specify whether this action is reversible (e.g., via 'undo'), requires specific permissions, has side effects (e.g., removing photos from the collection first), or returns confirmation data. For a mutation tool with zero annotation coverage, this is a significant gap.

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?

The description is a single, clear sentence with zero wasted words. It's front-loaded with the core action and resource, making it easy to parse. Every word earns its place, and there's no redundancy or fluff.

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?

Given that there's an output schema (which handles return values), the description's main gaps are behavioral transparency and usage guidelines. For a destructive tool with no annotations, the description should at least warn about irreversibility or mention prerequisites. It's minimally adequate but lacks critical context for safe operation.

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?

The description mentions 'by its ID', which aligns with the single parameter 'collection_id' in the schema. However, schema description coverage is 0%, so the schema provides no additional details about the parameter. The description adds minimal semantics (it's an ID) but doesn't explain format, validation, or where to find the ID (e.g., from 'list_collections'). Baseline 3 is appropriate given the single parameter.

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 clearly states the action ('Delete') and target resource ('a collection by its ID'), which is specific and unambiguous. It distinguishes from sibling tools like 'create_collection' and 'remove_from_collection' by focusing on permanent deletion rather than creation or modification. However, it doesn't explicitly mention that this is a destructive operation, which would make it a perfect 5.

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 description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., whether the collection must be empty), compare it to similar tools like 'delete_snapshot', or warn about irreversible consequences. The agent must infer usage from the tool name alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/4xiomdev/lightroom-classic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server