Skip to main content
Glama

Get Work

openlibrary_get_work
Read-onlyIdempotent

Fetch a work by Open Library Work ID (OL…W). Returns title, description, subjects, cover IDs, and linked author IDs for follow-up lookups. Works represent the abstract book concept independent of any specific edition. Note: author names are not included — use openlibrary_get_author or openlibrary_search_books for names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
work_idYesOpen Library Work ID. Format: OL…W (e.g., "OL45804W"). A leading "/works/" prefix is stripped if provided.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
titleNoWork title.
noticeNoDisclosure when the text output caps a long list — names the omitted count and points to the complete array in structuredContent. Absent when nothing was capped.
createdNoISO 8601 creation timestamp. Absent when not available.
work_idNoCanonical Open Library Work ID (OL…W).
subjectsNoSubject tags for this work.
cover_idsNoNumeric cover IDs. Pass to openlibrary_get_cover_url with id_type "id".
author_idsNoOpen Library Author IDs (OL…A). Use openlibrary_get_author for names and bio.
descriptionNoWork description or blurb. Absent when not provided.
last_modifiedNoISO 8601 last-modified timestamp. Absent when not available.
subject_timesNoTime period subjects.
subject_peopleNoPeople subjects.
subject_placesNoGeographic subjects.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already carry readOnlyHint, idempotentHint, and openWorldHint, lowering the bar. The description adds value beyond annotations by disclosing the return payload and, importantly, the exclusion behavior that author names are omitted — a non-obvious trait an agent must know before calling. No contradiction: 'Fetch' is consistent with readOnlyHint=true.

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 tight sentences with zero filler. The verb+resource and primary behavior are front-loaded, the abstract-work concept is stated next, and the exclusion with alternatives closes it out. Every sentence earns its place.

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?

Output schema covers return values, the sole parameter is fully documented in the schema, and annotations carry the safety profile. The description completes the picture with the work-versus-edition distinction and the author-name exclusion. Nothing an agent needs to call this correctly is missing.

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% — work_id's format (OL…W), required status, and prefix-stripping ('/works/' is stripped) are fully documented in the schema. The description merely echoes the OL…W format without adding syntax or semantic details beyond the schema, so the baseline 3 is appropriate.

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: 'Fetch a work by Open Library Work ID (OL…W)'. Clearly differentiates from siblings by explaining that works are the 'abstract book concept independent of any specific edition', pointing away from get_edition and get_edition(s). The returns list (title, description, subjects, cover IDs, author IDs) makes the tool's scope unambiguous.

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?

Provides an explicit exclusion with named alternatives: 'author names are not included — use openlibrary_get_author or openlibrary_search_books for names.' The work-vs-edition distinction also implicitly routes the agent toward get_edition when a specific physical edition is wanted, though it does not name that sibling explicitly. Clear context with one explicit exclusion, but not a full when-to-use enumeration.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Every tool targets a distinct resource-action pair: author lookup, author works, cover resolution, edition resolution by identifier, edition listing by work, subject browsing, work lookup, and three search types (authors, books, full-text). The only near-overlap is get_edition vs get_editions, but the descriptions clearly separate identifier-based resolution from listing editions of a work, and cross-references reinforce the distinction.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern: get_* for direct retrieval and search_* for query-based lookups. The single pair get_edition/get_editions is a natural pluralization, not an inconsistency. Naming is predictable and intuitive throughout.

Tool Count5/5

Ten tools is an ideal size for a read-heavy library API. Each tool serves a distinct purpose (author, work, edition, subject, cover, three search modes) without redundancy or bloat. The surface feels deliberately scoped and not overwhelming.

Completeness5/5

The set covers the full read surface of Open Library: authors (get/search), works (get/search), editions (get by ID, list by work), subjects, covers, and full-text search. There are no obvious missing operations—all core entities and lookup paths are represented, and recoveries for missing data (e.g., author names) are built into descriptions.