Skip to main content
Glama
alianza86

Library Book MCP Server

by alianza86

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPuerto HTTP (solo con streamable-http)8000
DATABASE_URLNoConexión a Postgrespostgresql://library:library@localhost:5433/library
MCP_TRANSPORTNostdio (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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 5 tools

Disambiguation5/5

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.

Naming Consistency4/5

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.

Tool Count5/5

With 5 tools, the server is well-scoped for a read-only library catalog. Each tool adds distinct value without unnecessary bloat.

Completeness5/5

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.

Maintenance

ActivityStale
ResponsivenessNo issues