Skip to main content
Glama
scholar-mcp

scholar-mcp

by pvliesdonk

Get Book Excerpt

get_book_excerpt
Read-only

Fetch book excerpt and preview info from Google Books using an ISBN-10 or ISBN-13; returns the publisher description, text snippet, and preview page link.

Instructions

Get a book excerpt and preview info from Google Books.

Returns the publisher description, text snippet, and a link to the Google Books preview page. Google Books does not expose full chapter text through its API; the excerpt is a publisher-provided summary and/or search snippet.

An error of not_found means Google Books answered and has no such volume: stop asking about that ISBN. A lookup that never got an answer says so instead, as rate_limited (with retryable) or upstream_error, and is worth retrying: the book may well exist.

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": {
      "isbn": "<isbn>"
    },
    "name": "get_book_excerpt"
  }
}

Input Schema

NameRequiredDescriptionDefault
isbnYesISBN-10 or ISBN-13.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv3.2.0
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties
      Removed value: -{
      -  "result": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "result"
      -]
    • removedOutput schema / x-fastmcp-wrap-result
      Removed value: -true
  2. First observedv1.9.0

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses what is actually returned (publisher description, snippet, preview link), an important capability limitation (Google Books does not expose full chapter text), and a precise error taxonomy distinguishing definitive failure (not_found) from retryable failures (rate_limited with retryable, upstream_error). This is exactly the behavioral context an agent needs to decide whether to retry or abandon.

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?

The definition is front-loaded with purpose, then limitations, then error handling in a logical progression, and each paragraph carries distinct information. It is slightly longer than strictly necessary, but no sentence is filler given the complexity of the error semantics.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter lookup with a rich output schema already defined, the description covers the important gaps: content limitations and error/retry behavior. The only omission is routing guidance toward the sibling that finds an ISBN, which is a minor gap for a tool whose contract is otherwise fully specified.

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?

The input schema already documents the single isbn parameter at 100% coverage ('ISBN-10 or ISBN-13'), and the description adds no further syntax or format guidance for it. With the schema doing the full job for the only parameter, the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Get a book excerpt and preview info from Google Books') and names the source system. It clearly conveys that this is a single-volume lookup returning descriptive/preview data rather than search results, which separates it from search_books. It stops short of explicitly contrasting with siblings like get_book, so a 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent learns the tool is for retrieving preview/excerpt data for a known ISBN, and the error semantics tell it when to retry versus stop. However, there is no explicit guidance on when to prefer this over get_book or search_books, nor any prerequisite such as resolving a title to an ISBN first.

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