Skip to main content
Glama

Polyglot Publishing

Search the catalogue

search_books
Read-onlyIdempotent

Search Polyglot Publishing's catalogue of public-domain literature by title, author, genre or theme. Returns books with their euro prices. Leave the query empty to get the most-read titles. Every book can then be produced in any ordered pair of the 44 languages — call list_editions next.

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
limitNoHow many books to return. Defaults to 10.
queryNoTitle, author, genre or theme. Empty or omitted returns the most popular titles.
languageNoLanguage the titles and summaries are returned in. Defaults to English. This is NOT the language of the book being bought.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: results carry euro prices, an empty query falls back to most-read titles, and every book can be produced in any ordered pair of 44 languages. It does not mention result ordering, pagination, or empty-result behavior, which keeps it from a 5.

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?

Three tight sentences with the core purpose front-loaded and no filler. The final sentence mixes in workflow advice that could arguably be trimmed, but it is still substantive rather than redundant.

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 does the necessary work of summarizing returns (books plus euro prices, most-read fallback) and the likely next step (list_editions). For a simple three-parameter read-only search tool this is nearly complete; only edge-case behavior such as empty results or ordering is unaddressed.

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 schema already documents all three parameters, including the important warning that language is not the book's language. The description restates the field list (title, author, genre, theme) and the empty-query fallback without adding syntax, matching, or formatting details beyond the schema. Baseline 3 is appropriate.

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 ("Search Polyglot Publishing's catalogue of public-domain literature") and enumerates the searchable fields (title, author, genre, theme). This clearly separates it from siblings like get_book (single book) and list_editions (editions of a book), which the description explicitly references.

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 usage context: leave the query empty for most-read titles, and call list_editions next to see editions. That covers the empty-query case and the downstream workflow, but it offers no explicit when-not guidance or comparison against other search-style entry points.

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