Skip to main content
Glama
calibre-mcp

calibre-mcp

by caelum29

Get book metadata

calibre_get_book
Read-only

Retrieve complete metadata for a single Calibre ebook by ID or UUID, including authors, ISBN, formats, comments, and cover. Set include_cover to inspect the cover image when needed.

Instructions

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.

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_get_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
bookIdNo
libraryNo
include_coverNo

Output Schema

NameRequiredDescriptionDefault
bookNo
libraryIdNo
serverUrlNo

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. First observedv0.7.2

TDQS

A3.8/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, so safety is covered. The description adds genuinely new behavioral context: id and bookId are aliases of each other, and cover retrieval is opt-in and should be limited to inspection use. It stops short of saying what happens when neither identifier is supplied.

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 tight sentences with the resource and return fields front-loaded, followed by the identifier aliasing rule and the cover caveat. No redundant restatement of the name or title.

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?

An output schema exists, so return values need no explanation, and the description covers the identifier ambiguity and the one costly flag. The gap is the undocumented `library` scoping parameter and the absence of any statement about identifier requirements, which matters for a 0%-coverage schema.

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 does explain the id/bookId aliasing and the purpose of include_cover. However the `library` parameter is never mentioned and it is unstated that all four parameters are optional or which one is required in practice.

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?

States a specific verb and resource ("Get full metadata ... for one book") and enumerates what metadata is returned (authors, ISBN, formats, comments, cover), which separates it from a list/search tool by scope. It never names a sibling alternative, so the differentiation is implied rather than explicit.

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?

Provides conditional guidance for include_cover ("only when the cover image itself must be inspected") and a workflow hint ("pass the bookId from a search result"). It gives no guidance on when to choose this tool over calibre_recover_metadata or calibre_get_content, and no exclusions for the single-book case.

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