librarian
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LIB_HOME | No | Path to the library root directory (default ./library) | ./library |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_booksA | List of all books in the library: id, author, title, chapter count, token count, quality status. |
| list_chaptersB | Table of contents for a book by its id: chapter number, title, token count, and a short summary for each chapter. |
| findA | Full-text search across chapters and book titles/authors in the whole library (bm25 ranking, snippets, RU/EN stemming). The book_id parameter restricts the search to one book. |
| get_chaptersA | Chapter text of a book: by chapter numbers (spec, e.g. "1-3,5") or by token budget (budget). If neither spec nor budget is given, the default budget of 12000 tokens is used. Passing both parameters at once is an error. If even the first chapter doesn't fit the budget, an empty text with an explanation in message is returned instead of an error — retry with a larger budget or use spec. |
| book_infoC | Metadata and quality metrics for a book: book, metrics, subscores, score, hard_triggers — the same projection as |
| verify_quoteA | Verify a quote against the library: an exact/close/distorted/not_found verdict, the book/chapter location, similarity, a passage of surrounding text, and a word-level diff against the source. Provide book_id to check one specific book (full scan, no FTS5 needed); omit it to search the whole library via FTS5 candidates. Use this whenever you quote a book to the user. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Terobyte/librarian-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server