Skip to main content
Glama
mcp-open-library

mcp-open-library

Find books by title

get_book_by_title
Read-only

Search Open Library by book title to find matching works and editions, with paginated results and identifiers for follow-up lookups.

Instructions

Search for a book by its title on Open Library. Returns at most limit results (default 10) together with num_found, the total number of matches; page through them with offset. Each result carries best_edition — one edition of the work, with its isbn_13/isbn_10 where Open Library has them, and its edition_key, which can be passed to get_book_by_id as { idType: "olid" } for that edition's full record. Each result's open_library_work_key can be passed to get_work for the work's description, subjects and authors, or to get_work_editions to list its editions.

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": {
      "title": "<title>"
    },
    "name": "get_book_by_title"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return (1-50, default 10).
titleYesThe title of the book to search for.
offsetNoNumber of results to skip, for paging through the total reported as num_found (0-1000, default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.1
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 10,
      +  "description": "Maximum number of results to return (1-50, default 10).",
      +  "maximum": 50,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Number of results to skip, for paging through the total reported as num_found (0-1000, default 0).",
      +  "maximum": 1000,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / title / minLength
      Added value: +1
  2. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial behavioral detail beyond them — result cap tied to limit, the num_found total, pagination semantics, and the exact shape of each result (best_edition, isbn_13/isbn_10, edition_key, open_library_work_key). That is exactly the return-shape disclosure a no-output-schema tool needs.

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?

Front-loaded with the action and service, then pagination, then downstream routing — three sentences with no filler and no repetition of the schema verbatim.

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?

With three parameters, no output schema and only safety annotations, the description covers what the tool does, how to page it, and what each result contains well enough to call and consume it correctly.

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 is 3; the description still adds value by tying limit and offset to the returned num_found and by explaining that edition_key is reusable as an OLID argument elsewhere. Some of this restates the offset field description, keeping it out of the top band.

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?

States a specific verb, resource and target service: 'Search for a book by its title on Open Library.' It goes further and names the exact follow-up paths (get_book_by_id with idType 'olid', get_work, get_work_editions), so an agent can place it in the workflow without opening any 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?

Clear usage context: search by title, page with offset against num_found, and escalate to get_book_by_id / get_work / get_work_editions for full records. It does not, however, say when to prefer this over the sibling search_books (e.g. broader query fields), leaving one routing decision implicit.

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