Skip to main content
Glama
mcp-open-library

mcp-open-library

Get work details

get_work
Read-only

Retrieve a book's full Open Library work record across all editions, including description, subjects, authors, first publication date, cover, and external links.

Instructions

Get the full record for an Open Library work — the book as a whole, across all its editions: description, subjects, authors, first publication date, cover and external links. Takes the open_library_work_key returned by search_books, get_book_by_title or get_book_by_id. Use get_work_editions to list the work's 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": {
      "work_key": "<work_key>"
    },
    "name": "get_work"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description goes further by enumerating what the full record contains (description, subjects, authors, first publication date, cover and external links), which substitutes for the absent output schema. Minor friction: it refers to the input as `open_library_work_key` while the schema parameter is `work_key`, though the accepted forms make this unlikely to cause a failed call.

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?

Two sentences, both front-loaded with the highest-value information: identity/scope first, then where the key comes from and which sibling to use instead. No filler.

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 single-parameter read tool with no output schema, the description covers purpose, scope, input provenance, and a summary of returned fields. Nothing an agent needs in order to call it correctly is missing.

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% and the schema already documents the OL\d+W pattern and the optional /works/ prefix, so the baseline is 3. The description adds provenance the schema cannot express — which sibling tools return this key — making the value's origin and reusability clear.

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 ('Get the full record for an Open Library work') and immediately scopes it as the book-as-a-whole across editions, which cleanly separates it from get_work_editions and the single-edition lookups. An agent can pick this tool 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 Guidelines5/5

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

Names the upstream tools that produce the key (search_books, get_book_by_title, get_book_by_id) so the agent knows the entry path, and explicitly routes edition listing to get_work_editions. Both the when-to-use and the alternative are stated.

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