Skip to main content
Glama

Find books by mood

find_books_by_mood
Read-onlyIdempotent

Find books in the ShelfClub catalog by mood, vibe, pace and genre tags. At least one tag is needed. Books that carry every requested tag are listed first, most read first; when there are fewer of those than asked for, books that carry some of the tags follow, and matchAll says how many of the books returned carry every tag. Each book is returned with its own tags. Returns up to 10 books, each with its ShelfClub id, authors, description, reader rating, series and shelfclub.app link. The tags are machine-generated, or voted for by at least three readers of the book.

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": "find_books_by_mood"
  }
}

Input Schema

NameRequiredDescriptionDefault
paceNoHow quickly the story moves.
limitNoHow many books to return.
moodsNoHow the book feels to read.
vibesNoThe kind of reading experience.
genresNo

Output Schema

NameRequiredDescriptionDefault
booksNo
statusYes"try_again_later": the service was busy and looked nothing up, so the other fields are absent.
hasMoreNoWhether more books carry these tags than were returned.
matchAllNoHow many of `books`, counted from the first, carry every tag asked for. The books after them carry some of the tags.
tagProvenanceNoWhere the moods, vibes, pace and genres come from.
retryAfterSecondsNoWith "try_again_later", when known: how long to wait.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / books / items / properties / id / description
      Previous value: -"The Shelfclub id of the book."New value: +"The ShelfClub id of the book."
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the read-only, idempotent annotations, the description explains ranking behavior: exact tag matches come first, most-read first, with partial matches following. It also discloses the matchAll signal, the cap of up to 10 results, returned book fields, and that tags are machine-generated or reader-voted, which is substantial behavioral context.

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?

The description is front-loaded with the core purpose, then adds ranking, result cap, and tag provenance in a logical order. It is generally efficient, though the return-field list partially duplicates what the output schema already provides.

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?

Given the existing output schema and annotations, the description covers the key non-obvious behavior an agent needs: tag requirement, ranking and fallback behavior, matchAll meaning, result cap, and tag trust provenance. Nothing critical for correct invocation appears to be missing.

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 coverage is high at 80%, so the schema already documents most parameter semantics, including pace, limit, moods, and vibes enums. The description adds the important constraint that at least one tag is needed, but it does not clarify the genres parameter or add meaning beyond the schema for limit and pace.

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?

The description gives a specific verb and resource: it finds books in the ShelfClub catalog using mood, vibe, pace, and genre tags. That tag-based discovery focus distinguishes it from generic catalog siblings such as search_books, though no sibling is named explicitly.

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?

It states a concrete usage requirement — at least one tag is needed — but gives no explicit guidance on when to choose this tool over search_books, get_similar_books, or get_trending_books. The intended use is implied by the tag-based filtering, not fully spelled out.

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.

Resources