Skip to main content
Glama
mcp-open-library

mcp-open-library

List editions of a work

get_work_editions
Read-only

List an Open Library work’s editions by work key, returning publisher, date, language, ISBNs, page count, and format; page through results with limit and offset.

Instructions

List the editions of an Open Library work — its specific printings, each with publisher, date, language, ISBNs, page count and format. Takes the open_library_work_key returned by search_books, get_book_by_title or get_book_by_id. Returns at most limit editions (default 20, maximum 100) with num_found, the total; page through them with offset. Editions are in Open Library's order, not by date, and cannot be filtered. Pass an edition's edition_key to get_book_by_id as { idType: "olid" } for its full record.

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": {
      "work_key": "<work_key>"
    },
    "name": "get_work_editions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of editions to return (1-100, default 20).
offsetNoNumber of editions to skip, for paging through the total reported as num_found (default 0).
work_keyYesThe Open Library work key, e.g. OL45804W. The /works/OL45804W form returned by search_books, get_book_by_title and get_book_by_id is also accepted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds real behavioral context beyond them: result ordering is Open Library's order rather than chronological, filtering is impossible, and paging is done via offset against num_found. It stops short of covering failure modes or volatility of the remote data, so not a 5.

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?

Three sentences, front-loaded with purpose and return fields, then input provenance, then paging behavior, then the follow-up call. No filler and no redundant restatement of the tool name or title.

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?

There is no output schema, but the description enumerates the returned edition fields and the num_found total, and it covers paging and limits. For a three-parameter read-only list tool, an agent has everything needed to call it and continue to the full record.

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 description coverage is 100%, so limit, offset and work_key are already fully documented in structured form, and the description largely restates the 20/100 bounds and paging semantics. Its one genuine addition is explaining that the response carries num_found and that offset pages against that total — useful but modest beyond the schema baseline.

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 and resource ("List the editions of an Open Library work") and immediately characterizes what an edition is — "its specific printings" — plus the fields each carries (publisher, date, language, ISBNs, page count, format). This clearly separates it from get_work (the work itself) and get_book_by_id (a single edition's full record).

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?

Explicitly names the upstream tools that produce the required key (search_books, get_book_by_title, get_book_by_id) and gives the downstream step: pass an edition's edition_key to get_book_by_id with { idType: "olid" }. It also states a negative constraint — editions "cannot be filtered" — which prevents a futile filtered call.

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