calibre-mcp
This server exposes read-only Calibre library discovery, search, reading, audit, and local semantic-index tools, plus widget-internal helpers.
List Calibre libraries and identify the default.
Search books by metadata or full text, including inside a single book, with counts and cursor paging.
Fetch full book metadata, cover links, categories, and category values with counts.
Read book text as capped excerpts or chapter maps, using cursors/offsets to walk content.
List and fetch book figures with captions, page locations, and images.
Run semantic search over a local index in hybrid, vector, or keyword modes, including figure-caption search.
Build/refresh the semantic or keyword-only index, with resume/prune/force options.
Find duplicate groups, compare books, and assess merge safety.
Run quality audits for missing metadata, raw filenames, invalid ISBNs, author-sort issues, and series gaps.
Propose metadata recovery from Open Library/Google Books without writing to the library.
Ping Calibre and report semantic-search/index status for diagnostics.
Internal widget endpoints provide cover-board data and open books in the local viewer.
Library editing (update/delete/merge/import) is not exposed in this schema; index building writes only local index data.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@calibre-mcpsearch my library for books about climate change"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
📚 calibre-mcp
The most capable Calibre MCP server in existence — connect Claude (or any MCP client) to your Calibre ebook library and search it by meaning, not just keywords.
Ask your AI assistant “which of my books explain consumer-group rebalancing?” and get the exact chapter — across 800+ books or inside one. Curate metadata, dedupe, and safely edit your library, all through natural language.
✨ Highlights
19 tools covering the full surface: search, read content, browse categories, curate, and (opt-in) write — update metadata, bulk-edit, merge duplicates, import, delete, and manage bundles (named topical filters).
Semantic search — meaning-based, hybrid vector + keyword retrieval over your whole library or inside a single book. Multilingual (English + Russian verified, cross-lingual queries work). No other Calibre MCP server has this.
In-chat UI (MCP Apps) — in hosts that support MCP Apps (Claude Desktop), library searches render an interactive cover carousel,
calibre_get_booka book detail card with cover, rating, and read/similar actions, andcalibre_get_figuresa figure viewer that shows you the same diagrams the assistant fetched. Text-only hosts are unaffected.Curation tools — find duplicates with merge-safety scoring, audit metadata quality, and recover real metadata for books with raw filenames (
795731065.pdf→ Fundamentals of Software Engineering) via Open Library / Google Books.Safe by default — read-only unless you explicitly enable writes; destructive operations preview first and require confirmation; all writes route through the Content Server so they never race the Calibre GUI.
Related MCP server: access-calibre
📋 Requirements
Calibre with the Content Server running (in Calibre: Connect/share → Start Content server). Tested against Calibre 9.x; any recent version should work.
Node.js ≥ 22.16 for the npm/npx install (not needed for the Claude Desktop one-click bundle — Desktop ships its own runtime).
Optional, for best PDF text extraction: poppler's
pdftotext(brew install poppler) or Python 3 with PyMuPDF (pip install pymupdf). Without them the server falls back to Calibre'sebook-convert.
🚀 Quick start
Easiest — let your agent install it for you
Grab the guided-installer skill and hand the whole job to your agent:
npx skills@latest add caelum29/calibre-mcp # pick calibre-mcp-setupThen tell your agent: "set up calibre-mcp". The calibre-mcp-setup skill drives
everything below — preflight (Node, calibredb, Content Server), the Calibre-side
config, the right install for your client (macOS/Windows/Linux), and a calibre_ping
verification — asking you only the questions that are yours to answer (which client,
writes on/off). Works in any Agent-Skills-compatible harness (Claude Code, Copilot,
Amp, …). Prefer doing it by hand? Pick your client below.
Claude Code
MCP server only:
claude mcp add calibre -- npx -y calibre-mcpOr install the plugin — server and the companion skills in one step, with a settings dialog (server URL, library, write gate) at install time:
/plugin marketplace add caelum29/calibre-mcp
/plugin install calibre-mcp@caelum29Claude Desktop (one-click)
Download the .mcpb bundle from the
latest release and open it —
Claude Desktop installs it and prompts for settings (server URL, library, writes on/off).
No terminal needed.
About the install warning. Claude Desktop shows “Installing will grant this extension access to everything on your computer… developer information has not been verified by Anthropic” for every extension installed from a file rather than the built-in directory — it’s not specific to this one. The server runs as a local Node process under your user account, exactly like the
npxinstall below; the bundle is built and published by CI from this repository, so you can audit what you’re running. Click Install to proceed.
The bundle ships without the optional embeddings dependency to stay small, so the two semantic-search tools report themselves unavailable. Metadata and full-text search work fully. For semantic search, use the npx install below instead.
Claude Desktop (JSON config)
Add to claude_desktop_config.json:
{
"mcpServers": {
"calibre": {
"command": "npx",
"args": ["-y", "calibre-mcp"]
}
}
}Cowork
Configure the server in Claude Desktop (either method above) — Desktop bridges local MCP servers into Cowork automatically. No extra setup.
Skills only — any agent (Claude Code, Codex, Cursor, …)
The repo's Agent Skills — a guided installer (calibre-mcp-setup), the calibre-mcp usage
guide, and the two distill skills — install into any Agent-Skills-compatible harness with
the skills.sh installer:
npx skills@latest add caelum29/calibre-mcpPick the skills and target agents interactively. Two philosophies, same as
mattpocock/skills: skills.sh copies the files
into your setup so you can hack on them; the Claude Code plugin (above) keeps them as a
managed, auto-updating bundle. Either way the skills drive this MCP server's tools, so
install the server too — or let the calibre-mcp-setup skill do it: it walks any agent
through preflight, per-client install (macOS/Windows/Linux), and verification.
First contact — a five-prompt tour
The server auto-detects your default library; if the Content Server isn’t reachable it logs an actionable hint to stderr. Then try, in order:
“list my calibre libraries” — connectivity sanity check.
“find books about Rust” — metadata search; in Claude Desktop the results render as the cover carousel above.
“show me The Rust Programming Language” — full metadata; renders as a book card with cover, rating, and per-format read buttons.
“show me figure 2.3 from the JWT Handbook” — the figure arrives as an image for the assistant and, in Claude Desktop, in a figure viewer you can zoom and pan. If the first description doesn’t match what you see, ask “look at the image — what does it actually show?”: models sometimes answer figure questions from memory before reading the pixels (the tool result nudges them to look; see Troubleshooting).
“build the semantic index for my Kafka books” — one-time prep for meaning-based search (see below).
“which of my books explain consumer-group rebalancing?” — semantic search; answers with ranked books, or exact passages when scoped to one book.
Bonus: “what’s wrong with my library?” runs the quality audit (missing metadata, raw-filename titles, invalid ISBNs).
✍️ Enabling writes
Write tools (calibre_update_book, calibre_bulk_update, calibre_add_book,
calibre_remove_book, calibre_merge_books, calibre_manage_bundles) are hidden by
default — including calibre_manage_bundles' read-only list action, since the gate works
per tool, not per action. Two independent switches must be on:
The MCP-side gate — set
CALIBRE_MCP_ENABLE_WRITE=1(or tick Enable writes in the Desktop bundle settings). Without it the write tools are disabled — hidden from the tool list and uncallable.The Calibre-side gate — the Content Server must allow local writes. By default the server embedded in the Calibre GUI is read-only, so either enable the GUI option below or run a standalone server with
--enable-local-write:# quit the Calibre GUI first (it holds the library lock), then: calibre-server --enable-local-write --port 8080 "/path/to/Calibre Library"Or enable it on the GUI-embedded server without quitting the app: open Calibre → Preferences → Sharing over the net → Advanced and tick “Allow un-authenticated local connections to make changes to the library” (i.e. permit local write access), then restart the Content Server from the GUI. This is the
--enable-local-writeequivalent for the embedded server.
With only the first switch on, write tools appear but Calibre refuses the write — the error message tells you exactly that. Reads work fine against the GUI-embedded server.
Safety behavior: calibre_bulk_update requires an explicit book selection (ids or
query — there is no “all books” default) and previews changes until you pass
preview: false. calibre_remove_book is a dry-run until you pass confirm: true;
deletion removes records and files, permanently. calibre_merge_books shows its full
merge plan until you pass confirm: true, and trashed sources stay recoverable from
Calibre's trash (mode safe keeps them entirely). calibre_add_book only imports files
from whitelisted folders (CALIBRE_MCP_ADD_ROOTS).
🔎 Semantic search
Deep dive:
docs/SEMANTIC-SEARCH.md— how indexing, hybrid retrieval, and reranking work.
Meaning-based search is opt-in and needs two things:
The embeddings dependency —
@huggingface/transformersis anoptionalDependenciesentry, so a normalnpx calibre-mcp/npm installgets it automatically. (Only the MCPB bundle excludes it.)An index — ask Claude to run
calibre_build_indexfor the books you care about (by ids or a Calibre query). The first build downloads the embedding model (multilingual-e5-small, ~118 MB, one-time) into the index directory; after that everything runs offline. Indexing runs at roughly 100 chunks/sec on Apple Silicon.
Search results are sharpened by a cross-encoder reranker whose model is a separate
~576 MB one-time download. calibre_build_index pre-downloads it during the build —
the step you already expect to be slow. If you skip straight to searching on a machine
without the cached model, your first hybrid/vector search triggers that download
instead. Reranking also adds seconds of CPU per semantic search; set
CALIBRE_MCP_RERANK=off to disable it (faster, noticeably less precise ranking).
Then calibre_semantic_search answers queries like “which of my books explain consumer
group rebalancing?” — across the library (scope: library, ranks books) or within one
book (scope: book, returns located passages). Retrieval is hybrid by default:
vector cosine + stemmed keyword FTS, fused with reciprocal rank fusion, then reranked by
the cross-encoder (top 30 candidates) when its model is available. Queries in one
language find passages in another (EN⇄RU verified).
No embeddings? Keyword search still works. mode: keyword uses no model at query
time, but it needs an index. If the embedding model isn’t installed (the default MCPB
bundle ships without it), build a keyword-only index — calibre_build_index with
keywordOnly: true, or it happens automatically when the model is absent — and search with
mode: keyword. That path has zero ML dependencies. mode: vector then errors actionably
and mode: hybrid degrades to keyword (with a note); rebuild with the model installed
(force: true) to add semantic ranking.
🧰 Tools
Full reference with parameters and examples:
docs/TOOLS.md.
Tool | Access | What it does |
| read | Find books by title/author/ISBN/tag or Calibre query syntax ( |
| read | Full metadata, formats, and cover link for one book (id or uuid); |
| read | Read a book’s text as capped excerpts; walk the whole book via cursor. |
| read | List a book’s figures/illustrations with captions and page locations; fetched ones render in an in-chat figure viewer |
| read | Browse tags, authors, series, publishers, custom columns with counts |
| read | List the libraries the Content Server exposes (+ which is default) |
| read | Meaning-based search; |
| read* | Build/refresh the local semantic index for selected books (writes only a local index file); |
| read | Duplicate groups with merge-safety scores; |
| read | Audit: missing metadata, raw-filename titles, invalid ISBNs, author-sort issues, series gaps |
| read | Propose real metadata via Open Library → Google Books; preview-only, apply with |
| write | Scan a book’s own text for a valid ISBN and set its |
| write | Set metadata fields on one book (incl. |
| write | Same change across a set of books; selection required, preview-first |
| write | Import a local ebook file (path-whitelisted) |
| write, destructive | Permanently delete books (records + files); dry-run unless confirmed |
| write, destructive | Merge duplicate records: move formats into a target, merge metadata per Calibre's rules, trash sources; dry-run plan unless confirmed |
| write | List/create/update/delete Bundles — named topical filters backed by Calibre saved searches; |
| read | Health check: is Calibre reachable end-to-end? |
* Figures reach the assistant as real images, but models sometimes describe a figure from memory before looking at it — if the first description doesn’t match the picture, re-ask with “look at the image — what does it actually show?” (details in Troubleshooting).
In MCP Apps hosts, calibre_search and calibre_semantic_search (library scope) render
their results as a cover-board carousel, calibre_get_book as a book card, and
calibre_get_figures as a figure viewer (reading pane + margin rail, click to zoom to 100%)
so you see the diagrams the assistant is reading — covers load from your local Content
Server. Everywhere else the same tools return their usual text results; no configuration
needed either way.
📚 Companion skill: calibre-distill
An Agent Skill that distills a book from your library into a reusable, structured skill
(frameworks, mental models, glossary, cheatsheet) by driving the tools above — the chapter
map (calibre_get_content structure=true) plus in-book keyword + semantic search. Works on
EN and RU/UK books, no temp files, and can optionally stamp what you learned back into the
catalog (tags + a distill note) through the gated write tools.
It ships in this repo at skills/calibre-distill/. Install it
via npx skills@latest add caelum29/calibre-mcp or the Claude Code plugin (see
Quick start), or manually by symlinking:
ln -s "$PWD/skills/calibre-distill" ~/.claude/skills/calibre-distillThen ask, e.g., “distill book 187 into a skill called kafka-ops”. Note: the MCPB bundle can’t ship skills — install the skills separately from the MCP server on Claude Desktop.
Companion skill: calibre-distill-topic
A sibling skill that synthesizes one topic across several books (≥3) into a single
concept-keyed skill — a decision framework, per-concept sections, a cross-source config
table, an explicit “where the sources disagree or complement” section, and an ISBN
bibliography that doubles as a live-source binding. Use it when you want a topic study aid
built from a shelf of books rather than a single-book distill (single-book requests belong
to calibre-distill). Ships at skills/calibre-distill-topic/;
installed by the same skills.sh / plugin / symlink paths as above.
Then ask, e.g., “synthesize kafka reliability from books 187 182 571 186 into a skill.”
Generated skills can be checked with the bundled verifier — verbatim-overlap (8-gram shingles vs the source books), quote budget, compression floor, heading mirroring, cursor leaks, and attribution:
pnpm build && node scripts/legal-gate.mjs <skill-dir> --book <id> [--book <id>…]⚙️ Configuration
Everything is optional — with a running Content Server on the default port, zero config works. Environment variables (the Desktop bundle exposes the same settings as UI fields):
Variable | Default | Purpose |
|
| Calibre Content Server base URL |
| auto-detect | Library name; empty = the server’s default library |
| off | Master write gate ( |
| auto-discover |
|
| platform data dir¹ | Semantic index + embedding-model cache |
|
| Cosine score below which semantic results are flagged low-confidence |
| on | Cross-encoder rerank stage on semantic search (~576 MB model, seconds of CPU per query); set |
|
| Largest book download |
|
| How long an index write waits on another server process holding the index (e.g. Claude Desktop + Claude Code side by side) before failing |
|
|
|
|
| Folders |
|
| Search-results widget style in MCP Apps hosts: |
¹ macOS ~/Library/Application Support/calibre-mcp/index, Windows
%APPDATA%\calibre-mcp\index, Linux $XDG_DATA_HOME/calibre-mcp/index.
² Size the cap against what the Content Server serves, not the file on disk — it can hand back a much heavier copy (an 8 MB PDF served as 70 MB), so a disk-sized cap silently skips books.
🩺 Troubleshooting
More symptoms and fixes:
docs/TROUBLESHOOTING.md.
“Calibre unreachable” / connection refused — the Content Server isn’t running. In Calibre: Connect/share → Start Content server, or point
CALIBRE_MCP_SERVER_URLat the right host/port.Write refused / “Forbidden” — the Content Server doesn’t allow local writes. See Enabling writes above: run a standalone server with
--enable-local-write, or tick the GUI’s Sharing over the net → Advanced option and restart the Content Server.Full-text search returns nothing / errors — Calibre’s FTS index isn’t enabled for the library. In Calibre: Preferences → Searching → Full text search, enable it, and let indexing finish (it can take a while on large libraries).
“embedding model unavailable” — the optional
@huggingface/transformerspackage isn’t installed (expected with the MCPB bundle). Use the npx install, ornpm install @huggingface/transformersnext to the server. To search without it, build a keyword-only index (calibre_build_index keywordOnly=true) and usemode: keyword.calibredbnot found — install Calibre, or setCALIBRE_MCP_CALIBREDB_PATHto the binary (macOS:/Applications/calibre.app/Contents/MacOS/calibredb).A PDF extracts to empty text — it’s a scanned/image PDF; Calibre has no OCR, and neither do we.
Library not found (404) — pass the library’s display name or ID as shown by
calibre_list_libraries; when in doubt, leave the library unset and let the server pick its default (unlesscalibre_list_librariesreports the default as unavailable — then pass an explicit id).
🛠️ Development
pnpm install
pnpm build # tsc → dist/
pnpm test # vitest (unit; no network, no model download)
pnpm test:model # gated embedding-model integration tests (~118 MB download)
pnpm inspect # MCP Inspector against the built server
pnpm pack:mcpb # build the Claude Desktop .mcpb bundleThe codebase is Clean Architecture: tool handlers, Calibre clients, and the semantic
core are SDK-free; only src/server.ts touches the MCP SDK. User docs — the tool
reference and the semantic-search guide — live in docs/.
Questions, ideas, and setups welcome in Discussions; bug reports and PRs in Issues.
📄 License
MIT © 2026 Artem Sorochynskyi
An independent project, not affiliated with Calibre.
Calibre itself is
Kovid Goyal's open-source project (GPLv3) —
this server drives it as a separate program via calibredb and the Content Server.
Available Tools
14 toolscalibre_board_dataCover board data (widget-internal)ARead-only
Internal endpoint for the in-chat cover-board widget. Returns the cached payload of a recent search. Do not call as the model — search results already contain everything this returns.
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| query | No | ||
| filter | No | ||
| library | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| kind | No | |
| tool | No | |
| books | No | |
| query | No | |
| total | No | |
| libraryId | No | |
| serverUrl | No | |
| lowConfidence | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful context that the output is a cached payload served to a widget, but says nothing about cache staleness, freshness window, or what the payload contains beyond 'everything search returns'.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences, front-loaded with the identity of the endpoint, then the payload, then the do-not-call rule. No filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists so return values need no explanation, and the description fully accomplishes its main job of steering the model away from calling it. The only gap is undocumented parameters, which matters little given the explicit do-not-call instruction.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All four parameters (tool, query, filter, library) have 0% schema description coverage, and the description does not explain any of them. Only a loose implication that query/filter mirror a prior search call; the meaning of 'tool' and 'library' is entirely undocumented.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('internal endpoint for the in-chat cover-board widget... returns the cached payload of a recent search') and explicitly distinguishes itself from the search siblings whose results already contain this data. An agent instantly knows what it does and that it is out of scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit when-not: 'Do not call as the model — search results already contain everything this returns.' The alternative (the search tools) is named implicitly and unambiguously, leaving nothing to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_build_indexBuild semantic indexAIdempotent
Build the semantic index for specific books (required: bookId, ids, or query — full-library indexing is deferred). A query selects ALL matching books (no 100-book cap); a call still working after ~45 s returns a "still running" status (not an error) while the build keeps committing in the background — re-run the same call to get its result; only one build runs per library at a time, and up-to-date books are skipped. Extracts, chunks, and embeds each book. Set keywordOnly=true (or when the embedding model is absent, it happens automatically) to build a keyword-only index that powers mode:"keyword" search with zero ML dependencies. Re-run after adding books; use force to re-index unchanged ones. Set prune=true to also drop index entries for books that no longer exist in the library (removals/merges leave searchable orphans behind).
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| force | No | ||
| prune | No | ||
| query | No | ||
| bookId | No | ||
| library | No | ||
| enableFts | No | ||
| keywordOnly | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| chunks | No | |
| figures | No | |
| failures | No | |
| booksDone | No | |
| elapsedMs | No | |
| indexedIds | No | |
| bookDetails | No | |
| keywordOnly | No | |
| prunedBooks | No | |
| booksIndexed | No | |
| booksSkipped | No | |
| prunedChunks | No | |
| runningBuild | No | |
| stillRunning | No | |
| prunedFigures | No | |
| booksPreserved | No | |
| booksRefreshed | No | |
| booksRequested | No | |
| semanticReason | No | |
| semanticAvailable | No | |
| backgroundBuildFailed | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Goes far beyond the annotations: discloses the ~45 s 'still running' non-error status and the re-run pattern, background committing, single-build-per-library concurrency, skipping of up-to-date books, and the automatic keywordOnly fallback when the embedding model is absent. These are exactly the non-obvious traits an agent needs to avoid misinterpreting a timeout as a failure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the selector requirement before the operational caveats, and nearly every clause adds distinct information. It is a single dense paragraph that runs long, and a bulleted split between selection, timeout behavior, and index options would read faster.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return shapes are rightly omitted, and the description nonetheless covers the async/timeout contract and pruning semantics. The only substantive holes are the undocumented 'library' and 'enableFts' parameters, which an agent must guess at.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description carries the burden and mostly does: it explains the bookId/ids/query selector triplet with 'full-library indexing is deferred', query's no-cap behavior, force, prune, and keywordOnly. It leaves 'library' and 'enableFts' completely undefined, which for an 8-parameter tool is a real gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb+resource ('Build the semantic index for specific books') and immediately scopes the target with the required selector set. It is unambiguously distinct from the search/index-consumer siblings like calibre_semantic_search.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly covers when to use force ('re-index unchanged ones'), when to use prune ('drop index entries for books that no longer exist'), when to use keywordOnly ('powers mode:"keyword" search'), and the normal re-run-after-adding-books case. Effectively names the alternative search mode rather than leaving it to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_find_duplicatesFind duplicatesARead-only
Find probable duplicate books. mode=identical (exact title+authors) or similar (fuzzy) group the library (or ids/query/filter subset — filter takes a bundle name) with a merge-safety score; mode=compare diffs 2+ ids field-by-field. Read-only — never merges.
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| mode | No | identical | |
| limit | No | ||
| query | No | ||
| cursor | No | ||
| filter | No | ||
| library | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| diff | No | |
| keep | No | |
| mode | Yes | |
| count | No | |
| capped | No | |
| groups | No | |
| offset | No | |
| bookIds | No | |
| groupCount | No | |
| nextCursor | No | |
| mergeSafety | No | |
| booksScanned | No | |
| languagesDiffer | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the bar is lower, but "Read-only — never merges" adds real value by pre-empting the assumption that a duplicate tool would mutate the library. It also discloses the shape of behaviour per mode (grouping with a merge-safety score vs a field-by-field diff). It stops short of noting cost/performance traits of library-wide fuzzy scans.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose is front-loaded in the first clause and every subsequent clause carries new information about modes or scoping. The telegraphic em-dash style is dense but readable; a slight cost is that the filter/library/query scoping is packed into a single parenthetical that a reader may need to re-parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Output schema exists, so return values needn't be explained, and the description still signals what each mode yields (groups with merge-safety score, field diffs). Modes, scoping inputs, and the read-only guarantee are all covered, leaving nothing an agent needs before invoking it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage the description carries the full burden, and it explains five of seven parameters: mode's three enum values, ids as the compare input, query as a subset selector, filter as a bundle name, and library. limit and cursor are undocumented, but they are conventional paging parameters, so the gap is minor.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ("Find probable duplicate books") and then names all three modes with their distinct semantics, which cleanly separates it from calibre_search and calibre_semantic_search. An agent can tell this is a dedup/comparison tool, not a retrieval tool, 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.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly routes by mode: identical for exact title+authors, similar for fuzzy grouping, compare for field-by-field diffs of 2+ ids. It also indicates the scoping alternatives (whole library vs ids/query/filter subset). It does not say when to prefer a sibling search tool over this one, so guidance is clear but not fully exhaustive.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_get_bookGet book metadataARead-only
Get full metadata (authors, ISBN, formats, comments, cover) for one book by its id or uuid (id and bookId are interchangeable — pass the bookId from a search result). Set include_cover=true only when the cover image itself must be inspected.
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| bookId | No | ||
| library | No | ||
| include_cover | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| book | No | |
| libraryId | No | |
| serverUrl | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds behavioral context about include_cover being optional and potentially costly, which is useful beyond the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, two sentences, front-loaded with the main action and key hints. No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the output schema exists, return values need not be explained. However, the description omits the 'library' parameter, which is a gap in completeness for a tool with 4 parameters and no required fields.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description partially compensates by explaining id/bookId interchangeability and include_cover usage, but it fails to mention the 'library' parameter, leaving it undocumented.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Get full metadata (authors, ISBN, formats, comments, cover) for one book' with a specific verb and resource, and it distinguishes from siblings by specifying it retrieves a single book by identifier.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides usage context by noting that id and bookId are interchangeable and suggests using include_cover only when necessary. However, it does not explicitly state when to use this tool over alternatives like calibre_search.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_get_contentRead book textARead-only
Extract a book's text as a capped, fenced excerpt; pass the returned nextCursor token verbatim to walk the whole book, or jump to a char position with offset (e.g. a search passage's charStart). Set structure=true for a chapter map with per-chapter cursors. To find text inside a book, use calibre_search scope=book.
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| bookId | No | ||
| cursor | No | Opaque continuation token from a previous response (nextCursor or a chapter cursor). Pass it verbatim — do not construct one. | |
| format | No | ||
| offset | No | Char position to start reading from — e.g. a search passage's charStart. Mutually exclusive with cursor. | |
| library | No | ||
| maxChars | No | ||
| structure | No | ||
| sentenceAware | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| text | No | |
| count | No | |
| format | No | |
| hasToc | No | |
| offset | No | |
| backend | No | |
| hasMore | No | |
| chapters | No | |
| detector | No | |
| nextCursor | No | |
| totalChars | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds behavioral details beyond the annotations: it mentions that the text is returned in capped excerpts with a nextCursor token, that the cursor must be passed verbatim, and that offset can jump to a specific char position. The structure option is also noted. Annotations already indicate safe read, so this is sufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise: two sentences that pack a lot of information without any wasted words. The most important behavior (extracting text with cursors) comes first, and alternatives are mentioned at the end.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the output schema exists, return values don't need explanation. The description covers the core use case (pagination via cursor/offset, structural chapter map) and warns about using calibre_search for searching. However, it omits details about id vs bookId, maxChars limit, and sentenceAware, which with low schema coverage leaves some gaps. Still, for a complex tool, it's reasonably complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With only 22% parameter coverage in the schema, the description must compensate. It explains cursor, offset, and structure, but doesn't mention id, bookId, format, library, maxChars, or sentenceAware. The explanation for cursor and offset is helpful, but many parameters remain unexplained, so the description adds only moderate value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it extracts a book's text as a capped, fenced excerpt, and distinguishes from sibling 'calibre_search' which is for finding text inside a book. The verb 'extract' and the specific resource (book text) make the purpose precise.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly tells when to use this tool (to get text) and when to use 'calibre_search' instead (to find text inside a book). It does not discuss scenarios where calibre_get_book might be more appropriate, but the context is clear enough.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_get_figuresGet book figuresARead-only
List a book's figures — images the text references, identified by caption (Figure 1-2 / Рис. 3.1) — with page + caption per figure, then fetch chosen ones as images via indexes (≤3 per call). Captions let you pick figures before spending image tokens. In MCP Apps hosts the fetched figures also render for the user in an in-chat viewer, so you can point at them by figure number — but describe only what the pixels you received actually show.
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| bookId | No | ||
| detail | No | Image resolution: standard ≤1024px longest side (default), high ≤1568px. | standard |
| format | No | Source format override (epub or pdf). Default: epub if present, else pdf. | |
| indexes | No | Figure indexes from a previous list call — returns those figures as images (≤3 per call). Omit to list. Indexes are per-format; re-list after changing format. | |
| library | No | ||
| include_uncaptioned | No | Also list/fetch images with no caption (covers, decorations, equation images). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds behavioral details beyond annotations (readOnlyHint, openWorldHint): the ≤3 images per call constraint, platform-specific rendering in MCP hosts, and the caveat to describe only what pixels show. It does not contradict annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured: first sentence captures core functionality, then elaborates on caption usage, platform behavior, and a crucial caveat. No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description adequately explains list output (page + caption) and fetch output (images). It includes constraints and a usage caveat. Minor gaps like error handling or index validation are omitted but acceptable for this tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 57% schema description coverage, the tool description adds meaning for key parameters: explains indexes come from a previous list, limits to ≤3, and defines detail resolution sizes. It also clarifies format default behavior. However, parameters like id, bookId, and library remain partially explained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's dual purpose: listing figures with captions and page numbers, then fetching images by index. It distinguishes itself from siblings like calibre_get_book or calibre_get_content by focusing specifically on figures.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context on when to list vs. fetch ('Omit to list' for indexes), and advises using captions to pick figures before spending image tokens. However, it does not explicitly state when not to use this tool or compare with alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_list_categoriesList categoriesARead-only
Browse library categories (Authors, Tags, Series, Languages, Publisher). No field → list the categories; with a field → its values + counts, filterable via a valueFilter regex (case-insensitive by default; a leading inline flag like (?i) is accepted).
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | ||
| limit | No | ||
| cursor | No | ||
| library | No | ||
| valueFilter | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| mode | No | |
| count | No | |
| field | No | |
| total | No | |
| offset | No | |
| values | No | |
| nextCursor | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark readOnlyHint=true and openWorldHint=true, so the tool is read-only and may return partial results. The description adds behavioral nuance: the regex filter is case-insensitive by default but accepts inline flags like (?i) to override. This goes beyond annotations without contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences with no unnecessary words. The first sentence establishes the tool's domain, the second details the two modes and filter behavior. It is front-loaded and efficiently communicates the core functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 5 parameters and an output schema, the description covers the main use case (browsing categories and values) and the filter mechanism. It doesn't detail pagination or library selection, but these are common patterns. The output schema mitigates the need to describe return values. Overall, it is sufficiently complete for an AI agent to use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 'field' (with examples) and 'valueFilter' (regex, case-insensitivity, inline flags), but does not describe 'library', 'limit', or 'cursor'. While limit and cursor are standard, library is not mentioned, leaving some param meaning implicit.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool browses library categories and specifies examples (Authors, Tags, Series, Languages, Publisher). It distinguishes two modes: without 'field' it lists categories, with 'field' it returns values and counts. This clarifies its distinct purpose among sibling tools like calibre_list_libraries.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains when to use each mode ('No field → list the categories; with a field → its values + counts') and mentions regex filtering via valueFilter. It does not explicitly state when not to use it or compare to other tools, but the two-mode guidance is clear and actionable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_list_librariesList Calibre librariesARead-only
List the Calibre libraries available on the Content Server and which one is the default. Call this first to discover valid library names.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| default | No | |
| libraries | No | |
| defaultUnavailable | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds that the response tells you which library is the default, which is behavioral value beyond the annotations. It says nothing about failure modes if the server is unreachable, but nothing is contradicted.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences: what it returns, then when to call it. The purpose is front-loaded and every clause earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter discovery tool with an output schema (which documents the returned library/default fields) and read-only annotations, the description supplies everything the agent needs: what it does, what it reveals, and that it should be called before other library-scoped tools.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so per the baseline this scores 4. There is no parameter semantics to add, and the description correctly avoids inventing any.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb+resource: 'List the Calibre libraries available on the Content Server', plus the extra detail that it reports the default library. This is clearly distinguished from siblings like calibre_search or calibre_get_book, which operate on books rather than library enumeration.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'Call this first to discover valid library names' gives an explicit sequencing rule and states the payoff (obtaining names other tools need). It doesn't name a specific alternative to use instead, but for a zero-param discovery call there is little ambiguity to resolve.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_open_bookOpen book in local viewer (widget-internal)ARead-only
Internal endpoint for the in-chat widgets' Open button. Launches a book in the local Calibre viewer via the calibre:// scheme. Do not call as the model — use calibre_get_book to show a book instead.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| format | No | ||
| library | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| url | Yes | |
| format | Yes | |
| opened | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true. The description adds that it is an internal endpoint and launches a viewer via a URI scheme, providing additional context beyond the annotations. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with purpose, followed by an explicit usage directive. No redundant information; every sentence serves a purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity, annotations cover behavioral safety, and an output schema exists (so return values are documented elsewhere). The description lacks parameter explanations, but the main usage context is well-covered.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description provides no information about the three parameters (id, format, library). Agents must infer meaning solely from names and types, which is insufficient for proper invocation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it launches a book in the local Calibre viewer via the calibre:// scheme. It distinguishes itself from the sibling tool calibre_get_book by specifying it is internal for widget buttons.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit guidance: 'Do not call as the model — use calibre_get_book to show a book instead.' This tells the agent both when not to use it and what alternative to use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_pingCalibre pingARead-only
Health check: confirms the MCP server can reach the running Calibre Content Server via calibredb, and reports semantic-search status (embedding model, dependency, per-library index coverage). Returns the server version, calibredb path and write-gate state, plus libraries currently marked busy after a Calibre timeout, the server's recent errors and its log file path for self-diagnosis.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only declare readOnlyHint and openWorldHint; the description adds substantial behavioral context beyond them — it is non-mutating, it probes an external running server, and it enumerates what comes back (server version, calibredb path, write-gate state, libraries stuck busy after a timeout, recent errors, log path). It stops short of saying what happens on failure (does it throw, or return a degraded report?), which is the one gap worth closing.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence, front-loaded with 'Health check:' so the agent knows the category before reading detail, and every clause maps to a distinct reported signal. Nothing is redundant.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no parameters and no output schema, the description carries the full burden and does so by enumerating the returned fields, which is exactly what an agent needs to interpret results. The only missing piece is failure semantics — whether connection failure raises an error or yields a report indicating unreachable.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes no parameters, so there is nothing to disambiguate and the baseline of 4 applies. The description correctly does not waste space on parameter talk and instead spends it on outcomes.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource — a health check that verifies the MCP server can reach the Calibre Content Server via calibredb — plus the semantic-search status it reports. This is clearly a diagnostic tool, distinguishable at a glance from every sibling (list, search, index, quality report), none of which probe connectivity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: 'Health check' and 'for self-diagnosis' suggest running it when something appears broken, but it never says when to prefer it over calibre_quality_report for health assessment or what to do with the result. No exclusions or prerequisites are given, leaving the agent to infer context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_quality_reportQuality reportARead-only
Scan books for metadata problems: missing fields, raw-filename titles, invalid ISBNs, author-sort mismatches, series gaps. Defaults to the whole library; narrow with ids/query/filter (a bundle name) or specific checks. Read-only.
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| limit | No | ||
| query | No | ||
| checks | No | ||
| cursor | No | ||
| filter | No | ||
| library | No | ||
| readability | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | No | |
| total | No | |
| capped | No | |
| issues | No | |
| offset | No | |
| byCheck | No | |
| nextCursor | No | |
| booksScanned | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=true, and the description's 'Read-only' merely restates that rather than adding new context. It does disclose the important default scope (whole library), but says nothing about result volume or pagination despite offering limit and cursor.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two dense sentences, front-loaded with the purpose and followed by the scoping rules. No filler and nothing restated from the title.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values needn't be explained. But for an 8-parameter tool with zero schema description coverage, leaving pagination (limit/cursor), library selection, and readability unexplained is a real gap in an otherwise solid definition.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description carries the full burden, and it only partially delivers: ids/query and filter (clarified usefully as 'a bundle name') and checks are covered. Four parameters — limit, cursor, library, readability — are left entirely undefined for the agent.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Scan books') and resource ('metadata problems'), then enumerates the concrete check classes (raw-filename titles, invalid ISBNs, series gaps). An agent can tell this apart from calibre_recover_metadata or calibre_find_duplicates from the description alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives clear operating context: default is the whole library, and narrowing happens via ids/query/filter or specific checks. It doesn't name an explicit alternative tool for the fixing workflow (e.g. calibre_recover_metadata), so it stops short of full when/when-not guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_recover_metadataRecover book metadataARead-only
Propose real metadata for a book with a missing/raw-filename title via online provider lookup (ISBN from its identifiers or text, else title/author) on Open Library and Google Books. Preview only — returns a changes object for calibre_update_book; never writes.
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| bookId | No | ||
| library | No | ||
| sources | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| bookId | No | |
| source | No | |
| changes | No | |
| warnings | No | |
| lookupKey | No | |
| confidence | No | |
| fieldCount | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint and openWorldHint; the description reinforces and adds substance by explaining the external providers (Open Library, Google Books) and the lookup fallback chain (identifiers/ISBN first, then title/author). 'Preview only ... never writes' is valuable confirmation of the safety profile. It omits network failure/rate-limit behavior and what an empty match set looks like, keeping it below a 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two dense sentences, front-loaded with the trigger condition, then mechanism, then the critical preview-only constraint. No filler and nothing repeated from the title.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return shape needn't be spelled out, and the description still flags that the result is a changes object for calibre_update_book. Combined with the provider list and fallback chain, an agent has enough to call it correctly; only edge-case behavior (no match, provider outage, library scoping) is absent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% for all four parameters, so the description carries the full burden. It loosely covers the provider selection (Open Library / Google Books maps to `sources`) and the identifier-vs-title/author inputs, but never explains the `id` vs `bookId` distinction or what `library` scopes, leaving half the parameters ambiguous.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (propose) plus resource (real metadata) and the precise triggering condition (a book with a missing/raw-filename title). It also names the mechanism (online provider lookup) and the downstream consumer (calibre_update_book), so an agent knows exactly what this tool does and that no sibling duplicates it.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The when-to-use is explicit: a book whose title is missing or is a raw filename. It also makes the use-vs-alternative relationship clear by noting this is preview-only and that the returned changes object feeds calibre_update_book rather than being applied here. It stops short of stating when NOT to bother (e.g. title already correct) or what to do on zero matches.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_searchSearch booksARead-only
Find books by exact title, author, ISBN, tag, or Calibre query syntax (mode=meta), or by full text (mode=fts). mode=fts words match independently and stemmed (events matches event); wrap a phrase in double quotes for an exact match ("event sourcing"); supports AND/OR/NOT between terms (uppercase, e.g. a NOT b). 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).
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | meta | |
| sort | No | ||
| limit | No | ||
| query | Yes | ||
| scope | No | library | |
| bookId | No | ||
| cursor | No | ||
| filter | No | ||
| library | No | ||
| countOnly | No | ||
| sortOrder | No | ||
| include_excluded | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| hits | No | |
| mode | No | |
| count | No | |
| query | No | |
| scope | No | |
| total | No | |
| bookId | No | |
| filter | No | |
| offset | No | |
| bookIds | No | |
| indexing | No | |
| nextCursor | No | |
| snippetsSkipped | No | |
| exclusionsApplied | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and openWorldHint, and the description adds meaningful behavior: fts terms match independently and stemmed, AND/OR/NOT semantics, scope=book returns short keyword snippets with first hits often in TOC/front matter, and countOnly returns only the count. It omits pagination behavior (cursor) and result ordering/subsetting behavior, which matters for a 12-parameter search resource.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads the core capability and alternatives efficiently in a compact paragraph. Slightly dense, but nearly every clause carries actionable syntax or routing guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return-value description is unnecessary, and the description covers the high-risk query semantics and sibling disambiguation well. The remaining gap is the undocumented pagination and sorting parameters, which an agent needs to use the tool beyond a first page.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must carry the load. It clarifies mode, scope, filter (bundle names), countOnly, and query syntax well, but leaves sort, sortOrder, limit, cursor, library, and include_excluded completely undocumented in both schema and description — roughly half the parameters unexplained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States precise verbs and resources: find books by exact title/author/ISBN/tag or Calibre query syntax (mode=meta) and full text (mode=fts). It distinguishes the two modes concretely and explicitly separates itself from calibre_semantic_search, so an agent can route correctly 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.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit routing: use calibre_semantic_search for meaning/topic queries, prefer calibre_semantic_search scope=book for definitional questions inside a book, use countOnly=true for 'how many' questions, and use filter with bundle names (listing via calibre_manage_bundles). It names alternatives and the conditions that select them.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calibre_semantic_searchSemantic searchARead-only
Meaning-based search over the local index. scope=library ranks books; scope=book (needs bookId) ranks passages within one book. target=figures searches figure captions instead of text — use when the user asks for a diagram/chart/schema; hits point at calibre_get_figures for the pixels. mode=hybrid (default) fuses semantic + keyword matches; mode=vector is semantic-only; mode=keyword is exact keyword/FTS (no model at query time). All modes need an index built by calibre_build_index. filter accepts a bundle name to scope library searches (list bundles via calibre_manage_bundles). Model inference is serialized: prefer one call at a time — parallel calls queue, and past a few the extras skip the rerank.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | hybrid | |
| topK | No | ||
| query | Yes | ||
| scope | No | library | |
| bookId | No | ||
| filter | No | ||
| target | No | text | |
| library | No | ||
| include_excluded | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| mode | No | |
| note | No | |
| count | No | |
| scope | No | |
| bookId | No | |
| filter | No | |
| target | No | |
| bookIds | No | |
| figures | No | |
| results | No | |
| maxScore | No | |
| passages | No | |
| reranked | No | |
| maxRerank | No | |
| indexVersion | No | |
| lowConfidence | No | |
| semanticReason | No | |
| exclusionsApplied | No | |
| semanticAvailable | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnlyHint and openWorldHint annotations, the description discloses important behavior: the index prerequisite, serialized model inference, queuing of parallel calls, and that excess parallel calls skip the rerank. It also explains that figure hits point to calibre_get_figures for the actual pixels.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The purpose is front-loaded, followed by scope, target, mode, prerequisites, filter usage, and concurrency behavior. The description is dense but every sentence carries operational information; nothing is repetitive or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity, output schema, and annotation coverage, the description covers the most consequential behavior and prerequisites. It is not fully complete because three parameters remain unexplained, but the gaps are limited and the core search semantics are clear.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description usefully explains mode, scope, bookId dependency, target, and filter. However, it leaves topK, library, and include_excluded undocumented, which is a meaningful gap across nine parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: meaning-based search over the local index. It also distinguishes library-level book ranking from book-level passage ranking, and text from figure targets, so the tool can be selected without inspecting the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives clear operational guidance: use target=figures for diagram/chart/schema requests, scope=book requires bookId, and all modes require an index built by calibre_build_index. It names related tools such as calibre_get_figures and calibre_manage_bundles, but does not explicitly compare this tool with the sibling calibre_search alternative.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v0.12.0- Changed
calibre_build_index6 fields changed- added
Output schema / properties / backgroundBuildFailedAdded value: +{ + "type": "boolean" +} - added
Output schema / properties / booksDoneAdded value: +{ + "type": "number" +} - added
Output schema / properties / booksRefreshedAdded value: +{ + "type": "number" +} - added
Output schema / properties / indexedIdsAdded value: +{ + "items": { + "type": "number" + }, + "type": "array" +} - added
Output schema / properties / runningBuildAdded value: +{ + "enum": [ + "this", + "other" + ], + "type": "string" +} - added
Output schema / properties / stillRunningAdded value: +{ + "type": "boolean" +}
- Changed
calibre_list_libraries1 field changed- added
Output schema / properties / defaultUnavailableAdded value: +{ + "type": "string" +}
- Changed
calibre_search2 fields changed- added
Output schema / properties / indexingAdded value: +{ + "additionalProperties": false, + "properties": { + "left": { + "type": "number" + }, + "total": { + "type": "number" + } + }, + "required": [ + "left", + "total" + ], + "type": "object" +} - added
Output schema / properties / snippetsSkippedAdded value: +{ + "items": { + "type": "number" + }, + "type": "array" +}
- Changed
calibre_semantic_search1 field changed- added
Output schema / properties / results / items / properties / snippetStartAdded value: +{ + "type": "number" +}
6 tool updates
v0.10.0- Changed
calibre_board_data2 fields changed- added
Input schema / properties / filterAdded value: +{ + "maxLength": 256, + "minLength": 1, + "type": "string" +} - added
Input schema / properties / libraryAdded value: +{ + "type": "string" +}
- Changed
calibre_build_index1 field changed- added
Output schema / properties / booksPreservedAdded value: +{ + "type": "number" +}
- Changed
calibre_find_duplicates3 fields changed- added
Output schema / properties / bookIdsAdded value: +{ + "items": { + "type": "number" + }, + "type": "array" +} - added
Output schema / properties / diffAdded value: +{ + "items": { + "additionalProperties": false, + "properties": { + "agree": { + "type": "boolean" + }, + "field": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "field", + "agree", + "values" + ], + "type": "object" + }, + "type": "array" +} - added
Output schema / properties / groupsAdded value: +{ + "items": { + "additionalProperties": false, + "properties": { + "bookIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "mergeSafety": { + "type": "number" + }, + "mixedLanguages": { + "type": "boolean" + } + }, + "required": [ + "bookIds", + "mergeSafety", + "mixedLanguages" + ], + "type": "object" + }, + "type": "array" +}
- Changed
calibre_quality_report2 fields changed- changed
Input schema / properties / checks / items / enumPrevious value: -[ - "missing_metadata", - "raw_filename_title", - "isbn_invalid", - "author_sort_mismatch", - "series_gaps" -]New value: +[ + "missing_metadata", + "raw_filename_title", + "isbn_invalid", + "author_sort_mismatch", + "series_gaps", + "authors_suspect" +] - added
Output schema / properties / issuesAdded value: +{ + "items": { + "additionalProperties": false, + "properties": { + "bookId": { + "type": "number" + }, + "check": { + "type": "string" + }, + "message": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "bookId", + "title", + "check", + "severity", + "message" + ], + "type": "object" + }, + "type": "array" +}
- Changed
calibre_recover_metadata1 field changed- added
Output schema / properties / warningsAdded value: +{ + "items": { + "type": "string" + }, + "type": "array" +}
- Changed
calibre_search1 field changed- added
Output schema / properties / hitsAdded value: +{ + "items": { + "additionalProperties": false, + "properties": { + "bookId": { + "type": "number" + }, + "snippet": { + "type": "string" + } + }, + "required": [ + "snippet" + ], + "type": "object" + }, + "type": "array" +}
1 tool update
v0.7.6- Changed
calibre_semantic_search1 field changed- added
Output schema / properties / indexVersionAdded value: +{ + "type": "number" +}
4 tool updates
v0.7.3- Changed
calibre_find_duplicates1 field changed- added
Input schema / properties / filterAdded value: +{ + "maxLength": 256, + "minLength": 1, + "type": "string" +}
- Changed
calibre_quality_report1 field changed- added
Input schema / properties / filterAdded value: +{ + "maxLength": 256, + "minLength": 1, + "type": "string" +}
- Changed
calibre_search4 fields changed- added
Input schema / properties / filterAdded value: +{ + "maxLength": 256, + "minLength": 1, + "type": "string" +} - added
Input schema / properties / include_excludedAdded value: +{ + "type": "boolean" +} - added
Output schema / properties / exclusionsAppliedAdded value: +{ + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / filterAdded value: +{ + "type": "string" +}
- Changed
calibre_semantic_search4 fields changed- added
Input schema / properties / filterAdded value: +{ + "maxLength": 256, + "minLength": 1, + "type": "string" +} - added
Input schema / properties / include_excludedAdded value: +{ + "type": "boolean" +} - added
Output schema / properties / exclusionsAppliedAdded value: +{ + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / filterAdded value: +{ + "type": "string" +}
14 tool updates
v0.7.2- First observed
calibre_board_data - First observed
calibre_build_index - First observed
calibre_find_duplicates - First observed
calibre_get_book - First observed
calibre_get_content - First observed
calibre_get_figures - First observed
calibre_list_categories - First observed
calibre_list_libraries - First observed
calibre_open_book - First observed
calibre_ping - First observed
calibre_quality_report - First observed
calibre_recover_metadata - First observed
calibre_search - First observed
calibre_semantic_search
TDQS
Scored across 14 tools
Most tools map to clearly distinct actions (list, get, build_index, find_duplicates, quality_report), and the two search tools are separated by lengthy guidance on keyword vs. meaning vs. hybrid. The main friction is that calibre_search and calibre_semantic_search overlap in mode/scope combinations, and two tools (calibre_board_data, calibre_open_book) are explicitly marked 'do not call as the model', which is a selection hazard for an agent scanning the surface.
Every tool uses the same calibre_ prefix plus a snake_case verb_noun pattern (list_libraries, search, semantic_search, build_index, get_book, get_content, get_figures, list_categories, find_duplicates, quality_report, recover_metadata). The only outlier, calibre_ping, is a conventional health-check name and does not break predictability.
At 14 tools the set is well within a reasonable range for a library/search domain, and each tool covers a real capability (index build, search, extraction, figures, dedupe, quality). Two of the fourteen are internal widget endpoints that a model should never call, so the effective model-facing surface is slightly smaller than the count suggests.
The read/lookup surface is thorough, but the write half of the lifecycle is missing: there is no calibre_update_book or delete/add tool, and descriptions explicitly reference calibre_update_book and calibre_manage_bundles, neither of which exists in the set. calibre_recover_metadata therefore dead-ends — it returns a changes object meant for a tool the agent cannot call.
Maintenance
Related MCP Connectors
Read-only MCP server exposing a user ORANO library to their own AI agent.
Agentic search over your Dewey document collections from any MCP-compatible client.
Personal knowledge base MCP server with semantic search, auto-categorization, metadata extraction
MCP server for Project Gutenberg: 78,000+ public-domain ebooks with full plain-text retrieval.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server to manage and organize a Calibre ebook library, enabling metadata editing, search, conversion, and more through AI assistants.175MIT
- AlicenseNot gradedqualityDmaintenanceMCP server enabling LLMs to query a local Calibre Content Server for ebook metadata, chapters, and content in HTML or Markdown.18 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables semantic search over local Calibre libraries via MCP, allowing AI assistants to query books, annotations, and export bibliographies while keeping data private.9MIT
- AlicenseNot gradedqualityBmaintenanceEnables conversational management of a Calibre ebook library via MCP, including search, metadata editing, adding, converting, deduplicating, removing, and emailing books with human-in-the-loop safety.1MIT