Skip to main content
Glama

Search books

search_books
Read-only

Find a book by title, author or words from its plot, and get the workId the other Siftivo tools take. Suits "what is Babel about", "is Demon Copperhead worth reading", "add Circe to my list" and a half-remembered plot ("the novel about a man alone in an endless house of statues").

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": {
      "query": "<query>"
    },
    "name": "search_books"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesWords to search for
isFictionNoRestrict to fiction (true) or nonfiction (false)

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 cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the remaining burden is small. The description adds the key behavioral fact an agent needs with no output schema present: the result yields a workId that downstream tools accept. It does not cover result ordering, the default limit, or empty-result behavior.

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: capability and return value first, concrete usage examples after. The example list is long but each one demonstrates a distinct query mode, so the length is justified rather than padding.

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?

For a read-only three-parameter search with no output schema, the description supplies the essential pieces: what goes in, what comes out, and typical intents. The main residual ambiguity is overlap with recommend_from_description when the query is a plot description, plus unstated paging/limit behavior.

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 67% and the description compensates only partially: it enriches the required query parameter (titles, authors, and fuzzy plot recall all being valid) well beyond the schema's bare "Words to search for". The limit and isFiction parameters receive no explanation in the description, leaving the cap of 20 and the fiction filter semantics to inference.

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 ("Find a book") plus the accepted query modes (title, author, plot words) and the payoff ("get the workId the other Siftivo tools take"). That last clause cleanly separates it from siblings like get_book, which consume a workId rather than produce one.

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?

The four quoted example intents ("what is Babel about", "is Demon Copperhead worth reading", "add Circe to my list", "a half-remembered plot") give a clear picture of when to reach for this tool. It stops short of explicit exclusions or naming the sibling to use instead when the intent is a recommendation or when a workId is already known.

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.