Library Book MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Puerto HTTP (solo con streamable-http) | 8000 |
| DATABASE_URL | No | Conexión a Postgres | postgresql://library:library@localhost:5433/library |
| MCP_TRANSPORT | No | stdio (local) o streamable-http (desplegado) | stdio |
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 |
|---|---|
| search_booksA | Busca libros por título y/o género. Args: query: Texto a buscar dentro del título (búsqueda parcial, ignora mayúsculas). genre: Filtra por género exacto (ej. "Cuento", "Novela"). Vacío = todos. available_only: Si es True, solo devuelve libros con copias disponibles. Returns: Lista de libros con su autor. Vacía si no hay coincidencias. |
| get_bookB | Devuelve el detalle completo de un libro por su id. Returns: El libro con todos sus campos y el nombre del autor, o None si no existe. |
| books_by_authorA | Lista los libros de un autor buscando por su nombre (búsqueda parcial). Args: author_name: Nombre o parte del nombre del autor (ej. "Borges"). |
| list_authorsA | Devuelve todos los autores con cuántos libros tiene cada uno. |
| library_statsA | Devuelve un resumen de la biblioteca: totales y disponibilidad. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool serves a distinct purpose: searching by author, retrieving by ID, stats, listing authors, and searching by title/genre/availability. No overlap in functionality.
Most names follow a verb_noun pattern (get_book, list_authors, search_books), but 'library_stats' and 'books_by_author' are noun phrases, creating a minor inconsistency.
With 5 tools, the server is well-scoped for a read-only library catalog. Each tool adds distinct value without unnecessary bloat.
The tool set covers all essential read operations: search by author, by title/genre, get details by ID, list authors, and aggregate stats. No obvious gaps for its stated purpose.