Skip to main content
Glama
caelum29

calibre-mcp

by caelum29

Search books

calibre_search
Read-only

Search your Calibre library using exact title, author, ISBN, tag, or full-text keywords. Retrieve book metadata or scan inside a single book for relevant passages, with optional filtering by bundle and count-only results.

Instructions

Find books by exact title, author, ISBN, tag, or Calibre query syntax (mode=meta), or by full text (mode=fts). scope=book returns short keyword snippets from inside one book; first hits often land in TOC/front matter — for definitional or topic questions within a book prefer calibre_semantic_search scope=book (ranked passages with char offsets). Use calibre_semantic_search for meaning/topic queries. For "how many" questions use countOnly=true (returns only the count). filter accepts a bundle name to scope the search (list bundles via calibre_manage_bundles).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNometa
sortNo
limitNo
queryYes
scopeNolibrary
bookIdNo
cursorNo
filterNo
libraryNo
countOnlyNo
sortOrderNo
include_excludedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
countNo
queryNo
scopeNo
totalNo
bookIdNo
filterNo
offsetNo
bookIdsNo
nextCursorNo
exclusionsAppliedNo
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description does not need to restate those. The description adds value by explaining that scope=book returns short keyword snippets often from TOC/front matter, which is behavioral context beyond annotations. No contradiction with annotations.

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 relatively concise for the complexity of the tool, with front-loaded purpose and clear examples. However, it could be slightly more structured (e.g., bullet points) and it mentions 'filter' and 'bundle' which may confuse if not explained further.

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

Completeness4/5

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

Given that output schema exists, the description appropriately focuses on input semantics and behavior. It explains the core differences between modes, scopes, and filters, and references sibling tools. It lacks explanation on pagination (cursor) and sorting, which are in the schema but not described. Still, it is mostly complete for a search tool.

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?

Schema description coverage is 0%, so the description must compensate. It explains the meaning of mode, scope, countOnly, filter, and gives context for how query works. However, it does not explain all 12 parameters (e.g., bookId, cursor, sort, sortOrder, include_excluded, library). It covers about half the parameters, which is good but not comprehensive.

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 that this tool finds books by exact title, author, ISBN, tag, or Calibre query syntax (mode=meta), or by full text (mode=fts). It also distinguishes different scopes (library vs book) and provides specific guidance on when to use countOnly. This is specific verb+resource description with clear sibling differentiation.

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?

The description explicitly tells the agent when to use calibre_semantic_search (for meaning/topic queries and within-book semantic search) instead of this tool, and advises using countOnly for 'how many' questions. It also explains that scope=book returns keyword snippets often from TOC/front matter, giving clear context for when each scope is appropriate.

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

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