Skip to main content
Glama
calibre-mcp

calibre-mcp

by caelum29

Manage bundles (saved searches)

calibre_manage_bundles
Read-onlyIdempotent

Create, update, or delete named topical bundles backed by Calibre saved searches, with previews before applying, and list virtual libraries read-only.

Instructions

Manage Bundles via action (list | create | update | delete) — named topical filters backed by Calibre saved searches (e.g. a 'rust' bundle scoping searches to Rust books). A name starting with '-' is an exclusion marker. Also lists virtual libraries, which are read-only here. Preview-first: create/update/delete preview until confirm=true. Previews work without writes; applying needs CALIBRE_MCP_ENABLE_WRITE.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "calibre_manage_bundles"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
actionYes
confirmNo
libraryNo
expressionNo

Output Schema

NameRequiredDescriptionDefault
actionNo
appliedNo
bundlesNo
matchesNo
created_asNo
writeEnabledNofalse on a preview in a session with writes disabled: applying it will be refused (write_disabled)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.0

TDQS

B3.4/5.0
Behavior1/5

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

The description discloses real mutation behavior — create/update/delete apply writes once confirm=true and CALIBRE_MCP_ENABLE_WRITE is set — while the annotations declare readOnlyHint=true and idempotentHint=true. That is a direct conflict an agent will act on unsafely. The text itself is laudably transparent (preview-first, env-var gating, no writes during preview), but under the scoring rules a description that contradicts the structured safety hints scores 1 rather than being credited for the extra detail.

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?

Dense and front-loaded: the operation model comes first, then semantics, then the safety gate. Every clause carries information. It is slightly over-packed — the exclusion-marker rule, virtual-library aside, and write-gating are crammed into one block without separation, which risks the exclusion rule being skimmed past.

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

Completeness3/5

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 preview/apply lifecycle is covered. But for a tool with four mutation actions plus list, 0% schema coverage, and no annotation reliability, leaving `expression` and `library` undefined is a genuine gap — an agent cannot construct a create call with confidence about what the filter body should look like.

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

Parameters3/5

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

Schema description coverage is 0%, so the description carries the full burden, and it partially discharges it: it explains the `action` values, the `confirm` preview-vs-apply semantics, and the non-obvious `name` convention where a leading '-' marks an exclusion. It says nothing about `expression` (presumably the filter body) or `library` (presumably scope), leaving two of five parameters undefined anywhere in the definition.

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?

Names a specific resource ('Bundles') and enumerates the exact operations via the `action` enum (list | create | update | delete). It goes further than the name by defining what a bundle actually is — 'named topical filters backed by Calibre saved searches' — with a concrete 'rust' example, so an agent knows this is a saved-search container rather than a book or category tool.

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?

Gives clear operating context: use `action` to pick the operation, expect preview-first behavior, and note that applying requires CALIBRE_MCP_ENABLE_WRITE. It also flags that virtual libraries are merely listed here and are read-only. What it lacks is routing against the siblings — `calibre_list_libraries` clearly overlaps with the virtual-library listing, and `calibre_search` overlaps with saved-search semantics, but the description names neither.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.