Skip to main content
Glama

ReadingRate

Add matched books to the library

add_matched_books_to_library
Idempotent

Adds up to 40 books to the reader's ReadingRate library in one call, by ReadingRate book id, all on the same shelf (want-to-read unless a status is given). Books already in the library are left where they are and listed.

Use after lookup_books_batch has matched a photographed shelf or a list, and the reader has said which of the matched books to add. Books added as read also go on the reader's ReadingRate activity feed; other readers see that they finished them while the reader's profile is public and shows finished books (new accounts start private, and finished books start hidden). It takes ids only, so it never adds a book to the catalog; a book lookup_books_batch could not match is added with add_book_to_library once the reader confirms its title.

Example: {"book_ids": ["", ""], "status": "read"}

Input Schema

NameRequiredDescriptionDefault
statusNoThe shelf to put every newly added book on instead of want-to-read
book_idsYesReadingRate book ids, as lookup_books_batch returns them (max 40)

Output Schema

NameRequiredDescriptionDefault
addedNoBooks added, with id and title, plus reason when a book went in but its status did not
failedNoBooks that could not be added, with id and reason
messageYesHuman-readable result
successYesTrue unless no book could be added
already_thereNoBooks already in the library, with id, title and the shelf they are on; they were not changed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover safety hints (idempotent, non-destructive), and the description adds genuinely non-obvious behavior: the 40-book cap, the want-to-read default, that already-present books are left in place and reported back, and that 'read' books publish to the activity feed subject to profile privacy defaults. Nothing contradicts the annotations; the idempotent hint is consistent with 'left where they are'.

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?

Front-loaded with purpose and cap, then selection guidance, then side effects, then an example — a sensible order with no filler. The activity-feed/privacy sentence is long and heavily nested, which costs a little readability.

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

Completeness5/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; the description still covers inputs, cap, default shelf, duplicate handling, downstream visibility, and the sibling alternative. For a 2-parameter mutation tool this is complete enough to call correctly on first try.

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

Parameters4/5

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

Schema coverage is 100% (including the status enum and the 40-max on book_ids), so the baseline is 3, but the description adds that status applies uniformly to every newly added book and that absent status means want-to-read. The concrete JSON example reinforces the shapes. Minor gap: it does not explain what happens when book_ids exceeds 40.

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 first sentence states a specific verb (adds), resource (books to the reader's library), scope limit (up to 40, one call), keying (by ReadingRate book id), and default shelf behavior. It is clearly distinguishable from add_book_to_library (single, unmatched books) and lookup_books_batch (matching, not adding), both of which it names.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing: use after lookup_books_batch has matched a shelf or list and the reader has chosen which books to add; unmatched books go through add_book_to_library once the title is confirmed. It also states the tool never adds to the catalog, an explicit when-not condition.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.