Skip to main content
Glama
babosina

LibraryMCP

by babosina

add_book

Add a book to the library catalog using a unique ISBN and details such as title, author, genre, and total copies.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
isbnYes
genreNo
titleYes
authorYes
total_copiesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral disclosure burden. It discloses that the tool mutates the catalog and requires unique ISBNs, but it does not explain what happens on duplicate ISBN, whether permissions are needed, or how fields like total_copies behave when omitted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two short sentences with no filler. The core operation is stated first and the key invariant is stated second, making it easy to scan and act on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and zero parameter schema descriptions, the description is too thin. It omits practical details such as duplicate-ISBN behavior, ISBN format, and the role of total_copies. The presence of an output schema reduces the need to describe return values, but not enough to make the description complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for undocumented parameters. It only adds meaning for isbn (uniqueness) and leaves title, authr, genre, and total_copies to rely on their names and defaults, which is insufficient compensation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('Adds') and resource ('new book to the library catalog'), making the core purpose clear. The 'ISBN must be unique' note adds useful precision. While it does not explicitly name sibling tools, the create-oriented wording clearly distinguishes it from get_book, update_book, delete_book, and borrow_book.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided for when to use this tool versus alternatives like update_book or borrow_book. The unique-ISBN statement is a constraint, not usage guidance, and there are no conditions, prerequisites, or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

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