Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CALIBREDB_PATHNoPath to calibredb binary. Auto-detected via PATH if not provided.
CALIBRE_LIBRARY_PATHNoPath to Calibre library directory~/Calibre Library

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_booksB

Search books in the Calibre library using Calibre's search syntax.

Search syntax examples:

  • Simple text: "robot" (searches all fields)

  • Field-specific: author:asimov, title:"magic tree house", tag:fiction

  • Boolean: author:asimov AND title:foundation

  • Series: series:"magic tree house"

Args: query: Search expression using Calibre's query language fields: Fields to include in results limit: Max number of results (omit for all) sort_by: Field to sort by

get_book_infoA

Get detailed metadata for a book by its Calibre ID.

Returns title, authors, series, tags, formats, file paths, and all other metadata.

Args: book_id: The Calibre book ID

get_epub_pathA

Get the absolute file path of a book's EPUB file.

This is the core tool for the reading-quiz workflow — returns the EPUB path so it can be unzipped and chapters read directly.

Args: book_id: The Calibre book ID

list_seriesA

List all books in a series, sorted by series_index.

Great for seeing the full reading order of a series like "Magic Tree House".

Args: series_name: Name of the series to look up fields: Fields to include in results

get_custom_columnsA

List all custom columns defined in the Calibre library.

Custom columns are user-defined metadata fields beyond the standard fields (title, author, tags, etc.).

Args: details: Include column types, default values, and other metadata

set_custom_columnA

Set the value of a custom column for a book.

Custom columns are referenced by their lookup name (e.g. "#status", "#rating"). Use get_custom_columns() to see available columns.

Args: book_id: The Calibre book ID column: Custom column lookup name (e.g. "#status") value: Value to set append: If True, append to existing values instead of replacing

set_metadataA

Set standard metadata fields for a book.

Supported fields: title, authors, author_sort, comments, cover, isbn, languages, pubdate, publisher, rating, series, series_index, sort, tags, title_sort, identifiers.

Note: this REPLACES field values. For tags, pass all desired tags comma-separated. For identifiers: "isbn:123456,goodreads:789".

Args: book_id: The Calibre book ID fields: Dict of field_name → value, e.g. {"tags": "sci-fi,classics", "series": "Foundation"}

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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

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