Remove a book from a shelf
remove_book_from_shelfTakes a book off a shelf. The book stays in the library.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shelfId | Yes | ||
| userBookId | Yes |
remove_book_from_shelfTakes a book off a shelf. The book stays in the library.
| Name | Required | Description | Default |
|---|---|---|---|
| shelfId | Yes | ||
| userBookId | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=false, so safety semantics are largely covered. The description adds the genuinely useful fact that only shelf membership is removed, not the book itself, but says nothing about behavior when the book is absent from the shelf or what the response contains.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences with no filler, and the disambiguating fact about the book remaining in the library is placed immediately after the action. It is efficient, though the extreme brevity leaves little room for the missing parameter and precondition context.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-parameter mutation, the annotations cover reversibility/idempotency and there is no output schema to explain. Still, with zero schema documentation the description should carry the parameter meaning and error conditions (book not on shelf, invalid ids), and it does neither.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% with two required parameters, and the description contributes nothing about them. In particular, userBookId versus a plain book id is ambiguous (the sibling get_library_book suggests a distinct identifier), and shelfId format is left entirely unexplained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a concrete verb and resource ("Takes a book off a shelf") rather than restating the name, and the second sentence distinguishes it from the sibling remove_book_from_library by clarifying the book record survives. It never names that sibling explicitly, so differentiation is implied rather than stated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase "the book stays in the library" implicitly tells an agent when this is the right call versus a library-level removal, but there is no explicit guidance on alternatives (e.g., remove_book_from_library, delete_shelf) or preconditions such as whether the book must already be on the shelf.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.