Skip to main content
Glama
chepetime

Calibre Librarian MCP Server

by chepetime

Library maintenance

library_maintenance
Destructive

Run maintenance operations: check library integrity, backup metadata to OPF files, embed metadata into book files, or vacuum the database.

Instructions

Run Calibre library maintenance operations: check integrity, backup metadata to OPF files, embed metadata into book files, or vacuum the database. Some operations modify files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bookIdsNoComma-separated book IDs for embed_metadata. If not provided, processes all books.
operationYesMaintenance operation: 'check' (verify library integrity), 'backup_metadata' (save to OPF files), 'embed_metadata' (write metadata into book files), 'vacuum' (compact database).
onlyMissingCoversNoFor embed_metadata: only process books without embedded covers.
Behavior2/5

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

Annotations already provide destructiveHint=true and readOnlyHint=false. The description adds 'Some operations modify files' which aligns with the destructive hint but adds little context. It does not specify which operations are destructive or what other side effects occur (e.g., database compaction, metadata changes).

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 a single sentence that efficiently lists the operations. It is concise and front-loaded, though slightly more structure (e.g., separating operations) could improve clarity.

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 the tool has 3 parameters and no output schema, the description covers the core purpose and operations. However, it lacks information about expected outputs (e.g., success messages, logs), error handling, or prerequisites like library path. This gap reduces completeness.

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%, so the schema already explains each parameter adequately. The description provides a brief mapping of operations but does not add new details beyond what is in the schema. Thus, baseline score of 3 applies.

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 clearly states the tool performs Calibre library maintenance operations and enumerates four specific operations (check, backup metadata, embed metadata, vacuum). This distinguishes it from sibling tools like set_metadata or compare_books.

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

Usage Guidelines3/5

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

The description lists the operations but does not explicitly state when to use this tool versus alternatives like set_metadata or bulk_retag. The usage context is implied but lacks explicit guidance on when not to use it or prerequisites.

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/chepetime/calibre-librarian-mcp'

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