Skip to main content
Glama
ZehuiTIAN

calibre-mcp

by ZehuiTIAN

detect_scanned_books

Identify scanned PDFs in your Calibre library by detecting missing text layers, so you can OCR them for searchability.

Instructions

Find library books whose PDF has no usable text layer (scanned pages).

Such books stay unsearchable until OCR'd with ocr_book. Requires the ocr extra (pip install 'calibre-mcp[ocr]'); no API key needed.

Args: limit: Maximum number of scanned books to report (1-200).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It usefully discloses the ocr-extra requirement and the no-API-key fact, and the verb 'Find' implies a non-mutating scan of PDFs. It does not explicitly state side-effect-free behavior or performance costs, but the core behavior is transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences deliver purpose, follow-up context, prerequisites, and parameter documentation without filler. The purpose is front-loaded and every sentence earns its place.

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

Completeness5/5

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

This is a single-optional-parameter tool with an output schema, so return-value documentation is not needed. The description covers the task, prerequisite, parameter range, and next-step tool, making it complete for an agent to select and invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description fully documents the only parameter: 'limit: Maximum number of scanned books to report (1-200).' This adds meaning and a validation range that the input schema completely lacks.

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 opens with a specific verb and resource: 'Find library books whose PDF has no usable text layer (scanned pages).' This clearly distinguishes the tool from siblings like list_books and search_books, and connects it to the OCR workflow.

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

Usage Guidelines4/5

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

It states when this tool matters ('Such books stay unsearchable until OCR'd') and names the follow-up tool ocr_book, plus the installation prerequisite. It lacks an explicit when-not-to-use statement, but the context is clear enough for an agent to select it appropriately.

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

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