Skip to main content
Glama
babosina

LibraryMCP

by babosina

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SECRET_KEYYesSecret key used for JWT token signing
BACKEND_URLYesURL of the FastAPI backend, e.g., http://localhost:8000
ADMIN_PASSWORDYesAdmin password for JWT authentication
ADMIN_USERNAMEYesAdmin username for JWT authentication

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

Searches for books in the library by title, author, or genre. Returns matching books with their availability status.

get_bookB

Retrieves full details of a single book by its ID.

add_bookC

Adds a new book to the library catalog. ISBN must be unique.

update_bookA

Updates book metadata or copy count by book ID. Only provided fields are updated.

delete_bookA

Removes a book from the catalog by book ID. Fails if the book has active loans.

list_membersA

Lists all library members with optional filters by name, email, or active status.

register_memberA

Registers a new library member with a name and email address. Email must be unique.

get_memberA

Retrieves a member's profile, loan history, and outstanding fines by member ID.

delete_memberA

Deletes a member account by member ID. Fails if the member has active loans or unpaid fines.

borrow_bookA

Borrows a book for a member, creating a loan record. Fails if the book has no available copies or the member already has an active loan for it.

return_bookA

Returns a borrowed book for a member, closing the loan and calculating any overdue fines ($0.50/day). Fails if no active loan exists for the member and book.

get_loansA

Lists all active (not yet returned) loans for a member by member ID.

check_finesA

Returns the total outstanding fines for a member, including overdue active loans and unpaid fines from returned books.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/babosina/libraryMCP'

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