Skip to main content
Glama

Get Book

get_book
Read-onlyIdempotent

Get detailed information about a specific book, including full description, images, topics, and bookseller contact details. Requires the bookseller ID and book reference (available from search_books results). Topic names are localized via the language parameter. Price and shipping are the bookseller's own, in the currency given by currency, as decimals with two places (comparablePrice is the EUR equivalent, rounded to the cent, for comparison only) — quote them with that currency, never as EUR. There is no currency on the book itself: it belongs to the bookseller.

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

Input Schema

NameRequiredDescriptionDefault
languageNoLanguage code (ISO 639-1) for localized topic names (default: the language of the Accept-Language header of the MCP request, else "fr"). Examples: "fr", "en", "de"
referenceYesThe book reference (unique per bookseller)
booksellerIdYesThe bookseller ID

Output Schema

NameRequiredDescriptionDefault
bookYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive, so the safety profile is covered and the description correctly spends its words on domain behavior instead. It discloses a genuinely non-obvious trap: price and shipping belong to the bookseller, are in the currency field's currency, and comparablePrice is only a EUR comparison value that must never be quoted. The only gap is that rate limits or failure modes are not mentioned, which is minor for a read tool.

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?

It is front-loaded with the purpose, then moves to preconditions and the currency caveat in a logical order, and each sentence carries information. The currency parenthetical is dense and slightly rambling, but nothing is genuinely wasted.

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 three-parameter read tool with an output schema, the description covers purpose, prerequisites, localization behavior, and the one interpretive hazard (currency attribution between book and bookseller). Nothing an agent needs in order to call this correctly and read the result 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%, so a baseline of 3 would suffice, but the description adds real meaning on top: 'reference' is scoped as unique per bookseller and sourced from search_books, and 'language' is framed as driving localization of topic names. That is meaningful semantic context the schema does not state.

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?

It names a specific verb and resource ('Get detailed information about a specific book') and enumerates the payload (description, images, topics, bookseller contact details). It is clearly a single-record detail fetch and points at 'search_books results' as the discovery path, so an agent can distinguish it from the search sibling 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 states the precondition for use by telling the agent it 'Requires the bookseller ID and book reference (available from search_books results)', which effectively routes an agent through search_books first. It gives no explicit when-not-to-use or exclusion, but the context is unambiguous.

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