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

TDQS

A3.7/5.0

Scored across 13 tools

Disambiguation4/5

Most tools have clearly distinct purposes: book catalog, member management, loans, and fines form separate clusters. The main overlap is that get_member includes loan history and outstanding fines, which also have dedicated tools, but the descriptions are clear enough to avoid serious confusion.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern, such as get_book, update_book, borrow_book, and list_members. There are no mixed conventions or vague generic verbs, making the API predictable.

Tool Count5/5

13 tools is well-scoped for a library management domain, covering books, members, loans, and fines without excessive granularity. Each tool represents a meaningful operation that earns its place in the set.

Completeness3/5

Book catalog coverage is solid, and borrow/return/fine-check workflows are present. However, there is no update_member tool, and fines can only be checked, never paid or cleared, leaving an unresolved state for members with unpaid fines.

Maintenance

ActivityInactive
ResponsivenessNo issues