Skip to main content
Glama

search_books

Search books in your Calibre library by title, author, tags, series, or any field using Calibre's query syntax with boolean operators, field-specific searches, and sorting options.

Instructions

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

Search syntax examples:

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

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

  • Boolean: author:asimov AND title:foundation

  • Series: series:"magic tree house"

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
fieldsNo
limitNo
sort_byNotitle

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. It does not mention read vs. write behavior, potential performance impacts, or what happens with invalid queries. The description focuses on syntax examples but lacks transparency on side effects or limitations.

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 front-loaded with the tool's purpose, then provides structured examples and parameter explanations. It is concise but each section adds value. Minor improvement: the 'Args' section repeats parameter info partially redundant with schema.

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 the complexity (search syntax) and that an output schema exists (reducing need to describe return values), the description covers query usage well. However, it lacks information about error handling or behavior when no results match.

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?

The description explains the query parameter with syntax examples, adds meaning for fields, limit, and sort_by beyond the schema (which has no descriptions). With 0% schema coverage, the description compensates well for most parameters, though it could clarify acceptable values for fields and sort_by.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool searches books using Calibre's search syntax. It specifies the resource (books) and the action (search), and distinguishes from siblings like get_book_info which retrieves info for a specific book.

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

Usage Guidelines3/5

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

The description provides examples of search syntax and parameters, implicitly guiding usage. However, it does not explicitly state when to use this tool versus alternatives (e.g., get_book_info for specific books), nor does it mention any prerequisites or caveats.

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

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