Skip to main content
Glama

Search audiobooks

search_books
Read-onlyIdempotent

Search the public library of bilingual audiobooks. All filters are optional; values within one filter are OR'd, different filters are AND'd. With no arguments, lists every public book, easiest first. Returns one page of books (see has_more and page) with each book's id, title, author, languages, CEFR level, length and links. Language filters take content-language codes from list_languages (e.g. 'es', 'zh', 'fil').

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
sortNoResult order.easiest
levelNoCEFR levels to include.
queryNoText to find in titles and authors.
originNoText origins to include.
audienceNoAudiences to include.
durationNoAudio length buckets to include.
page_sizeNoBooks per page.
source_languageNoLanguages the books' original text is written in, i.e. the learner's language.
target_languageNoThe language being learned (each book's target_language; an untranslated book counts under the one language it speaks).

Output Schema

NameRequiredDescriptionDefault
pageYesThis page's number, starting at 1.
itemsYes
totalYesNumber of books matching the filters, across all pages.
has_moreYesWhether a further page exists.
page_sizeYesMaximum number of items per page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / target_language / description
      Previous value: -"Languages the books are translated into, i.e. the language being learned."New value: +"The language being learned (each book's target_language; an untranslated book counts under the one language it speaks)."
    • addedOutput schema / $defs / Book / properties / audio_pattern
      Added value: +{
      +  "description": "Which languages the audio speaks for each sentence pair, in order, e.g. \"source-target-source\". \"source-only\" books are not translated: they speak only the source language and every target_text is empty.",
      +  "title": "Audio Pattern",
      +  "type": "string"
      +}
    • changedOutput schema / $defs / Book / properties / target_language / description
      Previous value: -"Content-language code the text was translated into."New value: +"Content-language code of the language being learned: the translation's language, or the source language for a book that is not translated (audio_pattern \"source-only\")."
    • changedOutput schema / $defs / Book / required
      Previous value: -[
      -  "id",
      -  "title",
      -  "author",
      -  "source_language",
      -  "target_language",
      -  "level",
      -  "audience",
      -  "origin",
      -  "duration_seconds",
      -  "speed_percent",
      -  "score",
      -  "published_at",
      -  "urls"
      -]New value: +[
      +  "id",
      +  "title",
      +  "author",
      +  "source_language",
      +  "target_language",
      +  "audio_pattern",
      +  "level",
      +  "audience",
      +  "origin",
      +  "duration_seconds",
      +  "speed_percent",
      +  "score",
      +  "published_at",
      +  "urls"
      +]
    • changedOutput schema / $defs / BookUrls / properties / language_hub / description
      Previous value: -"The page listing every public book in the book's target language. Null for a language without one."New value: +"The page listing every public book in the book's target_language. Null for a language without one."
  2. Changed4 schema fields changed
    • removedInput schema / $defs / Sort
      Removed value: -{
      -  "description": "Result order. `easiest`: CEFR level easiest first, unlevelled books last, highest score within a level (the default, and the order of the public library on the website). `recent`: newest first. `top_rated`: highest score first. `controversial`: most votes first. `length_asc` / `length_desc`: by audio duration.",
      -  "enum": [
      -    "easiest",
      -    "controversial",
      -    "length_asc",
      -    "length_desc",
      -    "recent",
      -    "top_rated"
      -  ],
      -  "title": "Sort",
      -  "type": "string"
      -}
    • removedInput schema / properties / sort / $ref
      Removed value: -"#/$defs/Sort"
    • addedInput schema / properties / sort / enum
      Added value: +[
      +  "easiest",
      +  "controversial",
      +  "length_asc",
      +  "length_desc",
      +  "recent",
      +  "top_rated"
      +]
    • addedInput schema / properties / sort / type
      Added value: +"string"
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered. The description still adds real value beyond them: pagination semantics ('one page of books', has_more/page reference), default ordering, and the OR/AND filter logic. It does not discuss result caps or rate limits, but for a read-only search that is a minor omission.

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?

Four sentences, each carrying distinct information, with the core purpose and filter logic front-loaded. The enumeration of returned fields (id, title, author, languages, CEFR level, length, links) is partly redundant given the tool has an output schema, which is the only mild waste.

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?

For a 10-parameter, all-optional search with an output schema, the description covers purpose, filter composition, defaults, pagination, and the external source of language codes. Nothing an agent needs in order to construct a correct call is missing, and return-value detail is appropriately light since an output schema exists.

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%, so the baseline would be 3; the description earns an extra point by explaining the boolean interplay between array filters and by pointing at list_languages as the source of valid language codes, which the schema leaves implicit. It does not document sort options or page_size limits beyond what the schema already states.

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 description opens with a specific verb and resource, 'Search the public library of bilingual audiobooks', and the filter/pagination framing makes it obviously a discovery tool rather than a retrieval tool like get_book or read_book. An agent can distinguish its role from the siblings without opening the schema.

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

Usage Guidelines4/5

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

It explains the filter combination model (OR within a filter, AND across filters) and the zero-argument behavior ('lists every public book, easiest first'), which tells an agent exactly how to call it broadly or narrowly. It also routes the agent to list_languages for valid language codes. It stops short of explicitly naming when to prefer a sibling such as get_book or find_related_books.

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.