Compare books
compare_booksSets two or three books side by side and shows them as a comparison grid. Aspects: "difficulty" (overall and per-dimension scores, and each book's hardest and easiest dimensions), "themes" (shared and distinct), "length" (word count and reading time), "style" (primary genre and literary regard) and "awards".
Use when the user asks to compare specific books, which of them is harder or longer, or which to read first. For a single book, use get_book_details. To find books, use search_books.
Default aspects: difficulty, themes, length.
Examples:
{"book_ids": ["crime-and-punishment", "the-brothers-karamazov"]}
{"book_ids": ["1984", "brave-new-world", "fahrenheit-451"], "aspects": ["themes", "difficulty"]}
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": {
"book_ids": "<book_ids>"
},
"name": "compare_books"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aspects | No | What to compare (default: difficulty, themes, length) | |
| book_ids | Yes | Two or three ReadingRate book ids or slugs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| books | Yes | ||
| summary | No |