Skip to main content
Glama
calibre-mcp

calibre-mcp

by caelum29

Recover book metadata

calibre_recover_metadata
Read-only

Propose real metadata for a book with a missing or raw-filename title by looking up ISBN or title/author on Open Library and Google Books; returns a preview of changes without writing.

Instructions

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 (needs writes enabled); never writes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calibre_recover_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
bookIdNo
libraryNo
sourcesNo

Output Schema

NameRequiredDescriptionDefault
bookIdNo
sourceNo
changesNo
warningsNo
lookupKeyNo
confidenceNo
fieldCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.13.0
    • addedOutput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv0.10.0
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. First observedv0.7.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description reinforces this with 'Preview only ... never writes', which is valuable confirmation rather than contradiction. It adds genuinely new behavioral detail beyond the annotations: the lookup fallback chain (ISBN from identifiers or text, else title/author) and that the follow-up requires writes to be enabled. It stops short of describing behavior on no-match or provider failure, which keeps 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.

Conciseness5/5

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

Two dense sentences with zero filler, and the operative constraints are front-loaded: what is proposed, from where, that it is preview-only, and where the result goes. Nothing could be cut without losing a decision-relevant fact.

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?

For a read-only lookup tool with an output schema, the description covers the essential safety and workflow context, including what the return object feeds into. The remaining shortfall is parameter disambiguation (`id` vs `bookId`, `library`) given 0% schema coverage, which a four-parameter tool arguably warrants.

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

Parameters2/5

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

Schema description coverage is 0% across four parameters, so the description must carry the meaning and it largely does not. It hints at identifier-based lookup and names the two providers covered by the `sources` enum, but it never explains the distinction between `id` and `bookId` or what `library` scopes, leaving the two most consequential parameters ambiguous.

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 names a specific verb and resource ('Propose real metadata for a book') and scopes it precisely to a condition ('with a missing/raw-filename title'), then names the mechanism (online provider lookup on Open Library and Google Books). It also distinguishes itself from calibre_update_book, which it explicitly positions as the write-side follow-up, so an agent can separate the two without opening either schema.

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 gives a clear triggering condition (missing/raw-filename title) and an explicit downstream path ('returns a changes object for calibre_update_book (needs writes enabled)'), which tells the agent this call alone does not persist anything. The gap is that no when-not guidance is stated for books whose metadata is already sound, and no other sibling such as calibre_extract_isbn is named as an alternative for identifier extraction.

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