Skip to main content
Glama
kikuovo
by kikuovo

Search within a book

search_book

Search within a book's chapters using a case-insensitive substring query and retrieve matching sections with surrounding context.

Instructions

Search all chunks of a book for a substring (case-insensitive) and return matching chunks with context snippets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bookIdYes
queryYes
Behavior3/5

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

No annotations provided, so the description must carry full behavioral disclosure. It notes case-insensitive matching and return of context snippets, but omits details on edge cases (e.g., empty queries, no matches) or pagination behavior.

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?

Single sentence with no filler, front-loaded with the action verb 'Search', and efficiently conveys core functionality.

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 only two simple parameters and no output schema, the description adequately covers the tool's purpose and basic behavior, though it could mention return format or pagination.

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 0%, so the description must compensate. It clarifies that 'query' is a substring (case-insensitive) and implies 'bookId' identifies the book, adding moderate value but not fully detailing parameter constraints or formats.

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?

Describes a specific action (search within a book) with a clear verb and resource, and distinguishes itself from siblings that list or read chunks by focusing on substring matching.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for substring searches within a book but does not explicitly state when to use this tool versus alternatives like list_chunks or read_chunk.

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/kikuovo/co-reading-mcp'

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