Skip to main content
Glama

Readlink

Remove a book from the library

remove_book_from_library
DestructiveIdempotent

Deletes a book from the reader's library, with its status, progress, rating, notes and highlights, and takes it off every shelf. This cannot be undone: confirm with the reader first.

Input Schema

NameRequiredDescriptionDefault
userBookIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description goes well beyond them by enumerating exactly what is destroyed: status, progress, rating, notes, highlights, and shelf membership. It also states irreversibility and mandates confirmation, which is the key behavioral fact an agent needs before invoking a cascading delete.

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

Conciseness3/5

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

Two sentences with no filler, and the cascade of what gets deleted is front-loaded followed by the irreversibility warning. Every sentence earns its place, though the ordering means the safety warning arrives after the bulk of the detail.

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

Completeness4/5

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

For a single-parameter destructive operation with annotations declaring the safety profile and no output schema, the description supplies the essentials: what is destroyed, that it is irreversible, and that confirmation is required. The only meaningful gap is that the sole parameter is never explained, which matters because its name is ambiguous against sibling tools.

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?

The single parameter userBookId has no schema description at all (0% coverage), and the description never mentions it or clarifies that it is a library-entry identifier rather than a catalog book id. That distinction matters because siblings get_book and get_library_book both exist, so the description leaves a real ambiguity the schema cannot resolve.

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?

States a specific verb and resource ('deletes a book from the reader's library') with explicit scope: it removes the user's record of the book, not the book itself. The phrase distinguishes it from sibling tools like remove_book_from_shelf, delete_note, and remove_from_wishlist.

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?

It gives a clear operating instruction ('confirm with the reader first') which frames the destructive context, but it never states when to choose this tool versus remove_book_from_shelf or when removal should be declined in favour of a lesser action. Usage context is implied by the destructive framing rather than explicitly routed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources