Skip to main content
Glama

Books Search Books

books_search_books
Read-onlyIdempotent

Search for books by title, author, or keyword. Returns title, author, year, ISBN, and cover image URL. Use this to discover books before fetching full details.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "1984 George Orwell"
    },
    "name": "books_search_books"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results to return (1-20, default 5)
queryYesSearch query (title, author, or keywords)

Output Schema

NameRequiredDescriptionDefault
booksYesArray of matching books
total_foundYesTotal number of matching books found

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/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 and idempotency profile is fully covered structurally. The description adds that results are lightweight discovery records with title/author/year/ISBN/cover URL, but since an output schema exists, that field list largely restates structured data. No pagination, ranking, or empty-result behavior is disclosed.

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 short sentences, front-loaded with the purpose and with zero filler. The return-fields sentence is the only slightly padded element given an output schema exists.

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 two-parameter read-only search tool with full schema coverage and a declared output schema, the description covers purpose, inputs, and workflow position. Only minor operational details (result ordering, behavior on no matches) are absent, which is acceptable given the surrounding structure.

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%: query and limit (1-20, default 5) are both documented in-schema. The description's note that query accepts title, author, or keywords mirrors the schema string rather than adding new syntax or matching behavior, so the baseline 3 applies.

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 gives a specific verb and resource ("Search for books") plus the three accepted query modes (title, author, keyword), and the phrase "before fetching full details" implicitly separates it from the detail-fetching sibling books_get_book. An agent can distinguish search from get without opening either 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?

"Use this to discover books before fetching full details" states the workflow position clearly: this is the discovery step that precedes a detail lookup. It gives clear context but names no explicit exclusions or named alternative, so it falls short of a 5.

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.