Skip to main content
Glama

NextBooks

get_book

Read-onlyIdempotent

Read one book's full record. Use it after list_books, or when you already have an id from a book page's address. Returns the title, authors, description, publisher, year, pages, language, ISBN, average rating and rating count; a detail the catalogue lacks is null.

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": {
      "id": "<id>"
    },
    "name": "get_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe book id, from list_books or a book page's address

Output Schema

NameRequiredDescriptionDefault
idYes
isbnNo
titleYes
authorsYes
image_urlNo
num_pagesNo
publisherNo
thumbhashNo
descriptionNo
language_codeNo
ratings_countNo
average_ratingNonumeric(3,2) travels as its decimal string, exactly as upstream's Drizzle decimal column does ("4.00").
publication_yearNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds genuine value beyond that by enumerating the returned fields and disclosing null semantics ("a detail the catalogue lacks is null"), which tells the agent how to interpret missing data.

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, front-loaded with purpose, then usage, then return shape. Nothing is redundant with the schema and no sentence is 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 one-parameter read tool with full annotation coverage and an output schema, the description covers purpose, entry point, and null handling. An agent has everything needed to call it correctly and interpret the result.

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% and the single id parameter is already documented as "the book id, from list_books or a book page's address." The description repeats that provenance without adding format, range, or error semantics, so baseline 3 applies.

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?

The description opens with a specific verb and resource ("Read one book's full record") and implicitly contrasts with list_books by saying "one book." An agent can distinguish this single-record fetch from the sibling list/count tools without opening a schema.

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?

It gives concrete triggering conditions: after list_books, or when an id is already known from a book page's address. That is clear routing guidance, though it does not state an explicit when-not or name get_catalog/count_books as alternatives.

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.

Resources