Skip to main content
Glama

Open Library Books ISBN Catalog MCP

Search Open Library books

search_books
Read-onlyIdempotent

Search the Open Library book catalog by keyword query, title, or author name to retrieve works, authors, publish years, edition counts, and cover URLs.

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": "search_books"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoResult page number (default 1).
limitNoMaximum books to return (1-50, default 10).
queryNoFree-text book search query (e.g. "clean code").
titleNoBook title filter.
authorNoAuthor name filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered structurally. The description adds genuine value by enumerating the returned fields (works, authors, publish years, edition counts, cover URLs), which matters since there is no output schema. It omits any note on pagination behavior or what happens with an empty query, given all five parameters are optional.

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?

A single front-loaded sentence with the search modes stated before the return fields, and no filler or redundancy. It is a little dense in the return-value enumeration, but nothing is wasted.

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?

With no output schema, the description correctly shoulders the burden of describing return values, and it does so concisely. For a five-parameter, zero-required read-only search tool this is nearly complete; only pagination/empty-query behavior is left to the schema.

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 description coverage is 100%, so both query/title/author and page/limit are already documented. The description restates only the three search fields and says nothing about page or limit, so it adds no meaning beyond the schema; 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?

States the specific verb (search) and resource (Open Library book catalog) plus the three filter dimensions (keyword, title, author). This implicitly separates it from lookup_isbn and search_by_subject, but it never names those siblings, so differentiation is inferred rather than stated.

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 only implied: an agent can guess that free-text goes in 'query' and that this is a general search rather than an ISBN or subject lookup. There is no explicit when-to-use / when-not guidance and no pointer to search_by_subject or lookup_isbn for narrower cases.

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.