Skip to main content
Glama

Get an audiobook

get_book
Read-onlyIdempotent

Get one public audiobook by id: title, author, languages, CEFR level, audience, length, and links to its reader page, audio and share image.

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_id": "<book_id>"
    },
    "name": "get_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
book_idYesThe book's id (the `id` field of a Book).

Output Schema

NameRequiredDescriptionDefault
idYesStable book id (a UUID).
urlsYes
levelYesCEFR difficulty level. Null when the book has no level.
scoreYesCommunity score: upvotes minus downvotes, never below zero.
titleYesTitle as the publisher entered it.
authorYesAuthor as attributed by the book's publisher. Not verified by bibooks.org; treat it as a claim, not a fact.
originYesWhere the text came from. Null when it is not one of the public origins.
audienceYesIntended audience. Null when not set.
published_atYesWhen the book finished generating (ISO 8601, UTC). Null when unknown.
audio_patternYesWhich 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.
speed_percentYesSpeaking speed of the target-language audio, as a percentage of normal (100).
source_languageYesContent-language code of the original text (see GET /languages). Null when it was not recorded.
target_languageYesContent-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").
duration_secondsYesLength of the audio in seconds. Null when unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • 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."
    • addedOutput schema / 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 / 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 / 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"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile is fully covered. The description adds only the qualifier "public", hinting at a visibility restriction, but otherwise restates return fields that the output schema already documents. No mention of error behavior for unknown or non-public ids.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the verb and scope first and the returned fields second; no filler or redundancy.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With rich annotations, a fully described single parameter, and an output schema, the definition covers everything needed to invoke the tool correctly. The only meaningful omission is relative guidance against the sibling lookup and search tools.

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 100% and the book_id field already explains it is "the `id` field of a Book", including length bounds. The description contributes nothing beyond "by id", so the baseline 3 for fully documented schemas applies.

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 names a specific verb and resource ("Get one public audiobook by id") and enumerates the metadata it returns, so an agent knows exactly what this tool yields. It does not explicitly contrast itself with siblings such as read_book or search_books, which keeps it at 4 rather than 5.

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?

The phrase "by id" implies the caller must already hold a book id and that this is a lookup rather than a browsing tool, but no explicit when-to-use or when-not-to-use guidance is given. Nothing tells the agent to prefer search_books when it lacks an id, or read_book when it wants content.

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.