Skip to main content
Glama

Get Book Work

get_book_work
Read-onlyIdempotent

Fetch the canonical Open Library "work" record (the concept of a book across all its editions), by work ID (e.g. "OL45804W"). Returns title, description, first publish date, subjects, and author keys. Use search_books to find a work_id (the W-suffixed key); use get_book for a specific edition by ISBN. (Named get_book_work to avoid colliding with Crossref get_work.)

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "work_id": "OL45804W"
    },
    "name": "get_book_work"
  }
}

Input Schema

NameRequiredDescriptionDefault
work_idYesOpen Library work ID, the W-suffixed identifier (e.g. "OL45804W").

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / oneOf
      Added value: +[
      +  {
      +    "properties": {
      +      "author_keys": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "authors": {
      +        "description": "Author IDs",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "cover_url": {
      +        "description": "URL to cover image",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "description": {
      +        "description": "Work description",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "first_publish_date": {
      +        "description": "Date of first publication",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "found": {
      +        "description": "Present and true on an answer; a miss is the found:false branch.",
      +        "enum": [
      +          true
      +        ],
      +        "type": "boolean"
      +      },
      +      "open_library_url": {
      +        "description": "Open Library work URL",
      +        "type": "string"
      +      },
      +      "subject_people": {
      +        "description": "Person subjects",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "subject_places": {
      +        "description": "Place subjects",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "subject_times": {
      +        "description": "Time period subjects",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "subjects": {
      +        "description": "Subject tags",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "description": "Work title",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "work_id": {
      +        "description": "Open Library work ID",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "work_id",
      +      "title",
      +      "description",
      +      "first_publish_date",
      +      "subjects",
      +      "cover_url",
      +      "open_library_url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
      +    "properties": {
      +      "found": {
      +        "enum": [
      +          false
      +        ],
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "found"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "author_keys": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "authors": {
      -    "description": "Author IDs",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "cover_url": {
      -    "description": "URL to cover image",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "description": {
      -    "description": "Work description",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "first_publish_date": {
      -    "description": "Date of first publication",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "open_library_url": {
      -    "description": "Open Library work URL",
      -    "type": "string"
      -  },
      -  "subject_people": {
      -    "description": "Person subjects",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "subject_places": {
      -    "description": "Place subjects",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "subject_times": {
      -    "description": "Time period subjects",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "subjects": {
      -    "description": "Subject tags",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "title": {
      -    "description": "Work title",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "work_id": {
      -    "description": "Open Library work ID",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "work_id",
      -  "title",
      -  "description",
      -  "first_publish_date",
      -  "subjects",
      -  "cover_url",
      -  "open_library_url"
      -]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / author_keys
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "work_id",
      -  "title",
      -  "description",
      -  "first_publish_date",
      -  "authors",
      -  "subjects",
      -  "subject_places",
      -  "subject_people",
      -  "subject_times",
      -  "cover_url",
      -  "open_library_url"
      -]New value: +[
      +  "work_id",
      +  "title",
      +  "description",
      +  "first_publish_date",
      +  "subjects",
      +  "cover_url",
      +  "open_library_url"
      +]
  3. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld, so the safety profile is covered. The description adds the return field list (title, description, first publish date, subjects, author keys), but since an output schema exists that content is largely redundant; the only genuinely new behavioral note is the naming-collision rationale for get_book_work.

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

Conciseness4/5

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

Three sentences, front-loaded with the core action and scope, with zero filler. The parenthetical about avoiding a Crossref name collision is mild clutter but does resolve a real ambiguity.

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 lookup with full schema coverage, complete annotations, and an output schema, nothing an agent needs in order to call it correctly is missing. Format, alternatives, and disambiguation are all present.

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 would be 3. The description earns one more point because it explains how to obtain the value (via search_books) and reiterates the W-suffix format, which is the main failure mode for a wrong ID.

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?

Specific verb plus resource: "Fetch the canonical Open Library 'work' record ... by work ID", and it even defines what a work is (the concept of a book across all its editions). It is clearly distinguishable from the sibling tools it names, search_books and get_book.

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?

Explicit routing is given for both directions: use search_books to obtain a work_id (W-suffixed key), and use get_book for a specific edition by ISBN. That is a when-to-use and when-to-use-something-else statement in one sentence.

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.