Skip to main content
Glama

search_my_library

Read-only

Search books you already own by matching title or subtitle, then filter results by reading status or shelf. Returns count and book details with rating.

Instructions

Full-text search restricted to the user's own library (matches book title and subtitle). Returns { count, books[] } with status and rating. When to use: find a specific book the user already owns. For catalog-wide discovery use search_books; to list everything on the shelves (optionally by status) use list_my_books. Requires SANSFICTION_TOKEN (a bearer token from https://sansfiction.com/docs/agents).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results to return. Default 10.
queryYesText matched (case-insensitive) against titles/subtitles of books you own.
statusNoRestrict to one shelf. Default 'all'.
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, which lower the bar. The description adds useful behavioral context: return format as '{ count, books[] } with status and rating', and the authentication requirement (SANSFICTION_TOKEN and documentation link). While it does not describe edge cases like empty results or rate limits, it adequately supplements the annotations for a read-only search tool.

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?

The description is four sentences, each adding distinct value: action/scope, return format, usage guidance, and authentication. It is front-loaded with the core purpose. While efficient, it could be compressed slightly (e.g., merging the usage sentence with the alternative tools). Still, it avoids redundancy and earns a 4.

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?

Given the tool has 3 parameters, no output schema, and low complexity, the description covers the essential aspects: scope, return shape, usage guidelines, and auth. It does not mention pagination or sorting, but those are documented in the schema (limit parameter). Overall, it is complete for a focused search tool.

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 baseline is 3. The description does not add any parameter-specific meaning beyond what the schema already provides (e.g., query matches titles/subtitles is already in schema). The schema's descriptions for 'limit', 'query', and 'status' are sufficient, and the tool description offers no extra semantics for individual parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it is a 'full-text search restricted to the user's own library' targeting book titles and subtitles, which distinguishes it from sibling tools like 'search_books' (catalog-wide) and 'list_my_books' (listing all). However, the phrase 'full-text search' is slightly misleading because it only matches title and subtitle, not the full content. This minor imprecision prevents a perfect score.

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

Usage Guidelines5/5

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

The description explicitly states 'When to use: find a specific book the user already owns' and contrasts with 'search_books' for catalog-wide discovery and 'list_my_books' for listing all shelves. It also mentions the required authentication token, providing clear when-to-use, when-not-to-use, and alternative tools. Excellent guidance.

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/fgbytes/sansfiction-mcp'

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