Skip to main content
Glama

Book search, find books by title or author

book_search
Read-only

Search books by title, author or any words: up to 20 works with title, authors, first publish year, edition count, ISBNs (up to 5), publishers, languages, cover image and Open Library link, from Open Library's catalogue (CC0). Filter by author or title alone if you like. Use to find a book's ISBN, an author's works or editions before an ISBN lookup. Example: q=dune frank herbert. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
qNoWords to search for (title, author, subject)
limitNoNumber of works (1-20, default 10)
titleNoSearch the title only
authorNoSearch the author only

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limit / maximum
      Previous value: -9007199254740991New value: +20
    • changedInput schema / properties / limit / minimum
      Previous value: --9007199254740991New value: +1
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and destructiveHint=false, but the description goes well beyond them: per-call pricing ($0.01 x402 USDC or card key via /credits), a 10-call free tier, failures being free, and an explicit warning that repeats are not free — which meaningfully explains the idempotentHint=false annotation in practical terms. It also discloses the data source and license and the hard 20-result cap.

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 core capability and result fields are front-loaded before pricing and caveats, and every clause carries information. It is, however, a single dense run-on sentence stacking output fields, pricing, and policy, which costs some readability.

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?

There is no output schema, so enumerating returned fields is necessary and done thoroughly; the read-only and open-world behavior is covered by annotations and reinforced in text, and the cost model and free tier are disclosed. An agent has everything needed to decide and call correctly.

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 is 3, but the description adds real meaning: the q parameter is shown by example to accept combined words ('q=dune frank herbert'), and title/author are framed as standalone narrowed searches rather than additional filters. It also surfaces the 20-item ceiling and up-to-5 ISBNs returned, which 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?

States a specific verb and resource ('Search books by title, author or any words') and enumerates the returned fields (title, authors, first publish year, edition count, ISBNs, publishers, languages, cover image, link) plus the source (Open Library CC0). The mention of ISBN lookup as a downstream step implicitly separates it from the sibling book_isbn, so an agent can route 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?

Gives a concrete use case ('find a book's ISBN, an author's works or editions before an ISBN lookup') with a worked example query, and notes that title-only or author-only filtering is allowed. It lacks explicit when-not guidance or a named alternative among the broader search siblings, so it stops short of a full routing rule.

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