Skip to main content
Glama
babosina

LibraryMCP

by babosina

delete_book

Delete a book from the library catalog by its ID. Blocks removal if the book has active loans, preventing data inconsistency.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
book_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full behavioral burden. It clearly states that deletion occurs and that active loans cause failure, which is useful, but it does not mention whether the deletion is permanent, whether related loan history is affected, or what the failure response looks like.

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?

Two concise sentences with no filler. The primary action is front-loaded and the failure condition is stated directly.

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

Completeness3/5

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

For a simple one-parameter delete with an output schema, the core information is present, but because there are no annotations, a destructive operation would benefit from clarity on reversibility/cascade effects or error behavior. The active-loan guard partially compensates, but gaps remain.

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

Parameters3/5

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

Schema description coverage is 0%, so the description needs to compensate. It only paraphrases the already-obvious book_id parameter as 'by book ID' and adds little detail about how to obtain or format the ID. The single integer parameter is ssimple enough that this is minimally sufficient but not enriching.

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

Purpose5/5

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

Description starts with a specific verb, 'Removes', names the resource ('book from the catalog'), and identifies the key parameter ('by book ID'). The note about active loans differentiates it from update_book, get_book, and delete_member.

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

Usage Guidelines3/5

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

The condition 'Fails if the book has active loans' implies the agent should verify or clear loans before calling, but it does not explicitly name alternatives like return_book or get_loans as prerequisites. It provides implied guidance rather than clear when-to-use or when-not-to-use direction.

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