Skip to main content
Glama

book_fulltext_search

Read-onlyIdempotent

Search INSIDE the indexed corpus of top public-domain books for a phrase or keywords and get back the matching passages, each with the book title, author, and a snippet around the match. This is the headline feature: agents can find where a passage appears across great books. Optionally restrict to one book by gutenberg_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum passages to return (default 10, max 50).
queryYesPhrase or keywords to find inside the books, e.g. 'it was the best of times', 'whale'.
gutenberg_idNoOptional: restrict the search to a single indexed book by its Gutenberg id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / gutenberg_id / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / limit / maximum
      Added value: +50
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. First observed

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 profile is fully covered. The description adds that results are snippets (passages) rather than full books and describes the returned fields, which is useful, but doesn't discuss ranking, matching mode, or corpus size.

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, front-loaded with the core action and result format. The phrase 'This is the headline feature' is slightly promotional but still informative about prominence. No wasted words overall.

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 3-param read-only search with full schema coverage and no output schema, the description covers purpose, scope, result shape, and the one optional filter. It stops short of explaining matching behaviour or ranking, which would have made it fully self-sufficient, but nothing critical 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?

Schema description coverage is 100%, so the schema already documents query, limit (with default/max), and gutenberg_id. The description repeats the gutenberg_id restriction without adding syntax or semantics beyond the schema, matching the baseline for fully documented params.

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 (search), scope (inside indexed public-domain corpus), and resource (books), plus the return shape (matching passages with title, author, snippet). Distinguishes itself from siblings like book_search (metadata) and book_get_text (full text of one book) by emphasizing in-text phrase search.

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?

Explains that it finds where a passage appears across great books and that gutenberg_id optionally restricts to one book. It doesn't explicitly name book_search or book_get_text as alternatives, but the search-vs-fetch distinction is clear enough to route the agent.

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.