compare_books
Rank 2-10 books side by side by average rating and rating distribution, including positive and critical shares, to identify higher-rated titles and how divisive each is.
Instructions
Compare several books side by side by rating and rating distribution.
Fetches each book and returns them ranked best-to-worst by average rating, with the ratings_histogram plus 'pct_positive' (share of 4-5 star) and 'pct_critical' (share of 1-2 star) so you can judge not just the average but how divisive each book is. Pass 2-10 book ids (from search_books etc.); more than 10 is refused rather than silently trimmed, so split the call.
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 |
|---|---|---|---|
| book_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||