Skip to main content
Glama

search_books

Read-only

Search the library catalog by title, author, ISBN, subject, or keyword to find matching books and retrieve their biblio_id for availability checks.

Instructions

Search the GBS library catalog by title, author, ISBN, subject, or keyword. Returns matching books with biblio_id for use with check_availability.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return
queryYesSearch term (title, author, ISBN, subject, or keyword)
search_typeNoType of search to performkeyword
Behavior4/5

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

With readOnlyHint annotation already signaling a safe read operation, the description adds value by disclosing that the tool returns matching books with biblio_id, which is not in the schema. It also connects to check_availability, though it doesn't mention rate limits or error behavior; for a simple read-only search, this is adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-structured sentence that front-loads the main action, then explains the output and downstream usage. It contains no superfluous words and is well-organized.

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 search tool with three parameters and a sibling, the description covers the essential purpose, output (biblio_id), and relationship to check_availability. It does not specify defaults for limit or search_type, but those are fully documented in the schema, so no critical information is missing.

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?

All three parameters (query, limit, search_type) have complete schema descriptions, so the high-coverage baseline applies. The description restates the search types but adds no supplementary syntax, examples, or parameter-specific behavior beyond the schema.

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 uses a specific verb 'Search' targeting the GBS library catalog, enumerates search dimensions (title, author, ISBN, subject, or keyword), and explains the output (biblio_id) for use with check_availability. This clearly distinguishes its role from the sibling tool.

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 description implies a clear workflow by stating 'for use with check_availability', indicating that this tool is a precursor for availability checks. It lacks explicit when-not-to-use instructions but provides enough contextual guidance for an agent to understand when this tool is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wrecks1997/koha-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server