Skip to main content
Glama

Delete a library

immich_delete_library
DestructiveIdempotent

Delete an Immich external library by its UUID to remove unwanted or obsolete libraries from the server.

Instructions

Delete a library

Delete an external library by its ID.

Immich operation: DELETE /libraries/{id} · tag: Libraries

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesformat: uuid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds the API endpoint and clarifies that it targets an external library by ID, but it does not disclose cascading effects, permission requirements, or what happens to associated assets.

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 definition is short and front-loads the action. The first line repeats the title, and the API-operation line is metadata rather than explanation, but there is no unnecessary filler.

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 simple one-parameter delete operation with annotations covering destructiveness and idempotency, the description is minimally sufficient. However, it omits usage context and any caution about the impact of deleting an external library, which would help an agent decide when this tool is appropriate.

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% for the single required id parameter, and the schema specifies the UUID format. The description only repeats 'by its ID' and adds no further meaning beyond 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: 'Delete an external library by its ID.' It also includes the exact API operation, so an agent can distinguish this from deletion tools for albums, assets, users, and other resources 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 Guidelines2/5

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

The description explains what the tool does but gives no guidance on when to use it versus alternatives such as immich_update_library, immich_scan_library, or immich_get_library. There are no prerequisites, warnings, or exclusions.

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

Deploy Server

Other Tools